View an accommodation
This endpoint allows you to retrieve an accommodation by providing the accommodation id
.
Request
GET/v1/accommodations/{accommodation}
curl -G https://api.ntak.guru/v1/accommodations/99845d23-7ffb-4267-85ef-c8d4ac70e46a \
-H "Accept: application/json" \
-H "Authorization: Bearer {token}"
URL Parameters
Name | Description |
---|---|
accommodation | The accommodation id |
Response
ℹ️
Read more about the accommodation object on this page.
{
"payload": {
"id": "99845d23-7ffb-4267-85ef-c8d4ac70e46a",
"slug": "rqdsw",
"name": "Senger-Cummerata",
"providerName": null,
"providerTaxNumber": null,
"postalCode": null,
"locality": null,
"reportingId": null,
"active": false,
"hasLiveCertificate": false,
"hasPendingCertificate": false,
"callbackUrl": "http://www.ondricka.info/",
"dailyCloseUrl": "http://www.monahan.com/ea-ratione-magni-qui-facilis-adipisci-saepe-aut-nihil",
"expireAt": null,
"roles": [
"Owner",
],
"createdAt": "2023-06-28T07:36:13+00:00",
"updatedAt": "2023-06-28T07:36:13+00:00",
},
"message": null
}