POST api/PumpAndroid/SaveCustomer
Request Information
URI Parameters
None.
Body Parameters
SupplierMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Mobile | string |
None. |
|
| Mobile1 | string |
None. |
|
| SupplierId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Mobile": "sample string 2",
"Mobile1": "sample string 3",
"SupplierId": 4
}
application/xml, text/xml
Sample:
<SupplierMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PumpAndroid.Models"> <Mobile>sample string 2</Mobile> <Mobile1>sample string 3</Mobile1> <Name>sample string 1</Name> <SupplierId>4</SupplierId> </SupplierMaster>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Status | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Status": 2
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApp.Models"> <Message>sample string 1</Message> <Status>2</Status> </Response>