GET api/PayMachines
Gets a list of all active paymachines
Requires Authorization
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
A IHttpActionResult with paymachines
Response codes
200 Ok
401 Unauthorized
404 Not Found
500 Internal Server Error
503 Service Unavailable PayMachine
| Name | Description | Type | Additional information |
|---|---|---|---|
| Number |
Paymachine number Example: 1102 |
string |
None. |
| StreetName |
The street where the paymachine is positioned. |
string |
None. |
| Wkt | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Number": "sample string 2",
"StreetName": "sample string 3",
"Wkt": "sample string 4"
}
application/xml, text/xml
Sample:
<PayMachine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParkingDataService.Common.DTO"> <Number>sample string 2</Number> <StreetName>sample string 3</StreetName> <Wkt>sample string 4</Wkt> </PayMachine>