Get all entitlements
get
https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/v1/entitlement
Request
Query Parameters
-
description: string
The description of the resource.
-
fields: string
The comma-separated field names that are returned in the response. The field names are the names that you specify when you create or retrieve a resource.
-
id: string
The unique identifier of the resource item.
-
lifecycleStatus: string
The current lifecycle status of the resource.
-
limit: integer
The number of resources to be returned in the response. The minimum value that can be specified is 1, and the maximum value that can be specified is 100,000. If the specified value is greater than 100,000, then it defaults to 100,000.
-
name: string
The name of the resource.
-
offset: string
The record number from which the retrieval starts. The default value is zero. If no value is specified, then it defaults to zero. The value zero indicates that the retrieval will start from the beginning of the collection.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
OK
Root Schema : schema
Type:
Show Source
array
-
Array of:
object EntitlementOracle
Title:
EntitlementOracle
Nested Schema : EntitlementOracle
Type:
object
Title:
Show Source
EntitlementOracle
-
@baseType: string
Immediate base (class) type of the object
-
@schemaLocation: string
A link to the schema describing this object
-
@type: string
Indicates the type of resource. Here can be entitlement
-
associatedProducts(required): array
associatedProducts
-
benefits: array
benefits
-
created: string
(date-time)
Date and time of the creation
-
createdBy: string
name of the person who created item
-
description: string
Description of entitlement
-
entitlementType: string
Allowed Values:
[ "ENTITLEMENT_PRICING", "ENTITLEMENT_SERVICE" ]
entitlememt type -
href: string
Hypertext Reference of the entitlement.
-
id: string
Maximum Length:
30
Unique identifier of the entitlement -
lastUpdate: string
(date-time)
Latest update date of entitlement
-
lastUpdatedBy: string
name of the person who updated item
-
lifecycleStatus: string
Status of entitlement
-
metrics: array
metrics
-
name: string
Name of entitlement
-
pricelist: array
pricelist
-
priority: number
Priority of this entitlement in relation to other entitlement assosiatedto the project.
-
project: object
ProjectRef
Title:
ProjectRef
Project Reference -
quantity: object
EntitlementQuantityOracle
Title:
EntitlementQuantityOracle
A number and unit representing entitlement unit -
validFor: object
TimePeriod
Title:
TimePeriod
The period for which the productOffering is valid -
version: string
Promotion version
-
versionState: number
Version state of the entitlement
Nested Schema : associatedProducts
Type:
Show Source
array
-
Array of:
object AssociatedProductsEntitlementsOracle
Title:
AssociatedProductsEntitlementsOracle
The products which are assosiated to entitlement, benefit or conditions
Nested Schema : benefits
Type:
Show Source
array
-
Array of:
object EntitlementsBenefitsOracle
Title:
EntitlementsBenefitsOracle
Entitlement benefits.
Nested Schema : metrics
Type:
Show Source
array
-
Array of:
object EntitlementMetricsOracle
Title:
EntitlementMetricsOracle
Entitlement Metrics
Nested Schema : pricelist
Type:
Show Source
array
-
Array of:
object PriceListRefOracle
Title:
PriceListRefOracle
Pricelist reference.
Nested Schema : ProjectRef
Type:
object
Title:
ProjectRef
Project Reference
Show Source
-
href: string
Unique reference of the project
-
id(required): string
Unique identifier of the project
-
name: string
Name of the project
-
version: string
Version of the project
Nested Schema : EntitlementQuantityOracle
Type:
object
Title:
EntitlementQuantityOracle
A number and unit representing entitlement unit
Show Source
-
amount(required): number
A quantity of something, typically the total of a thing or things in number.
-
units(required): string
Allowed Values:
[ "ENTL_UNIT_ORDERS", "ENTL_UNIT_SERREQ" ]
The unit of measure for the quantity.
Nested Schema : TimePeriod
Type:
object
Title:
TimePeriod
The period for which the productOffering is valid
Show Source
-
endDateTime: string
(date-time)
An instant of time, ending at the TimePeriod.
-
startDateTime(required): string
(date-time)
An instant of time, starting at the TimePeriod
Nested Schema : AssociatedProductsEntitlementsOracle
Type:
object
Title:
AssociatedProductsEntitlementsOracle
The products which are assosiated to entitlement, benefit or conditions
Show Source
-
@baseType: string
Immediate base (class) type of the object
-
@referredType: string
Type of the referred entity
-
@schemaLocation: string
A link to the schema describing this object
-
@type: string
Class type of the object
-
actionObjectType: string
Allowed Values:
[ "PRODUCT_OFFERING", "PRODUCT_OFFERING_PRICE", "PRODUCTLINE", "CATEGORY", "PRODUCT_SPECIFICATION" ]
Type of the assosiated product -
id(required): string
-
name: string
Name of the assosiated product
Nested Schema : EntitlementsBenefitsOracle
Type:
object
Title:
EntitlementsBenefitsOracle
Entitlement benefits.
Show Source
-
@baseType: string
Immediate base (class) type of the object
-
@schemaLocation: string
A link to the schema describing this object
-
@type: string
Indicates the type of resource.
-
benefitType: string
Allowed Values:
[ "ENTL_BFT_TYP_DSNT" ]
Benifit type -
description: string
Description of entitlements benefit
-
entitlementConditionsGroup: array
entitlementConditionsGroup
-
id: string
Maximum Length:
30
Unique identifier of the benifit -
name: string
Name of entitlement benifit
-
priority: number
Piority of this benifit
-
productOfferingPrice(required): array
productOfferingPrice
-
products(required): array
products
-
relationShipAmongGroup: string
Allowed Values:
[ "ENTL_BFT_CND_REL_ALL", "ENTL_BFT_CND_REL_ANY" ]
Condition relationship for the benfit -
schedule: string
Allowed Values:
[ "ENTL_BFT_SCDL_MNTLY", "ENTL_BFT_SCDL_ANLY", "ENTL_BFT_SCDL_ASINRD", "ENTL_BFT_SCDL_BIANLY", "ENTL_BFT_SCDL_CTRTRM", "ENTL_BFT_SCDL_CTRYR", "ENTL_BFT_SCDL_QRTLY", "ENTL_BFT_SCDL_WEKLY" ]
Allows to define the benifit schedule -
status: string
Allowed Values:
[ "ENTL_BFT_STS_ACTV", "ENTL_BFT_STS_CNCLD", "ENTL_BFT_STS_EXHSTD", "ENTL_BFT_STS_NEW", "ENTL_BFT_STS_ONHOLD" ]
Signifies the current status of the benefit
Nested Schema : entitlementConditionsGroup
Type:
Show Source
array
-
Array of:
object EntitlementConditionsGroupOracle
Title:
EntitlementConditionsGroupOracle
The group of the condition for the entitlement.The logical relationship between different groups is decided by the ???relationTypeInGroup???.
Nested Schema : productOfferingPrice
Type:
Show Source
array
-
Array of:
ProductOfferingPriceRefOracle
Title:
ProductOfferingPriceRefOracle
ProductPriceOffering reference. An amount, usually of money, that is asked for or allowed when a ProductOffering is bought, rented, or leased
Nested Schema : products
Type:
Show Source
array
-
Array of:
object AssociatedProductsEntitlementsOracle
Title:
AssociatedProductsEntitlementsOracle
The products which are assosiated to entitlement, benefit or conditions
Nested Schema : EntitlementConditionsGroupOracle
Type:
object
Title:
EntitlementConditionsGroupOracle
The group of the condition for the entitlement.The logical relationship between different groups is decided by the ???relationTypeInGroup???.
Show Source
-
@baseType: string
Immediate base (class) type of the object
-
@schemaLocation: string
A link to the schema describing this object
-
@type: string
Class type of the object
-
condition: array
condition
-
conditionTiming: string
Allowed Values:
[ "ENT_CND_TMG_ANLY", "ENT_CND_TMG_BIANLY", "ENT_CND_TMG_CTRTRM", "ENT_CND_TMG_CTRYR", "ENT_CND_TMG_MTLY", "ENT_CND_TMG_QRTLY", "ENT_CND_TMG_WEKLY" ]
Signifies the condition timing , weather its Annually , weekly etc. -
groupName: string
Name of the entitlement condition group
-
id: string
Maximum Length:
30
Unique identifier of the entitlement condition group -
order: number
Seqeunce number for this condition
-
products(required): array
products
-
relationTypeInGroup : string
Allowed Values:
[ "AND", "OR" ]
The logical relation type amongst the entitlement condition group.AND logical relation,OR logical relation -
status: string
Allowed Values:
[ "ENT_CND_STA_ACTV", "ENT_CND_STA_CNCLD", "ENT_CND_STA_EXHSTD", "ENT_CND_STA_NEW", "ENT_CND_STA_ONHLD" ]
status
Nested Schema : condition
Type:
Show Source
array
-
Array of:
object EntitlementConditionOracle
Title:
EntitlementConditionOracle
Condition of the entitlement.
Nested Schema : products
Type:
Show Source
array
-
Array of:
object AssociatedProductsEntitlementsOracle
Title:
AssociatedProductsEntitlementsOracle
The products which are assosiated to entitlement, benefit or conditions
Nested Schema : EntitlementConditionOracle
Type:
object
Title:
EntitlementConditionOracle
Condition of the entitlement.
Show Source
-
@baseType: string
Immediate base (class) type of the object
-
@schemaLocation: string
A link to the schema describing this object
-
@type: string
Class type of the object
-
conditionType: string
Allowed Values:
[ "ENTL_COND_TYP_VOL" ]
condition type, shows the conditons being created, defaulted to volume -
conditionValue: string
Condition value
-
id: string
Maximum Length:
30
Unique identifier of the entitlement condition -
operator: string
Allowed Values:
[ "EQUALS", "GREATER_THAN", "LESS_THAN", "GREATER_THAN_OR_EQUALS", "LESS_THAN_OR_EQUALS", "NOT_EQUALS" ]
The logic expression including parameter and operator. -
unitOfMeasure: string
Allowed Values:
[ "ENT_CND_UOM_ORDRS" ]
Unit of measure to satisfy the condition
Nested Schema : ProductOfferingPriceRefOracle
Title:
ProductOfferingPriceRefOracle
ProductPriceOffering reference. An amount, usually of money, that is asked for or allowed when a ProductOffering is bought, rented, or leased
Match All
ProductPriceOffering reference. An amount, usually of money, that is asked for or allowed when a ProductOffering is bought, rented, or leased
ProductPriceOffering reference. An amount, usually of money, that is asked for or allowed when a ProductOffering is bought, rented, or leased
Show Source
-
object
ProductOfferingPriceRef
Title:
ProductOfferingPriceRef
ProductPriceOffering reference. An amount, usually of money, that is asked for or allowed when a ProductOffering is bought, rented, or leased -
object
ProductOfferingPriceRefOracle-allOf[1]
Nested Schema : ProductOfferingPriceRef
Type:
object
Title:
ProductOfferingPriceRef
ProductPriceOffering reference. An amount, usually of money, that is asked for or allowed when a ProductOffering is bought, rented, or leased
Show Source
-
@baseType: string
When sub-classing, this defines the super-class
-
@referredType: string
The actual type of the target instance when needed for disambiguation.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships
-
@type: string
When sub-classing, this defines the sub-class entity name
-
href: string
Reference of the related entity.
-
id(required): string
Unique identifier of a related entity.
-
name: string
Name of the related entity.
-
refId: string
Unique identifier of the reference object.
-
refName: string
Name of the reference object.
-
versionState: number
To hold the version state of reference
Nested Schema : ProductOfferingPriceRefOracle-allOf[1]
Type:
Show Source
object
-
appliesTo: string
Allowed Values:
[ "ALL", "ONE_TIME", "RECURRING", "USAGE" ]
Bring in a open ended definition of alteration that specifies how price plan applicable to the offer -
isBundlePrice: boolean
Used to indicate whether the referred price is the flat price for a bundle (true) or not(false).
Nested Schema : EntitlementMetricsOracle
Type:
object
Title:
EntitlementMetricsOracle
Entitlement Metrics
Show Source
-
description: string
Description of Entitlement Metrics
-
id: string
Maximum Length:
30
Unique identifier of the entitlement metrics -
metricsQuantity: object
EntitlementMetricsQuantityOracle
Title:
EntitlementMetricsQuantityOracle
A number and unit representing entitlement metrics quantity -
metricsType: string
Allowed Values:
[ "ENTL_MET_RESP_TIME", "ENTL_MET_SERV_AVAIL", "ENTL_MET_RESL_TIME", "ENTL_MET_ESCL_TIME" ]
description -
name: string
Name of Entitlement Metrics
-
priority: number
Piority of this Metrics
Nested Schema : EntitlementMetricsQuantityOracle
Type:
object
Title:
EntitlementMetricsQuantityOracle
A number and unit representing entitlement metrics quantity
Show Source
-
amount(required): number
A quantity of something, typically the total of a thing or things in number.
-
units(required): string
Allowed Values:
[ "ENTL_MTCS_UNT_PRCT", "ENTL_MTCS_UNT_HRS", "ENTL_MTCS_UNT_MTS", "ENTL_MTCS_UNT_PNTS", "ENTL_MTCS_UNT_DAYS", "ENTL_MTCS_UNT_SCDS" ]
The unit of measure for the quantity.
Nested Schema : PriceListRefOracle
Type:
object
Title:
PriceListRefOracle
Pricelist reference.
Show Source
-
@baseType: string
Indicates the base (class) type of this REST resource
-
@referredType: string
The Class type of referred Price List
-
@schemaLocation: string
This field provides a link to the schema describing this REST resource
-
@type: string
Indicates the (class) type of PricelistRef.
-
href: string
Unique reference of the Pricelist
-
id(required): string
Unique identifier of the Pricelist
-
name: string
Name of the Pricelist
-
version: string
Version of the Pricelist
-
versionState: number
To hold the version state of reference
400 Response
Your request couldn't be processed because it contains missing or invalid information, such as a validation error on an input field, a missing required value, and so forth.
Root Schema : Error
Type:
object
Title:
Show Source
Error
-
@schemaLocation: string
It provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
401 Response
Your request isn't authorized. The authentication credentials included with this request are missing or invalid.
Root Schema : Error
Type:
object
Title:
Show Source
Error
-
@schemaLocation: string
It provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
404 Response
Your request includes a resource URI that doesn't exist.
Root Schema : Error
Type:
object
Title:
Show Source
Error
-
@schemaLocation: string
It provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
405 Response
HTTP action specified in the request (DELETE, GET, POST, PUT) isn't supported for this request URI.
Root Schema : Error
Type:
object
Title:
Show Source
Error
-
@schemaLocation: string
It provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
500 Response
The server encountered something unexpected that prevented it from completing the request.
Root Schema : Error
Type:
object
Title:
Show Source
Error
-
@schemaLocation: string
It provides a link to the schema describing a REST resource.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list)
-
message: string
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
Examples
The following example shows how to get all entitlements by submitting a get request on the REST resource using cURL.
cURL Command
curl -u username:password -X GET
'https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/v1/entitlement' \ -H 'Content-Type: application/json'
Example of Response Body
The following shows an example of the response body in JSON format.
[ { "lastUpdate": "2022-04-28T13:28:28.309Z", "lastUpdatedBy": "booth", "created": "2022-04-13T07:55:59.000Z", "createdBy": "anonymous", "id": "Oracle_XL53HHEY", "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/v1/entitlement/Oracle_XL53HHEY", "name": "Names_H6ZPOV1SO", "description": "Entitlement", "@type": "EntitlementOracle", "version": "1.0", "validFor": { "startDateTime": "2021-01-01T00:00:00.000Z" }, "project": { "id": "AutomationProject", "name": "AutomationProject", "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/project/AutomationProject" }, "lifecycleStatus": "In design", "entitlementType": "ENTITLEMENT_PRICING", "priority": 1, "quantity": { "amount": 11, "units": "ENTL_UNIT_ORDERS" }, "pricelist": [ { "id": "US_PRICE_LIST_Auto", "name": "US_PRICE_LIST_Auto", "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/pricelist/US_PRICE_LIST_Auto" } ], "associatedProducts": [ { "id": "Auto-PO-26112021", "name": "Auto-PO-26112021", "actionObjectType": "PRODUCT_OFFERING", "@referredType": "ProductOfferingOracle" } ], "benefits": [ { "id": "Benefit0232d", "name": "Benefit0224", "description": "Benefit0224", "priority": 1, "benefitType": "ENTL_BFT_TYP_DSNT", "status": "ENTL_BFT_STS_ACTV", "schedule": "ENTL_BFT_SCDL_WEKLY", "relationshipAmongGroup": "ENTL_BFT_CND_REL_ALL", "products": [ { "id": "Auto-PO-26112021", "name": "Auto-PO-26112021", "actionObjectType": "PRODUCT_OFFERING", "@referredType": "ProductOfferingOracle" } ], "productOfferingPrice": [ { "id": "TestPOP2911", "name": "TestPOP2911", "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/productOfferingPrice/TestPOP2911", "@referredType": "ProductOfferPriceAlterationOracle", "@type": "ProductOfferingPriceRefOracle", "appliesTo": "ALL" } ], "entitlementConditionsGroup": [ { "id": "ConditionGroup1", "groupName": "ConditionGroup1", "relationTypeInGroup": "AND", "order": 1, "status": "ENT_CND_STA_ACTV", "conditionTiming": "ENT_CND_TMG_WEKLY", "condition": [ { "id": "condt-2621961148-1641464904", "unitOfMeasure": "ENT_CND_UOM_ORDRS", "conditionValue": "100", "conditionType": "ENTL_COND_TYP_VOL", "operator": "EQUALS" } ], "products": [ { "id": "Common-PS-26112021", "name": "Common-PS-26112021", "actionObjectType": "PRODUCT_SPECIFICATION", "@referredType": "ProductSpecificationOracle" } ] } ] } ] },..... ]