Back to Collection Items
<?php
include("chilkat_9_5_0.php");
$http->put_AuthToken('{{token}}');$success = $http->QuickGetSb('https://domain.com/accounts/api/organizations/{{organization_id}}/entitlements',$sbResponseBody);
?>
Curl Command
curl -X GET
-H "Authorization: Bearer {{token}}"
-H "X-ANYPNT-ORG-ID: {{organization_id}}"
-H "X-ANYPNT-ENV-ID: {{environment_id}}"
https://domain.com/accounts/api/organizations/{{organization_id}}/entitlements
Postman Collection Item JSON
{
"name": "Get entitlement",
"request": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}",
"type": "text"
},
{
"key": "X-ANYPNT-ORG-ID",
"value": "{{organization_id}}",
"type": "text"
},
{
"key": "X-ANYPNT-ENV-ID",
"value": "{{environment_id}}",
"type": "text"
}
],
"url": {
"raw": "{{url}}/accounts/api/organizations/{{organization_id}}/entitlements",
"host": [
"{{url}}"
],
"path": [
"accounts",
"api",
"organizations",
"{{organization_id}}",
"entitlements"
]
}
},
"response": [
]
}