POST TCPV1/Home/Lookups/Sharpbinservice/Contacts/InsertUpdate?Token={Token}&UserID={UserID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Token | string |
Required |
|
| UserID | integer |
Required |
Body Parameters
InsertUpdateUserContactRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| UserContactID | integer |
None. |
|
| ContactTypeID | integer |
None. |
|
| UserID | integer |
None. |
|
| Contact | string |
None. |
|
| CreatedBy | integer |
None. |
|
| IsActive | boolean |
None. |
|
| IsHandheld | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserContactID": 1,
"ContactTypeID": 2,
"UserID": 3,
"Contact": "sample string 4",
"CreatedBy": 5,
"IsActive": true,
"IsHandheld": true
}
application/xml, text/xml
Sample:
<InsertUpdateUserContactRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.SmartAPI"> <Contact>sample string 4</Contact> <ContactTypeID>2</ContactTypeID> <CreatedBy>5</CreatedBy> <IsActive>true</IsActive> <IsHandheld>true</IsHandheld> <UserContactID>1</UserContactID> <UserID>3</UserID> </InsertUpdateUserContactRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |