## getEntitlementByActivationId **Type:** GraphQL queries **Description:** Fetches an Entitlement associated to the given Activation ID ### Arguments - activationId (String) ### Response **Type:** Entitlement **Description:** Represents the entitlement entity. #### Fields - createdOn (String): Represents the date and time when the entitlement was created. - description (String): Human readable description of the entitlement. - entitlementId (String): Represents a high-level entitlement entity. - shipToAddress (String): Represents the shipping address associated with the entitlement. - shipToEmail (String): Email address associated with shipment contact. - status (State): status could be one of the following values: ACTIVE, INACTIVE, DRAFT, DEPLOYED, OBSOLETED - updatedOn (String): Represents the date and time when the entitlement was last updated. --- ## getEntitlementById **Type:** GraphQL queries **Description:** Fetches an Entitlement by its ID. ### Arguments - entitlementId (String) ### Response **Type:** EntitlementDetail **Description:** Entitlement details including associated accounts and line items. #### Fields - accounts (Account): Represents the accounts associated with the entitlement. - attributes (Attribute): Represents the custom attributes associated with the entitlement. - createdOn (String): Represents the date and time when the entitlement was created. - description (String): Human readable description of the entitlement. - entitlementId (String): Unique identifier of the entitlement. - lineItems (LineItemDetail): List of line items associated with the entitlement. - shipToAddress (String): Represents the shipping address associated with the entitlement. - shipToEmail (String): Email address associated with shipment contact. - status (State): status could be one of the following values: ACTIVE, INACTIVE, DRAFT, DEPLOYED, OBSOLETED - updatedOn (String): Represents the date and time when the entitlement was last updated. --- ## getEntitlements **Type:** GraphQL queries **Description:** Fetches a list of Entitlements based on various filters. ### Arguments - accountId (String): Unique identifier for the account - accountName (String): Name of the account - contactEmail (String): Contact email associated with the entitlement - limit (Int): limit number of records per page - page (Int): page number for pagination - partNumber (String): Product Part number associated with the entitlement - product (String): Product associated with the entitlement - productVersion (String): Product version associated with the entitlement - sortBy (String): sortBy - You can sort by the following fields entitlement_id,account_name,created_on - sortOrder (String): sortOrder - You can specify either asc or desc - status (String): status - You can filter by the following statuses active, inactive, draft, deployed, obsoleted ### Response **Type:** EntitlementListResponse **Description:** Paginated response carrying a list of entitlements. #### Fields - entitlements (Entitlement): List of entitlement entities. - limit (Int): Represents limit per page for pagination. - page (Int): Represents page for pagination. --- ## getLineItemsForEntitlement **Type:** GraphQL queries **Description:** Given an entitlement ID, fetch the line items associated with it. ### Arguments - activationId (String): Activation ID of the line item - entitlementId (String): Entitlement ID for which line items are to be fetched - licenseModelName (String): License model name associated with the line item. - limit (Int): limit number of records per page - page (Int): page number for pagination - productName (String): Name of the product associated with the line item - startDate (String): Start date of the line item. - status (String): Status of the line item. You can filter by the following statuses active, inactive, draft, deployed, obsoleted ### Response **Type:** LineItemListResponse **Description:** Paginated response carrying a list of line items. #### Fields - limit (Int): Represents limit per page for pagination. - lineItems (LineItem): List of line item entities. - page (Int): Represents page for pagination.