POST AddCustomer
Request Information
URI Parameters
None.
Body Parameters
AddCustomer| Name | Description | Type | Additional information |
|---|---|---|---|
| UserInfo | UserData |
None. |
|
| CustomerId | string |
None. |
|
| CustomerName | string |
None. |
|
| Title | string |
None. |
|
| Contact1 | string |
None. |
|
| Contact2 | string |
None. |
|
| Address | string |
None. |
|
| Town | string |
None. |
|
| Transport | string |
None. |
|
| Image | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserInfo": {
"UserId": "sample string 1",
"Token": "sample string 2",
"App_Key": "sample string 3"
},
"CustomerId": "sample string 1",
"CustomerName": "sample string 2",
"Title": "sample string 3",
"Contact1": "sample string 4",
"Contact2": "sample string 5",
"Address": "sample string 6",
"Town": "sample string 7",
"Transport": "sample string 8",
"Image": "sample string 9"
}
application/xml, text/xml
Sample:
<AddCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileServices.Controllers">
<Address>sample string 6</Address>
<Contact1>sample string 4</Contact1>
<Contact2>sample string 5</Contact2>
<CustomerId>sample string 1</CustomerId>
<CustomerName>sample string 2</CustomerName>
<Image>sample string 9</Image>
<Title>sample string 3</Title>
<Town>sample string 7</Town>
<Transport>sample string 8</Transport>
<UserInfo>
<App_Key>sample string 3</App_Key>
<Token>sample string 2</Token>
<UserId>sample string 1</UserId>
</UserInfo>
</AddCustomer>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | integer |
None. |
|
| Message | string |
None. |
|
| Response | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 1,
"Message": "sample string 2",
"Response": "sample string 3"
}
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileServices"> <Message>sample string 2</Message> <Response>sample string 3</Response> <Status>1</Status> </Result>