POST api/master/SaveCity
Request Information
URI Parameters
None.
Body Parameters
CityModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UnitID | integer |
None. |
|
| CityID | integer |
None. |
|
| CityName | string |
None. |
|
| IsActive | integer |
None. |
|
| UserID | integer |
None. |
|
| CompanyID | integer |
None. |
|
| FinancialYearID | integer |
None. |
|
| FinancialYear | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UnitID": 1,
"CityID": 2,
"CityName": "sample string 3",
"IsActive": 4,
"UserID": 1,
"CompanyID": 1,
"FinancialYearID": 1,
"FinancialYear": "sample string 5"
}
application/xml, text/xml
Sample:
<CityModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MfgProj.BusinessObject"> <CompanyID>1</CompanyID> <FinancialYear>sample string 5</FinancialYear> <FinancialYearID>1</FinancialYearID> <UserID>1</UserID> <CityID>2</CityID> <CityName>sample string 3</CityName> <IsActive>4</IsActive> <UnitID>1</UnitID> </CityModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |