GET api/resourcegroups/{propertyid}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
propertyid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ResourceGroupName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Description | string |
None. |
|
RGType | ResourceType |
None. |
|
WorkbenchTimeInterval | byte |
None. |
|
IsDefault | boolean |
None. |
|
WorkbenchStartTime | integer |
None. |
|
WorkbenchEndTime | integer |
None. |
|
Resources | Collection of Resource |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Description": "sample string 2", "RGType": 0, "WorkbenchTimeInterval": 64, "IsDefault": true, "WorkbenchStartTime": 5, "WorkbenchEndTime": 6, "Resources": [ { "Id": 1, "Text": "sample string 2", "text": "sample string 3", "Description": "sample string 4", "RescType": 0, "Color": 5, "Photo": "QEA=" }, { "Id": 1, "Text": "sample string 2", "text": "sample string 3", "Description": "sample string 4", "RescType": 0, "Color": 5, "Photo": "QEA=" } ] }, { "Id": 1, "Description": "sample string 2", "RGType": 0, "WorkbenchTimeInterval": 64, "IsDefault": true, "WorkbenchStartTime": 5, "WorkbenchEndTime": 6, "Resources": [ { "Id": 1, "Text": "sample string 2", "text": "sample string 3", "Description": "sample string 4", "RescType": 0, "Color": 5, "Photo": "QEA=" }, { "Id": 1, "Text": "sample string 2", "text": "sample string 3", "Description": "sample string 4", "RescType": 0, "Color": 5, "Photo": "QEA=" } ] } ]
application/xml, text/xml
Sample:
<ArrayOfResourceGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Web.Api.Models"> <ResourceGroup> <Description>sample string 2</Description> <Id>1</Id> <IsDefault>true</IsDefault> <RGType>RES_NOTYPE</RGType> <Resources> <Resource> <Color>5</Color> <Description>sample string 4</Description> <Id>1</Id> <Photo>QEA=</Photo> <RescType>RES_NOTYPE</RescType> <Text>sample string 2</Text> <text>sample string 3</text> </Resource> <Resource> <Color>5</Color> <Description>sample string 4</Description> <Id>1</Id> <Photo>QEA=</Photo> <RescType>RES_NOTYPE</RescType> <Text>sample string 2</Text> <text>sample string 3</text> </Resource> </Resources> <WorkbenchEndTime>6</WorkbenchEndTime> <WorkbenchStartTime>5</WorkbenchStartTime> <WorkbenchTimeInterval>64</WorkbenchTimeInterval> </ResourceGroup> <ResourceGroup> <Description>sample string 2</Description> <Id>1</Id> <IsDefault>true</IsDefault> <RGType>RES_NOTYPE</RGType> <Resources> <Resource> <Color>5</Color> <Description>sample string 4</Description> <Id>1</Id> <Photo>QEA=</Photo> <RescType>RES_NOTYPE</RescType> <Text>sample string 2</Text> <text>sample string 3</text> </Resource> <Resource> <Color>5</Color> <Description>sample string 4</Description> <Id>1</Id> <Photo>QEA=</Photo> <RescType>RES_NOTYPE</RescType> <Text>sample string 2</Text> <text>sample string 3</text> </Resource> </Resources> <WorkbenchEndTime>6</WorkbenchEndTime> <WorkbenchStartTime>5</WorkbenchStartTime> <WorkbenchTimeInterval>64</WorkbenchTimeInterval> </ResourceGroup> </ArrayOfResourceGroup>