POST api/City/Save
Request Information
URI Parameters
None.
Body Parameters
City| Name | Description | Type | Additional information |
|---|---|---|---|
| PostState | boolean |
None. |
|
| EntryDate | date |
None. |
|
| ModifyDate | date |
None. |
|
| PostDate | date |
None. |
|
| CompanyId | integer |
None. |
|
| CountryId | integer |
None. |
|
| EntryUser | integer |
None. |
|
| Id | integer |
None. |
|
| ModifyUser | integer |
None. |
|
| OrganizationId | integer |
None. |
|
| PostUser | integer |
None. |
|
| TehsilId | integer |
None. |
|
| CityNameOtherLingo | string |
None. |
|
| Code | string |
None. |
|
| Description | string |
None. |
|
| Tehsil | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PostState": true,
"EntryDate": "2025-10-29T13:16:53.4943695+05:00",
"ModifyDate": "2025-10-29T13:16:53.4943695+05:00",
"PostDate": "2025-10-29T13:16:53.4943695+05:00",
"CompanyId": 4,
"CountryId": 5,
"EntryUser": 6,
"Id": 7,
"ModifyUser": 8,
"OrganizationId": 9,
"PostUser": 10,
"TehsilId": 11,
"CityNameOtherLingo": "sample string 12",
"Code": "sample string 13",
"Description": "sample string 14",
"Tehsil": "sample string 15"
}
application/xml, text/xml
Sample:
<City xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model"> <CityNameOtherLingo>sample string 12</CityNameOtherLingo> <Code>sample string 13</Code> <CompanyId>4</CompanyId> <CountryId>5</CountryId> <Description>sample string 14</Description> <EntryDate>2025-10-29T13:16:53.4943695+05:00</EntryDate> <EntryUser>6</EntryUser> <Id>7</Id> <ModifyDate>2025-10-29T13:16:53.4943695+05:00</ModifyDate> <ModifyUser>8</ModifyUser> <OrganizationId>9</OrganizationId> <PostDate>2025-10-29T13:16:53.4943695+05:00</PostDate> <PostState>true</PostState> <PostUser>10</PostUser> <Tehsil>sample string 15</Tehsil> <TehsilId>11</TehsilId> </City>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.