POST api/Address/GetState

Get State

Request Information

URI Parameters

None.

Body Parameters

StateRequset
NameDescriptionTypeAdditional information
Country

Country

string

Required

CountryCode

Country Code

string

Required

Request Formats

application/json, text/json

Sample:
{
  "Country": "sample string 1",
  "CountryCode": "sample string 2"
}

Response Information

Resource Description

StateResponse
NameDescriptionTypeAdditional information
States

State/Provence/Region

Collection of string

None.

Status

Request processing results ('ok' or 'error')

string

None.

ErrorText

Error Description ( Empty when request processing successfully )

string

None.

Code

状态码

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "States": [
    "sample string 1",
    "sample string 2"
  ],
  "Status": "sample string 1",
  "ErrorText": "sample string 2",
  "Code": 3
}