POST api/SellerCustomer/AddCustomer
Request Information
URI Parameters
None.
Body Parameters
ReqAddCustomer| Name | Description | Type | Additional information |
|---|---|---|---|
| Phone | string |
Required |
|
| Name | string |
Required String length: inclusive between 3 and 250 |
|
| Address | string |
Required String length: inclusive between 3 and 500 |
|
| PinCode | string |
Required |
|
| City | string |
None. |
|
| LocalityName | string |
None. |
|
| District | string |
None. |
|
| State | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Phone": "sample string 1",
"Name": "sample string 2",
"Address": "sample string 3",
"PinCode": "sample string 4",
"City": "sample string 5",
"LocalityName": "sample string 6",
"District": "sample string 7",
"State": "sample string 8"
}
application/xml, text/xml
Sample:
<ReqAddCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NEOWAY.Models.Request"> <Address>sample string 3</Address> <City>sample string 5</City> <District>sample string 7</District> <LocalityName>sample string 6</LocalityName> <Name>sample string 2</Name> <Phone>sample string 1</Phone> <PinCode>sample string 4</PinCode> <State>sample string 8</State> </ReqAddCustomer>
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. |