GET Api/SiteDir/GetSiteDirPublicattion?state={state}&city={city}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
state

string

Required

city

string

Required

Body Parameters

None.

Response Information

Resource Description

directoryModel
NameDescriptionTypeAdditional information
statelistPosition

Collection of directoryStateLatLng

None.

statelist

Collection of directoryState

None.

citylist

Collection of directoryCity

None.

publicationlist

Collection of directoryPublication

None.

img

string

None.

zoomSize

integer

None.

zoomInOut

string

None.

grayscaleColor

string

None.

extraColor

string

None.

DefaultCenterLat

string

None.

DefaultCenterLng

string

None.

StateCityPublicationList

Collection of Location

None.

Response Formats

application/json, text/json

Sample:
{
  "StateCityPublicationList": [
    {
      "CollectionId": 1,
      "DirectoryID": 2,
      "TitleID": 3,
      "SiteID": 4,
      "StateName": "sample string 5",
      "cityName": "sample string 6",
      "publicationName": "sample string 7",
      "lat": "sample string 8",
      "lng": "sample string 9",
      "siteName": "sample string 10",
      "url": "sample string 11",
      "SiteTitle": "sample string 12"
    },
    {
      "CollectionId": 1,
      "DirectoryID": 2,
      "TitleID": 3,
      "SiteID": 4,
      "StateName": "sample string 5",
      "cityName": "sample string 6",
      "publicationName": "sample string 7",
      "lat": "sample string 8",
      "lng": "sample string 9",
      "siteName": "sample string 10",
      "url": "sample string 11",
      "SiteTitle": "sample string 12"
    }
  ],
  "statelistPosition": [
    {
      "StateName": "sample string 1",
      "lat": "sample string 2",
      "lng": "sample string 3"
    },
    {
      "StateName": "sample string 1",
      "lat": "sample string 2",
      "lng": "sample string 3"
    }
  ],
  "statelist": [
    {
      "StateName": "sample string 1"
    },
    {
      "StateName": "sample string 1"
    }
  ],
  "citylist": [
    {
      "CityName": "sample string 1"
    },
    {
      "CityName": "sample string 1"
    }
  ],
  "publicationlist": [
    {
      "PublicationName": "sample string 1"
    },
    {
      "PublicationName": "sample string 1"
    }
  ],
  "img": "sample string 1",
  "zoomSize": 2,
  "zoomInOut": "sample string 3",
  "grayscaleColor": "sample string 4",
  "extraColor": "sample string 5",
  "DefaultCenterLat": "sample string 6",
  "DefaultCenterLng": "sample string 7"
}

application/xml, text/xml

Sample:
<directoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRUDAPI.Controllers">
  <DefaultCenterLat>sample string 6</DefaultCenterLat>
  <DefaultCenterLng>sample string 7</DefaultCenterLng>
  <StateCityPublicationList>
    <Location>
      <CollectionId>1</CollectionId>
      <DirectoryID>2</DirectoryID>
      <SiteID>4</SiteID>
      <SiteTitle>sample string 12</SiteTitle>
      <StateName>sample string 5</StateName>
      <TitleID>3</TitleID>
      <cityName>sample string 6</cityName>
      <lat>sample string 8</lat>
      <lng>sample string 9</lng>
      <publicationName>sample string 7</publicationName>
      <siteName>sample string 10</siteName>
      <url>sample string 11</url>
    </Location>
    <Location>
      <CollectionId>1</CollectionId>
      <DirectoryID>2</DirectoryID>
      <SiteID>4</SiteID>
      <SiteTitle>sample string 12</SiteTitle>
      <StateName>sample string 5</StateName>
      <TitleID>3</TitleID>
      <cityName>sample string 6</cityName>
      <lat>sample string 8</lat>
      <lng>sample string 9</lng>
      <publicationName>sample string 7</publicationName>
      <siteName>sample string 10</siteName>
      <url>sample string 11</url>
    </Location>
  </StateCityPublicationList>
  <citylist>
    <directoryCity>
      <CityName>sample string 1</CityName>
    </directoryCity>
    <directoryCity>
      <CityName>sample string 1</CityName>
    </directoryCity>
  </citylist>
  <extraColor>sample string 5</extraColor>
  <grayscaleColor>sample string 4</grayscaleColor>
  <img>sample string 1</img>
  <publicationlist>
    <directoryPublication>
      <PublicationName>sample string 1</PublicationName>
    </directoryPublication>
    <directoryPublication>
      <PublicationName>sample string 1</PublicationName>
    </directoryPublication>
  </publicationlist>
  <statelist>
    <directoryState>
      <StateName>sample string 1</StateName>
    </directoryState>
    <directoryState>
      <StateName>sample string 1</StateName>
    </directoryState>
  </statelist>
  <statelistPosition>
    <directoryStateLatLng>
      <StateName>sample string 1</StateName>
      <lat>sample string 2</lat>
      <lng>sample string 3</lng>
    </directoryStateLatLng>
    <directoryStateLatLng>
      <StateName>sample string 1</StateName>
      <lat>sample string 2</lat>
      <lng>sample string 3</lng>
    </directoryStateLatLng>
  </statelistPosition>
  <zoomInOut>sample string 3</zoomInOut>
  <zoomSize>2</zoomSize>
</directoryModel>