PUT api/Admin/Locations/{locationId}/Parking/Levels/{levelId}/Spaces/{spaceId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| locationId | integer |
Required |
|
| levelId | integer |
Required |
|
| spaceId | integer |
Required |
Body Parameters
ParkingSpacePostDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Active | boolean |
None. |
|
| IsElectrical | boolean |
None. |
|
| XCoord | decimal number |
None. |
|
| YCoord | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Active": true,
"IsElectrical": true,
"XCoord": 4.0,
"YCoord": 5.0
}
application/xml, text/xml
Sample:
<ParkingSpacePostDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.Parking"> <Active>true</Active> <IsElectrical>true</IsElectrical> <Name>sample string 1</Name> <XCoord>4</XCoord> <YCoord>5</YCoord> </ParkingSpacePostDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.