GET api/Site

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Site
NameDescriptionTypeAdditional information
SiteId

integer

None.

Name

string

None.

Code

string

None.

SiteGroupId

integer

None.

Active

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "siteId": 1,
    "name": "sample string 2",
    "code": "sample string 3",
    "siteGroupId": 4,
    "active": true
  },
  {
    "siteId": 1,
    "name": "sample string 2",
    "code": "sample string 3",
    "siteGroupId": 4,
    "active": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfSite xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FeedConfig.Repository.Models">
  <Site>
    <Active>true</Active>
    <Code>sample string 3</Code>
    <Name>sample string 2</Name>
    <SiteGroupId>4</SiteGroupId>
    <SiteId>1</SiteId>
  </Site>
  <Site>
    <Active>true</Active>
    <Code>sample string 3</Code>
    <Name>sample string 2</Name>
    <SiteGroupId>4</SiteGroupId>
    <SiteId>1</SiteId>
  </Site>
</ArrayOfSite>