PUT api/Masters/UpdateCustomer
Request Information
URI Parameters
None.
Body Parameters
CustomerModel| Name | Description | Type | Additional information |
|---|---|---|---|
| custid | integer |
None. |
|
| custname | string |
None. |
|
| firmname | string |
None. |
|
| mobile | string |
None. |
|
| address1 | string |
None. |
|
| city | string |
None. |
|
| string |
None. |
||
| gstno | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"custid": 1,
"custname": "sample string 2",
"firmname": "sample string 3",
"mobile": "sample string 4",
"address1": "sample string 5",
"city": "sample string 6",
"email": "sample string 7",
"gstno": "sample string 8"
}
application/xml, text/xml
Sample:
<CustomerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/akwiecommApi.Models"> <address1>sample string 5</address1> <city>sample string 6</city> <custid>1</custid> <custname>sample string 2</custname> <email>sample string 7</email> <firmname>sample string 3</firmname> <gstno>sample string 8</gstno> <mobile>sample string 4</mobile> </CustomerModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| status | integer |
None. |
|
| Isupoad | boolean |
None. |
|
| imageurl | string |
None. |
|
| Data | Object |
None. |
|
| IsSuccess | boolean |
None. |
|
| StatusCode | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"status": 2,
"Isupoad": true,
"imageurl": "sample string 4",
"Data": {},
"IsSuccess": true,
"StatusCode": 7
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/akwiecommApi.Models"> <Data /> <IsSuccess>true</IsSuccess> <Isupoad>true</Isupoad> <Message>sample string 1</Message> <StatusCode>7</StatusCode> <imageurl>sample string 4</imageurl> <status>2</status> </Response>