PUT api/Contacts
Request Information
URI Parameters
None.
Body Parameters
Contact| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerID | integer |
None. |
|
| SyncProfileID | integer |
None. |
|
| SyncSchema | string |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| CompanyName | string |
None. |
|
| SyncReference | string |
None. |
|
| EmailAddress | string |
None. |
|
| MobileNumber | string |
None. |
|
| BusinessNumber | string |
None. |
|
| OtherNumber | string |
None. |
|
| AddressLine1 | string |
None. |
|
| AddressLine2 | string |
None. |
|
| City | string |
None. |
|
| County | string |
None. |
|
| Postcode | string |
None. |
|
| Country | string |
None. |
|
| Custom01 | string |
None. |
|
| Custom02 | string |
None. |
|
| Custom03 | string |
None. |
|
| Custom04 | string |
None. |
|
| Custom05 | string |
None. |
|
| AllowSMS | boolean |
None. |
|
| NoUpdateContact | boolean |
None. |
|
| IsWebOptOut | boolean |
None. |
|
| OwnerID | string |
None. |
|
| OwnerType | integer |
None. |
|
| BusinessUnitID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerID": 1,
"SyncProfileID": 2,
"SyncSchema": "sample string 3",
"FirstName": "sample string 4",
"LastName": "sample string 5",
"CompanyName": "sample string 6",
"SyncReference": "sample string 7",
"EmailAddress": "sample string 8",
"MobileNumber": "sample string 9",
"BusinessNumber": "sample string 10",
"OtherNumber": "sample string 11",
"AddressLine1": "sample string 12",
"AddressLine2": "sample string 13",
"City": "sample string 14",
"County": "sample string 15",
"Postcode": "sample string 16",
"Country": "sample string 17",
"Custom01": "sample string 18",
"Custom02": "sample string 19",
"Custom03": "sample string 20",
"Custom04": "sample string 21",
"Custom05": "sample string 22",
"AllowSMS": true,
"NoUpdateContact": true,
"IsWebOptOut": true,
"OwnerID": "sample string 23",
"OwnerType": 24,
"BusinessUnitID": "sample string 25"
}
application/xml, text/xml
Sample:
<Contact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/txtsync_dynamics_webproxy.Models"> <AddressLine1>sample string 12</AddressLine1> <AddressLine2>sample string 13</AddressLine2> <AllowSMS>true</AllowSMS> <BusinessNumber>sample string 10</BusinessNumber> <BusinessUnitID>sample string 25</BusinessUnitID> <City>sample string 14</City> <CompanyName>sample string 6</CompanyName> <Country>sample string 17</Country> <County>sample string 15</County> <Custom01>sample string 18</Custom01> <Custom02>sample string 19</Custom02> <Custom03>sample string 20</Custom03> <Custom04>sample string 21</Custom04> <Custom05>sample string 22</Custom05> <CustomerID>1</CustomerID> <EmailAddress>sample string 8</EmailAddress> <FirstName>sample string 4</FirstName> <IsWebOptOut>true</IsWebOptOut> <LastName>sample string 5</LastName> <MobileNumber>sample string 9</MobileNumber> <NoUpdateContact>true</NoUpdateContact> <OtherNumber>sample string 11</OtherNumber> <OwnerID>sample string 23</OwnerID> <OwnerType>24</OwnerType> <Postcode>sample string 16</Postcode> <SyncProfileID>2</SyncProfileID> <SyncReference>sample string 7</SyncReference> <SyncSchema>sample string 3</SyncSchema> </Contact>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.