POST api/AreaApi/Post_area_for_save_update
Request Information
URI Parameters
None.
Body Parameters
AreaName | Description | Type | Additional information |
---|---|---|---|
Database | string |
None. |
|
EventType | string |
None. |
|
Compcode | string |
None. |
|
AreaId | integer |
None. |
|
AreaName | string |
None. |
|
CityId | integer |
None. |
|
StateId | integer |
None. |
|
CityName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Database": "sample string 1", "EventType": "sample string 2", "Compcode": "sample string 3", "AreaId": 4, "AreaName": "sample string 5", "CityId": 6, "StateId": 7, "CityName": "sample string 8" }
application/xml, text/xml
Sample:
<Area xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_"> <AreaId>4</AreaId> <AreaName>sample string 5</AreaName> <CityId>6</CityId> <CityName>sample string 8</CityName> <Compcode>sample string 3</Compcode> <Database>sample string 1</Database> <EventType>sample string 2</EventType> <StateId>7</StateId> </Area>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponseName | Description | Type | Additional information |
---|---|---|---|
status | boolean |
None. |
|
statuscode | HttpStatusCode |
None. |
|
title | string |
None. |
|
message | string |
None. |
|
data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": true, "statuscode": 100, "title": "sample string 2", "message": "sample string 3", "data": {} }
application/xml, text/xml
Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_"> <data /> <message>sample string 3</message> <status>true</status> <statuscode>Continue</statuscode> <title>sample string 2</title> </ApiResponse>