GET api/Websites
Get all websites
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of WebsiteInfoName | Description | Type | Additional information |
---|---|---|---|
WebsiteId |
GUID for website |
string |
None. |
DomainNames | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "WebsiteId": "sample string 1", "DomainNames": [ "sample string 1", "sample string 2" ] }, { "WebsiteId": "sample string 1", "DomainNames": [ "sample string 1", "sample string 2" ] } ]
application/xml, text/xml
Sample:
<ArrayOfWebsiteInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models"> <WebsiteInfo> <DomainNames xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </DomainNames> <WebsiteId>sample string 1</WebsiteId> </WebsiteInfo> <WebsiteInfo> <DomainNames xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </DomainNames> <WebsiteId>sample string 1</WebsiteId> </WebsiteInfo> </ArrayOfWebsiteInfo>