POST Contacts/Save
Request Information
URI Parameters
None.
Body Parameters
ContactsSaveModelName | Description | Type | Additional information |
---|---|---|---|
TowCompanyId | integer |
None. |
|
Name | string |
None. |
|
string |
None. |
||
Phone | string |
None. |
|
EmailNotification | integer |
None. |
|
PhoneNotification | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "TowCompanyId": 1, "Name": "sample string 2", "Email": "sample string 3", "Phone": "sample string 4", "EmailNotification": 5, "PhoneNotification": 6 }
application/xml, text/xml
Sample:
<ContactsSaveModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TowPaymentsAPI.Models"> <Email>sample string 3</Email> <EmailNotification>5</EmailNotification> <Name>sample string 2</Name> <Phone>sample string 4</Phone> <PhoneNotification>6</PhoneNotification> <TowCompanyId>1</TowCompanyId> </ContactsSaveModel>
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. |