GET api/ResourceViews/ViewList/{resourceID}

Gets a resource view based on the resourceID passed or a list of resource views if the resourceID is 0.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
resourceID

Used to specify a resource view to be returned containing the resource ID, if set to 0 then it will return all resource views.

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.

Response Formats

application/json, text/json

Sample:
[{"ID":0,"ViewName":"","ResourceList":null}]

application/xml, text/xml

Sample:
<?xml version="1.0" encoding="utf-16"?>
<ResourceViews xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <anyType xsi:type="APIResourceView">
    <ID>0</ID>
    <ViewName />
  </anyType>
</ResourceViews>