PUT api/Area/updateArea
Request Information
URI Parameters
None.
Body Parameters
AreaRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AreaId | integer |
None. |
|
| AreaCode | string |
None. |
|
| AreaName | string |
None. |
|
| CityId | integer |
None. |
|
| StateId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"AreaId": 1,
"AreaCode": "sample string 2",
"AreaName": "sample string 3",
"CityId": 4,
"StateId": 5
}
application/xml, text/xml
Sample:
<AreaRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERPTestAPI.Models"> <AreaCode>sample string 2</AreaCode> <AreaId>1</AreaId> <AreaName>sample string 3</AreaName> <CityId>4</CityId> <StateId>5</StateId> </AreaRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AreaReturnModel| Name | Description | Type | Additional information |
|---|---|---|---|
| status | boolean |
None. |
|
| msg | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"msg": "sample string 2"
}
application/xml, text/xml
Sample:
<AreaReturnModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERPTestAPI.Models"> <msg>sample string 2</msg> <status>true</status> </AreaReturnModel>