Describe Lead¶
GET /rest/v1/leads/describe.json
Method: GET
Path: /rest/v1/leads/describe.json
Tag: Leads
Operation ID: describeUsingGET_2
Returns metadata about lead objects in the target instance, including a list of all fields available for interaction via the APIs. Required Permissions: Read-Only Lead, Read-Write Lead
Note: This endpoint has been superseded. Use Describe Lead2 endpoint instead.
Formats¶
- Request:
application/json - Response:
application/json
Request¶
This operation does not define request parameters.
Example request¶
Responses¶
200 — OK¶
Schema: model: ResponseOfLeadAttribute
Generated example¶
{
"errors": [
{
"code": "string",
"message": "string"
}
],
"moreResult": false,
"nextPageToken": "example-token",
"requestId": "123",
"result": [
{
"dataType": "string",
"displayName": "Example name",
"id": 123,
"length": 123,
"rest": {
"name": "Example name",
"readOnly": false
},
"soap": {
"name": "Example name",
"readOnly": false
}
}
],
"success": false,
"warnings": [
{
"code": 123,
"message": "string"
}
]
}
Referenced models¶
Source¶
Generated from swagger-mapi.json.
Generated examples are inferred from the schema. They are illustrative and may not be valid production payloads.