Queries the information about a contact.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ContactId | string | Yes | The ID of the contact. | c-qL4HqKONzOM7**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "9B34724D-54B0-4A51-B34D-4512372FE1BE",
"Contact": {
"ContactId": "c-qL4HqKONzOM7****",
"MessageTypes": [
"AccountExpenses"
],
"CreateDate": "2023-03-27 17:19:21",
"Name": "tom",
"EmailAddress": "someone***@example.com",
"PhoneNumber": "86-139****1234",
"Title": "TechnicalDirector",
"Members": [
"fd-ZDNPiT****"
],
"Status": "Active"
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidParameter.ContactId | The ContactId is invalid. | The value of the ContactId parameter is invalid. |
400 | MissingParameter.ContactId | You must specify ContactId. | The ContactId parameter is not configured. |
404 | EntityNotExists.Contact | This Contact does not exist. | The specified contact does not exist. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||
---|---|---|---|---|---|---|---|---|
2023-07-25 | The Error code has changed | see changesets | ||||||
| ||||||||
2023-05-18 | The Error code has changed | see changesets | ||||||
|