POST api/Contact/Update
Request Information
URI Parameters
None.
Body Parameters
ContactViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ContactID | integer |
None. |
|
| CompanyID | integer |
None. |
|
| MarketplaceID | byte |
None. |
|
| ContactType | string |
None. |
|
| ContactName | string |
None. |
|
| MobileNumber | string |
None. |
|
| LandphoneNumber | string |
None. |
|
| string |
None. |
||
| Designation | string |
None. |
|
| Department | string |
None. |
|
| Organization | string |
None. |
|
| Other1 | string |
None. |
|
| Other2 | string |
None. |
|
| IsActive | boolean |
None. |
|
| LoginId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ContactID": 1,
"CompanyID": 2,
"MarketplaceID": 64,
"ContactType": "sample string 4",
"ContactName": "sample string 5",
"MobileNumber": "sample string 6",
"LandphoneNumber": "sample string 7",
"Email": "sample string 8",
"Designation": "sample string 9",
"Department": "sample string 10",
"Organization": "sample string 11",
"Other1": "sample string 12",
"Other2": "sample string 13",
"IsActive": true,
"LoginId": 15
}
application/xml, text/xml
Sample:
<ContactViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAL.ViewModel"> <CompanyID>2</CompanyID> <ContactID>1</ContactID> <ContactName>sample string 5</ContactName> <ContactType>sample string 4</ContactType> <Department>sample string 10</Department> <Designation>sample string 9</Designation> <Email>sample string 8</Email> <IsActive>true</IsActive> <LandphoneNumber>sample string 7</LandphoneNumber> <LoginId>15</LoginId> <MarketplaceID>64</MarketplaceID> <MobileNumber>sample string 6</MobileNumber> <Organization>sample string 11</Organization> <Other1>sample string 12</Other1> <Other2>sample string 13</Other2> </ContactViewModel>
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. |