GET Methods #
Get All Accessories #
Description
Loads all accessories. Within the response, CreditApplicability of 1 is per slot, 2 is per reservation.
Route
/Accessories/
Authentication
This service is secure and requires authentication headers
Example Response
{
"accessories": [
{
"id": 1,
"name": "accessoryName",
"quantityAvailable": 3,
"associatedResourceCount": 10,
"creditCount": 1,
"peakCreditCount": 2,
"creditApplicability": 1,
"creditsChargedAllSlots": null,
"links": [],
"message": null
}
],
"links": [],
"message": null
}
Get Accessory #
Description
Loads a specific accessory by Id. Within the response, CreditApplicability of 1 is per slot, 2 is per reservation.
Route
/Accessories/:accessoryId
Authentication
This service is secure and requires authentication headers
Example Response
{
"id": 1,
"name": "accessoryName",
"quantityAvailable": 10,
"associatedResources": [
{
"resourceId": 1,
"minQuantity": 4,
"maxQuantity": 10,
"links": [],
"message": null
}
],
"creditCount": 1,
"peakCreditCount": 2,
"creditApplicability": 1,
"links": [],
"message": null
}