GET api/Sheds

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Sheds
NameDescriptionTypeAdditional information
ShedId

integer

None.

BuCode

integer

None.

ShedTitle

string

None.

ShedShortName

string

None.

ShedCapacity

integer

None.

Active

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ShedId": 1,
    "BuCode": 2,
    "ShedTitle": "sample string 3",
    "ShedShortName": "sample string 4",
    "ShedCapacity": 1,
    "Active": true
  },
  {
    "ShedId": 1,
    "BuCode": 2,
    "ShedTitle": "sample string 3",
    "ShedShortName": "sample string 4",
    "ShedCapacity": 1,
    "Active": true
  }
]

text/html

Sample:
[{"ShedId":1,"BuCode":2,"ShedTitle":"sample string 3","ShedShortName":"sample string 4","ShedCapacity":1,"Active":true},{"ShedId":1,"BuCode":2,"ShedTitle":"sample string 3","ShedShortName":"sample string 4","ShedCapacity":1,"Active":true}]

application/xml, text/xml

Sample:
<ArrayOfSheds xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveStock.WebApi.Models">
  <Sheds>
    <Active>true</Active>
    <BuCode>2</BuCode>
    <ShedCapacity>1</ShedCapacity>
    <ShedId>1</ShedId>
    <ShedShortName>sample string 4</ShedShortName>
    <ShedTitle>sample string 3</ShedTitle>
  </Sheds>
  <Sheds>
    <Active>true</Active>
    <BuCode>2</BuCode>
    <ShedCapacity>1</ShedCapacity>
    <ShedId>1</ShedId>
    <ShedShortName>sample string 4</ShedShortName>
    <ShedTitle>sample string 3</ShedTitle>
  </Sheds>
</ArrayOfSheds>