Retrieve a Service for a Location as a JSON:API resource object.
Related data can be requested by repeating the include parameter, for example ?include=resources&include=company_links.
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v2/openapi/locations/{location_id}/services/{service_id}
- Productionhttps://api.alteg.io/api/v2/locations/{location_id}/services/{service_id}
curl -i -X GET \
'https://developer.alteg.io/_mock/en/b2b-v2/openapi/locations/{location_id}/services/{service_id}?include=resources' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>'Response
{ "data": { "type": "service", "id": "100", "attributes": { … } }, "meta": [] }