Use this API to retrieve the records. Set the record id as parameter and use the GET method to read the records.
URL
https://Witly.co/api/v2/{modulename}?id={0}&token={1}[&action={2}][&format={3}] |
HTTP Method
GET
Request Body
Not required
Request Parameters
Parameter | Required | Description |
module name | Yes | Module API name (Acquired from Module API call) |
id | Yes | Record ID (read only field) obtained from List or Search API. |
token | Yes | Access token |
action | Optional | The conditions set to choose whether if the records should be retrieved as designed in Field Layout or not (view/edit mode). This parameter can only be used with Login user. |
format | Optional | Expected return format. The default is JSON. Values are JSON and XML. This parameter is optional. |
Example Request
https://Witly.co/api/v2/customer?id=98d48bde-3a6c-4590-9d79-7c9a62ba903f&token=5c33446ac1c049049f9232cf296bdf10 |
Example Response
{ "id": "4263f106-d63f-4ec2-a835-a355ee1d3c8d"", "Account Name": "Acme", "Account Status": "Open" } |
Last modified on Jan 23, 2018