POST api/CityMaster/AddCountry
Request Information
URI Parameters
None.
Body Parameters
CityMasterName | Description | Type | Additional information |
---|---|---|---|
errMsg | string |
None. |
|
response | boolean |
None. |
|
ds | DataSet |
None. |
|
ID | integer |
None. |
|
COUNTRY_NAME | string |
None. |
|
COUNTRY_CODE | string |
None. |
|
STATE_NAME | string |
None. |
|
STATE_CODE | string |
None. |
|
CITY_NAME | string |
None. |
|
CITY_CODE | string |
None. |
|
CITY_ID | integer |
None. |
|
USER_ID | integer |
None. |
|
STATE_ID | integer |
None. |
|
COUNTRY_ID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "errMsg": "sample string 1", "response": true, "ds": null, "ID": 3, "COUNTRY_NAME": "sample string 4", "COUNTRY_CODE": "sample string 5", "STATE_NAME": "sample string 6", "STATE_CODE": "sample string 7", "CITY_NAME": "sample string 8", "CITY_CODE": "sample string 9", "CITY_ID": 10, "USER_ID": 11, "STATE_ID": 12, "COUNTRY_ID": 13 }
application/xml, text/xml
Sample:
<CityMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BKSource2Api.Models"> <CITY_CODE>sample string 9</CITY_CODE> <CITY_ID>10</CITY_ID> <CITY_NAME>sample string 8</CITY_NAME> <COUNTRY_CODE>sample string 5</COUNTRY_CODE> <COUNTRY_ID>13</COUNTRY_ID> <COUNTRY_NAME>sample string 4</COUNTRY_NAME> <ID>3</ID> <STATE_CODE>sample string 7</STATE_CODE> <STATE_ID>12</STATE_ID> <STATE_NAME>sample string 6</STATE_NAME> <USER_ID>11</USER_ID> <ds i:nil="true" /> <errMsg>sample string 1</errMsg> <response>true</response> </CityMaster>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.