POST API/City/AddCitydetails
Request Information
URI Parameters
None.
Body Parameters
LocationLoad| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
None. |
|
| Label | string |
None. |
|
| CountryId | integer |
None. |
|
| CountrySName | string |
None. |
|
| CountryName | string |
None. |
|
| StateId | integer |
None. |
|
| StateName | string |
None. |
|
| CityId | integer |
None. |
|
| CityName | string |
None. |
|
| search | string |
None. |
|
| sortBy | string |
None. |
|
| reverse | boolean |
None. |
|
| itemsPerPage | integer |
None. |
|
| page | integer |
None. |
|
| Count | integer |
None. |
|
| Id | integer |
None. |
|
| CityCode | string |
None. |
|
| Active | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "sample string 1",
"Label": "sample string 2",
"CountryId": 3,
"CountrySName": "sample string 4",
"CountryName": "sample string 5",
"StateId": 6,
"StateName": "sample string 7",
"CityId": 8,
"CityName": "sample string 9",
"search": "sample string 10",
"sortBy": "sample string 11",
"reverse": true,
"itemsPerPage": 13,
"page": 14,
"Count": 15,
"Id": 16,
"CityCode": "sample string 17",
"Active": true
}
application/xml, text/xml
Sample:
<LocationLoad xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobidentAPI.Models"> <Active>true</Active> <CityCode>sample string 17</CityCode> <CityId>8</CityId> <CityName>sample string 9</CityName> <Count>15</Count> <CountryId>3</CountryId> <CountryName>sample string 5</CountryName> <CountrySName>sample string 4</CountrySName> <Id>16</Id> <Label>sample string 2</Label> <StateId>6</StateId> <StateName>sample string 7</StateName> <UserId>sample string 1</UserId> <itemsPerPage>13</itemsPerPage> <page>14</page> <reverse>true</reverse> <search>sample string 10</search> <sortBy>sample string 11</sortBy> </LocationLoad>
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.