POST api/City/GetAllSpots

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ExecuteResultOfListOfSpots
NameDescriptionTypeAdditional information
Data

Collection of Spots

None.

Success

boolean

None.

IsSuccess

boolean

None.

Msg

string

None.

Code

integer

None.

StatusCode

string

None.

Errors

Dictionary of string [key] and string [value]

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "ID": 1,
      "Name": "sample string 2",
      "CodeLevel": 3,
      "ContinentName": "sample string 4",
      "CountryName": "sample string 5",
      "ProvinceName": "sample string 6",
      "StreetName": "sample string 8",
      "ContinentCode": 9,
      "CountryCode": 10,
      "ProvinceCode": 11,
      "CityCode": 12,
      "StreetCode": 13,
      "poi_code": "sample string 14"
    },
    {
      "ID": 1,
      "Name": "sample string 2",
      "CodeLevel": 3,
      "ContinentName": "sample string 4",
      "CountryName": "sample string 5",
      "ProvinceName": "sample string 6",
      "StreetName": "sample string 8",
      "ContinentCode": 9,
      "CountryCode": 10,
      "ProvinceCode": 11,
      "CityCode": 12,
      "StreetCode": 13,
      "poi_code": "sample string 14"
    }
  ],
  "Success": true,
  "IsSuccess": true,
  "Msg": "sample string 3",
  "Code": 4,
  "StatusCode": "sample string 5",
  "Errors": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<ExecuteResultOfArrayOfSpotsk9VTtWam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZTSoft.Core">
  <Code>4</Code>
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Errors>
  <IsSuccess>true</IsSuccess>
  <Msg>sample string 3</Msg>
  <StatusCode>sample string 5</StatusCode>
  <Success>true</Success>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Isonfor.ECommerce.Common.Entity">
    <d2p1:Spots>
      <d2p1:CityCode>12</d2p1:CityCode>
      <d2p1:CodeLevel>3</d2p1:CodeLevel>
      <d2p1:ContinentCode>9</d2p1:ContinentCode>
      <d2p1:ContinentName>sample string 4</d2p1:ContinentName>
      <d2p1:CountryCode>10</d2p1:CountryCode>
      <d2p1:CountryName>sample string 5</d2p1:CountryName>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:ProvinceCode>11</d2p1:ProvinceCode>
      <d2p1:ProvinceName>sample string 6</d2p1:ProvinceName>
      <d2p1:StreetCode>13</d2p1:StreetCode>
      <d2p1:StreetName>sample string 8</d2p1:StreetName>
      <d2p1:poi_code>sample string 14</d2p1:poi_code>
    </d2p1:Spots>
    <d2p1:Spots>
      <d2p1:CityCode>12</d2p1:CityCode>
      <d2p1:CodeLevel>3</d2p1:CodeLevel>
      <d2p1:ContinentCode>9</d2p1:ContinentCode>
      <d2p1:ContinentName>sample string 4</d2p1:ContinentName>
      <d2p1:CountryCode>10</d2p1:CountryCode>
      <d2p1:CountryName>sample string 5</d2p1:CountryName>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:ProvinceCode>11</d2p1:ProvinceCode>
      <d2p1:ProvinceName>sample string 6</d2p1:ProvinceName>
      <d2p1:StreetCode>13</d2p1:StreetCode>
      <d2p1:StreetName>sample string 8</d2p1:StreetName>
      <d2p1:poi_code>sample string 14</d2p1:poi_code>
    </d2p1:Spots>
  </Data>
</ExecuteResultOfArrayOfSpotsk9VTtWam>