GET api/Placements

Gets a list of all active placements

Requires Authorization

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

A IHttpActionResult with placements

Response codes


200 Ok
401 Unauthorized
404 Not Found
500 Internal Server Error
503 Service Unavailable

Placement
NameDescriptionTypeAdditional information
LongText

Long text for the placement Example: Mitt emot

string

None.

ShortText

Short text for the placement Example: MEM

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ShortText": "sample string 1",
  "LongText": "sample string 2"
}

application/xml, text/xml

Sample:
<Placement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParkingDataService.Common.DTO">
  <LongText>sample string 2</LongText>
  <ShortText>sample string 1</ShortText>
</Placement>