GET api/resources
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Resource| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Text | string |
None. |
|
| text | string |
None. |
|
| Description | string |
None. |
|
| RescType | ResourceType |
None. |
|
| Color | integer |
None. |
|
| Photo | Collection of byte |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"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:
<ArrayOfResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Web.Api.Models">
<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>
</ArrayOfResource>