POST DealSheet/addbadcontact
Add bad contact
Request Information
URI Parameters
None.
Body Parameters
BadContactRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| entityId |
GUID that uniquely identifies the Entity |
globally unique identifier |
None. |
| badContact |
Action Name |
string |
None. |
| token |
API access token |
globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{
"entityId": "a02cc5b2-525b-4cc7-90da-b7fa248fd4ea",
"badContact": "sample string 2",
"token": "6262233b-7ae6-43ca-b5d2-6fcc78dacb70"
}
application/xml, text/xml
Sample:
<BadContactRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.DealSheet"> <token xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models">6262233b-7ae6-43ca-b5d2-6fcc78dacb70</token> <badContact>sample string 2</badContact> <entityId>a02cc5b2-525b-4cc7-90da-b7fa248fd4ea</entityId> </BadContactRequest>
Response Information
Resource Description
APIResult| Name | Description | Type | Additional information |
|---|---|---|---|
| code |
API result code |
integer |
None. |
| error |
API error message |
string |
None. |
| APIVersion |
API Version |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"APIVersion": 1,
"code": 200,
"error": "sample string 2"
}
application/xml, text/xml
Sample:
<APIResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API"> <APIVersion>1</APIVersion> <error>sample string 2</error> </APIResult>