POST api/Common/AddEditStateCityTownArea

Request Information

URI Parameters

None.

Body Parameters

stateCityTownAreaPrm
NameDescriptionTypeAdditional information
flag

integer

None.

type

integer

None.

stateId

integer

None.

cityId

integer

None.

townId

integer

None.

areaId

integer

None.

typeText

string

None.

Request Formats

application/json, text/json

Sample:
{
  "flag": 1,
  "type": 2,
  "stateId": 3,
  "cityId": 4,
  "townId": 5,
  "areaId": 6,
  "typeText": "sample string 7"
}

text/html

Sample:
{"flag":1,"type":2,"stateId":3,"cityId":4,"townId":5,"areaId":6,"typeText":"sample string 7"}

application/xml, text/xml

Sample:
<stateCityTownAreaPrm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models">
  <areaId>6</areaId>
  <cityId>4</cityId>
  <flag>1</flag>
  <stateId>3</stateId>
  <townId>5</townId>
  <type>2</type>
  <typeText>sample string 7</typeText>
</stateCityTownAreaPrm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional information
Version

string

None.

dateTime

string

None.

StatusCode

integer

None.

ErrorMessage

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Version": "1.0.0",
  "dateTime": "2025/11/08 08:07:37",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}

text/html

Sample:
{"Version":"1.0.0","dateTime":"2025/11/08 08:07:37","StatusCode":1,"ErrorMessage":"sample string 2","Result":{}}

application/xml, text/xml

Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result />
  <StatusCode>1</StatusCode>
</VCAPIResponse>