POST api/Customers/SyncCustomers
Request Information
URI Parameters
None.
Body Parameters
CustomerSyncRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Customers | Collection of Customer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Customers": [
{
"CustCode": "sample string 1",
"CustName": "sample string 2",
"ShortName": "sample string 3",
"AddressNo": "sample string 4",
"Street": "sample string 5",
"City": "sample string 6",
"Mobile1": "sample string 7",
"PaymentMethod": "sample string 8",
"CreditLimit": 9.0,
"OfficeNo": "sample string 10",
"ResidenceNo": "sample string 11",
"Active": true
},
{
"CustCode": "sample string 1",
"CustName": "sample string 2",
"ShortName": "sample string 3",
"AddressNo": "sample string 4",
"Street": "sample string 5",
"City": "sample string 6",
"Mobile1": "sample string 7",
"PaymentMethod": "sample string 8",
"CreditLimit": 9.0,
"OfficeNo": "sample string 10",
"ResidenceNo": "sample string 11",
"Active": true
}
]
}
application/xml, text/xml
Sample:
<CustomerSyncRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SOFTO.POS.Sync.Models">
<Customers>
<Customer>
<Active>true</Active>
<AddressNo>sample string 4</AddressNo>
<City>sample string 6</City>
<CreditLimit>9</CreditLimit>
<CustCode>sample string 1</CustCode>
<CustName>sample string 2</CustName>
<Mobile1>sample string 7</Mobile1>
<OfficeNo>sample string 10</OfficeNo>
<PaymentMethod>sample string 8</PaymentMethod>
<ResidenceNo>sample string 11</ResidenceNo>
<ShortName>sample string 3</ShortName>
<Street>sample string 5</Street>
</Customer>
<Customer>
<Active>true</Active>
<AddressNo>sample string 4</AddressNo>
<City>sample string 6</City>
<CreditLimit>9</CreditLimit>
<CustCode>sample string 1</CustCode>
<CustName>sample string 2</CustName>
<Mobile1>sample string 7</Mobile1>
<OfficeNo>sample string 10</OfficeNo>
<PaymentMethod>sample string 8</PaymentMethod>
<ResidenceNo>sample string 11</ResidenceNo>
<ShortName>sample string 3</ShortName>
<Street>sample string 5</Street>
</Customer>
</Customers>
</CustomerSyncRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.