POST api/Dynamic/CityBuildingList?CookCode={CookCode}

【可用】登录用户--城市门店列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CookCode

登录Token

string

Required

Body Parameters

None.

Response Information

Resource Description

RequestResultOfListOfCityResult
NameDescriptionTypeAdditional information
ResultCode

integer

None.

Message

string

None.

Data

Collection of CityResult

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultCode": 1,
  "Message": "sample string 2",
  "Data": [
    {
      "CityID": 1,
      "CityName": "sample string 2",
      "SortNo": 3,
      "BuildingList": [
        {
          "CityID": 1,
          "BuildingID": 2,
          "BuildingName": "sample string 3",
          "SortNo": 4
        },
        {
          "CityID": 1,
          "BuildingID": 2,
          "BuildingName": "sample string 3",
          "SortNo": 4
        }
      ]
    },
    {
      "CityID": 1,
      "CityName": "sample string 2",
      "SortNo": 3,
      "BuildingList": [
        {
          "CityID": 1,
          "BuildingID": 2,
          "BuildingName": "sample string 3",
          "SortNo": 4
        },
        {
          "CityID": 1,
          "BuildingID": 2,
          "BuildingName": "sample string 3",
          "SortNo": 4
        }
      ]
    }
  ]
}

text/html

Sample:
{"ResultCode":1,"Message":"sample string 2","Data":[{"CityID":1,"CityName":"sample string 2","SortNo":3,"BuildingList":[{"CityID":1,"BuildingID":2,"BuildingName":"sample string 3","SortNo":4},{"CityID":1,"BuildingID":2,"BuildingName":"sample string 3","SortNo":4}]},{"CityID":1,"CityName":"sample string 2","SortNo":3,"BuildingList":[{"CityID":1,"BuildingID":2,"BuildingName":"sample string 3","SortNo":4},{"CityID":1,"BuildingID":2,"BuildingName":"sample string 3","SortNo":4}]}]}

application/xml, text/xml

Sample:
<RequestResultOfArrayOfCityResultT4IpBqzM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MF.Common">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/MF.Models.Models.City">
    <d2p1:CityResult>
      <d2p1:BuildingList xmlns:d4p1="http://schemas.datacontract.org/2004/07/MF.Models.Models.Building">
        <d4p1:BuildingResult>
          <d4p1:BuildingID>2</d4p1:BuildingID>
          <d4p1:BuildingName>sample string 3</d4p1:BuildingName>
          <d4p1:CityID>1</d4p1:CityID>
          <d4p1:SortNo>4</d4p1:SortNo>
        </d4p1:BuildingResult>
        <d4p1:BuildingResult>
          <d4p1:BuildingID>2</d4p1:BuildingID>
          <d4p1:BuildingName>sample string 3</d4p1:BuildingName>
          <d4p1:CityID>1</d4p1:CityID>
          <d4p1:SortNo>4</d4p1:SortNo>
        </d4p1:BuildingResult>
      </d2p1:BuildingList>
      <d2p1:CityID>1</d2p1:CityID>
      <d2p1:CityName>sample string 2</d2p1:CityName>
      <d2p1:SortNo>3</d2p1:SortNo>
    </d2p1:CityResult>
    <d2p1:CityResult>
      <d2p1:BuildingList xmlns:d4p1="http://schemas.datacontract.org/2004/07/MF.Models.Models.Building">
        <d4p1:BuildingResult>
          <d4p1:BuildingID>2</d4p1:BuildingID>
          <d4p1:BuildingName>sample string 3</d4p1:BuildingName>
          <d4p1:CityID>1</d4p1:CityID>
          <d4p1:SortNo>4</d4p1:SortNo>
        </d4p1:BuildingResult>
        <d4p1:BuildingResult>
          <d4p1:BuildingID>2</d4p1:BuildingID>
          <d4p1:BuildingName>sample string 3</d4p1:BuildingName>
          <d4p1:CityID>1</d4p1:CityID>
          <d4p1:SortNo>4</d4p1:SortNo>
        </d4p1:BuildingResult>
      </d2p1:BuildingList>
      <d2p1:CityID>1</d2p1:CityID>
      <d2p1:CityName>sample string 2</d2p1:CityName>
      <d2p1:SortNo>3</d2p1:SortNo>
    </d2p1:CityResult>
  </Data>
  <Message>sample string 2</Message>
  <ResultCode>1</ResultCode>
</RequestResultOfArrayOfCityResultT4IpBqzM>