PUT Contacts/Update
Request Information
URI Parameters
None.
Body Parameters
ContactsUpdateModelName | Description | Type | Additional information |
---|---|---|---|
ContactId | integer |
None. |
|
Name | string |
None. |
|
string |
None. |
||
Phone | string |
None. |
|
EmailNotification | integer |
None. |
|
PhoneNotification | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ContactId": 1, "Name": "sample string 2", "Email": "sample string 3", "Phone": "sample string 4", "EmailNotification": 5, "PhoneNotification": 6 }
application/xml, text/xml
Sample:
<ContactsUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TowPaymentsAPI.Models"> <ContactId>1</ContactId> <Email>sample string 3</Email> <EmailNotification>5</EmailNotification> <Name>sample string 2</Name> <Phone>sample string 4</Phone> <PhoneNotification>6</PhoneNotification> </ContactsUpdateModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |