POST api/ActionService/GetAreaCities

Documentation for 'GetAreaCities'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "ConceptId": 1,
  "SubCategoryId": 2
}

application/xml, text/xml

Sample:
<AreaCityRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages.Musician">
  <ConceptId>1</ConceptId>
  <SubCategoryId>2</SubCategoryId>
</AreaCityRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'AreaCityRequest'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "Message": {
    "AreaList": [
      {
        "AreaId": 1,
        "AreaName": "sample string 2"
      },
      {
        "AreaId": 1,
        "AreaName": "sample string 2"
      },
      {
        "AreaId": 1,
        "AreaName": "sample string 2"
      }
    ],
    "CityAreaList": [
      {
        "CityId": 1,
        "AreaId": 2,
        "CityName": "sample string 3",
        "Url": "sample string 4"
      },
      {
        "CityId": 1,
        "AreaId": 2,
        "CityName": "sample string 3",
        "Url": "sample string 4"
      },
      {
        "CityId": 1,
        "AreaId": 2,
        "CityName": "sample string 3",
        "Url": "sample string 4"
      }
    ],
    "BandLinkTextList": [
      {
        "LinkText": "sample string 1"
      },
      {
        "LinkText": "sample string 1"
      },
      {
        "LinkText": "sample string 1"
      }
    ],
    "UserSubCat": {
      "UrlName": "sample string 1",
      "CategoriesType": "sample string 2"
    }
  }
}

application/xml, text/xml

Sample:
<ResponseBaseOfAreaCityResponseVxd1ES9A xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.MessageBase">
  <Message xmlns:d2p1="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages.Musician">
    <d2p1:AreaList>
      <d2p1:Areas>
        <d2p1:AreaId>1</d2p1:AreaId>
        <d2p1:AreaName>sample string 2</d2p1:AreaName>
      </d2p1:Areas>
      <d2p1:Areas>
        <d2p1:AreaId>1</d2p1:AreaId>
        <d2p1:AreaName>sample string 2</d2p1:AreaName>
      </d2p1:Areas>
      <d2p1:Areas>
        <d2p1:AreaId>1</d2p1:AreaId>
        <d2p1:AreaName>sample string 2</d2p1:AreaName>
      </d2p1:Areas>
    </d2p1:AreaList>
    <d2p1:BandLinkTextList>
      <d2p1:BandLink>
        <d2p1:LinkText>sample string 1</d2p1:LinkText>
      </d2p1:BandLink>
      <d2p1:BandLink>
        <d2p1:LinkText>sample string 1</d2p1:LinkText>
      </d2p1:BandLink>
      <d2p1:BandLink>
        <d2p1:LinkText>sample string 1</d2p1:LinkText>
      </d2p1:BandLink>
    </d2p1:BandLinkTextList>
    <d2p1:CityAreaList>
      <d2p1:CityArea>
        <d2p1:AreaId>2</d2p1:AreaId>
        <d2p1:CityId>1</d2p1:CityId>
        <d2p1:CityName>sample string 3</d2p1:CityName>
        <d2p1:Url>sample string 4</d2p1:Url>
      </d2p1:CityArea>
      <d2p1:CityArea>
        <d2p1:AreaId>2</d2p1:AreaId>
        <d2p1:CityId>1</d2p1:CityId>
        <d2p1:CityName>sample string 3</d2p1:CityName>
        <d2p1:Url>sample string 4</d2p1:Url>
      </d2p1:CityArea>
      <d2p1:CityArea>
        <d2p1:AreaId>2</d2p1:AreaId>
        <d2p1:CityId>1</d2p1:CityId>
        <d2p1:CityName>sample string 3</d2p1:CityName>
        <d2p1:Url>sample string 4</d2p1:Url>
      </d2p1:CityArea>
    </d2p1:CityAreaList>
    <d2p1:UserSubCat>
      <d2p1:CategoriesType>sample string 2</d2p1:CategoriesType>
      <d2p1:UrlName>sample string 1</d2p1:UrlName>
    </d2p1:UserSubCat>
  </Message>
  <status>sample string 1</status>
</ResponseBaseOfAreaCityResponseVxd1ES9A>