POST api/ContactMan
Request Information
URI Parameters
None.
Body Parameters
ContactMan| Name | Description | Type | Additional information |
|---|---|---|---|
| ContactID | string |
None. |
|
| ContactName | string |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| Phone | string |
None. |
|
| OtherPhone | string |
None. |
|
| HomePhone | string |
None. |
|
| Fax | string |
None. |
|
| string |
None. |
||
| Title | string |
None. |
|
| SBOContactCode | string |
None. |
|
| CardCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ContactID": "sample string 1",
"ContactName": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"Phone": "sample string 5",
"OtherPhone": "sample string 6",
"HomePhone": "sample string 7",
"Fax": "sample string 8",
"Email": "sample string 9",
"Title": "sample string 10",
"SBOContactCode": "sample string 11",
"CardCode": "sample string 12"
}
application/xml, text/xml
Sample:
<ContactMan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SalesforceToBargalAPIDLL.Models"> <CardCode>sample string 12</CardCode> <ContactID>sample string 1</ContactID> <ContactName>sample string 2</ContactName> <Email>sample string 9</Email> <Fax>sample string 8</Fax> <FirstName>sample string 3</FirstName> <HomePhone>sample string 7</HomePhone> <LastName>sample string 4</LastName> <OtherPhone>sample string 6</OtherPhone> <Phone>sample string 5</Phone> <SBOContactCode>sample string 11</SBOContactCode> <Title>sample string 10</Title> </ContactMan>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | EStatus |
None. |
|
| DocNum | string |
None. |
|
| ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 0,
"DocNum": "sample string 1",
"ErrorMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SalesforceToBargalAPIDLL.Models"> <DocNum>sample string 1</DocNum> <ErrorMessage>sample string 2</ErrorMessage> <Status>F</Status> </Response>