Get Entitlements by Protection Key ID
Returns Entitlements associated with a key.
Method Type | URI |
---|---|
GET | v90/ws/target/{protectionKeyId}/entitlement.ws |
URI Parameters
Parameter | Description | Type |
---|---|---|
protectionKeyId | ID of the key for which the associated Entitlements are to be extracted. | String |
Sample Response
Success
HTTP Status Code: 200
Response Body
<entitlementListResponse count="8"> <entitlementInstance entId="1" contact="" customer="" state="DRAFT" createDate="2011-07-28 15:52:56.853" commitDate="2011-07-28 15:52:57.51" /> <entitlementInstance entId="2" contact="" customer="" state="DRAFT" createDate="2011-07-31 13:56:14.863" commitDate="2011-07-31 13:56:15.55" /> <entitlementInstance entId="3" contact="" customer="" state="DRAFT" createDate="2011-08-04 11:18:28.583" commitDate="2011-08-04 11:18:30.067" /> <entitlementInstance entId="4" contact="" customer="" state="DRAFT" createDate="2011-08-04 11:34:47.14" commitDate="2011-08-04 11:34:47.187" /> <entitlementInstance entId="5" contact="" customer="" state="DRAFT" createDate="2011-08-04 11:37:26.623" commitDate="2011-08-04 11:37:26.67" /> <entitlementInstance entId="6" contact="" customer="" state="DRAFT" createDate="2011-08-04 11:49:51.867" commitDate="2011-08-04 11:49:52.43" /> <entitlementInstance entId="7" contact="" customer="" state="DRAFT" createDate="2011-08-04 11:56:41.74" commitDate="2011-08-04 11:56:41.787" /> <entitlementInstance entId="8" contact="" customer="" state="DRAFT" createDate="2011-08-04 11:58:50.333" commitDate="2011-08-04 11:58:50.397" /> </entitlementListResponse>
Failure
HTTP Status Code: 404
Response Body: Unable to retrieve Protection Key for Key ID 5.