Payload Format A successful payload
Endpoints: The API provides endpoints to interact with map data, places, and directions, among others. Payload Example (GET Request for Geocoding): Endpoint: GET /maps/api/geocode/json Query Parameters: { “address”: “1600 Amphitheatre Parkway, Mountain View, CA” } Though the format is slightly different, the payload and overhead data remain the same.
Payload Formats There are three types of payload formats we Cambodia WhatsApp Number Data will discuss: API Request payload format API OK response payload format API Faile response payload format 1. API Request Payload Format A payload API request requires two parameters and one subelement: interfaceType: The interfaceType identifies that this is an API request format.

It must be set to “Manual.” methodName: The methodName defines the API method to call. parameters: The parameters are require by the method being calle. { “name”: “John Doe”, “email”: “[email protected]”, “age”: 30, “is_active”: true, “interests”: [“programming”, “reading”, “hiking”] } 2. API OK Response response will contain one parameter and one subelement: responseType: The responseType must be set to “OK.” data: The data may contain zero or more parameters require for the calle method’s response. |