Get all subscription products

get

/crmRestApi/resources/11.13.18.05/subscriptions/{SubscriptionNumber}/child/products

Request

Path Parameters
Query Parameters
  • This parameter specifies dependencies which are fields that are set before and rolled back after generating the response. Generally they are used to preview the effects of an attribute change. The fields specified in this parameter are always set in the resource instance in question. When a child resource collection is requested and the parameter is set, the fields will be set in the parent resource instance before generating the resource collection payload. The value of this query parameter is a set of dependency fields. Example: dependency=ProductId=2

    Format: <attr1>=<val1>,<attr2>=<value2>
  • When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
  • This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.

    Format: ?fields=Attribute1,Attribute2

    Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2
  • Used as a predefined finder to search the collection.

    Format: ?finder=<finderName>;<variableName>=<variableValue>,<variableName2>=<variableValue2>

    The following are the available finder names and corresponding finder variables:

    • PrimaryKey: Finds the subscription product with the specified subscription product ID.
      Finder Variables:
      • SubscriptionProductId; integer; The unique primary identifier of the subscription product.
    • ProductPuid: Finds the subscription product with the specified subscription product PUID.
      Finder Variables:
      • SubscriptionProductPuid; string; The unique public identifier of the subscription product.
  • This parameter restricts the number of resources returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resources.
  • This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>

    Example:
    self,canonical
  • Used to define the starting position of the resource collection. If offset exceeds the resource count then no resources are returned. Default value is 0.
  • The resource item payload will be filtered in order to contain only data (no links section, for example).
  • This parameter orders a resource collection based on the specified fields. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "asc" or "desc". Specify "asc" for ascending and "desc" for descending. The default value is "asc". For example, ?orderBy=field1:asc,field2:desc
  • This query parameter defines the where clause. The resource collection will be queried using the provided expressions. The value of this query parameter is one or more expressions. Example: ?q=Deptno>=10 and <= 30;Loc!=NY

    Format: ?q=expression1;expression2

    You can use these queryable attributes to filter this collection resource using the q query parameter:
    • AccountingRuleId; integer; The unique identifier of the accounting rule.
    • AmendEffectiveDate; string; The amend effective date of the product.
    • BalanceRegisterId; integer; The ID of the balance register associated with the product.
    • BalanceRegisterNumber; string; The number of the balance register associated with the product.
    • BillToAccountId; integer; The unique identifier of the bill-to account.
    • BillToAccountNumber; string; The bill-to account number.
    • BillToContactId; integer; The bill-to contact ID of the subscription product.
    • BillToPartyId; integer; The bill-to customer ID of the subscription product.
    • BillToPartyNumber; string; The bill-to customer number of the subscription product.
    • BillToSiteUseId; integer; The unique identifier of the bill-to site use.
    • CalculatedCreditAmount; number; The calculated credit amount of the subscription product.
    • CancelDescription; string; The cancellation reason description of the subscription product.
    • ChurnPredictionTrend; integer; The churn prediction trend.
    • ChurnProbability; number; The churn probability for the product.
    • CloseDescription; string; The close reason description of the subscription product.
    • ClosedDate; string; The date on which the product was closed.
    • CoverageName; string; The name of the coverage.
    • CoverageScheduleId; integer; The coverage schedule.
    • CustomerTrxTypeSequenceId; integer; The customer transaction type sequence ID of the subscription product.
    • DefinitionOrganizationId; integer; The item master organization.
    • DocumentTypeId; integer; The unique identifier of a source document type in Oracle Revenue Management Cloud.
    • DropAllowanceFlag; string; Indicates whether allowances alone are dropped for a subscription product.
    • EarlyTerminationPenaltyName; string; The early termination penalty name.
    • EnablePricingTermsFlag; boolean; Indicates whether the pricing terms are enabled or not.
    • EndDate; string; The end date of the product.
    • EntitlementPlanId; integer; The ID of the entitlement plan associated with the product.
    • EntitlementPlanNumber; string; The number of the entitlement plan associated with the product.
    • EntitlementType; string; The type of the entitlement associated with the product.
    • ExternalAssetKey; string; The external asset key.
    • ExternalParentAssetKey; string; The external parent asset key.
    • ExternalPriceListId; string; The unique identifier of the external price list of the product.
    • ExternalRootAssetKey; string; The external root asset key of the product.
    • InterfaceOffsetDays; integer; The number of offset days set by the interface.
    • InventoryItemId; integer; The unique identifier of the inventory item.
    • InvoicingRuleId; integer; The unique identifier of the invoicing rule.
    • LastUpdateDate; string; The date when the product was last updated.
    • LineNumber; string; The line number.
    • OrderFulfillLineId; integer; The ID of the sales order fulfillment line associated with the subscription product.
    • OrderFulfillLineNumber; integer; The number of the sales order fulfillment line associated with the subscription product.
    • OverrideCreditAmount; number; The override credit amount of the subscription product.
    • PaymentTermsId; integer; The unique identifier of the payment terms.
    • PenaltyChargeName; string; The penalty charge name.
    • PmProgramId; integer; The identifier of the preventive maintenance program.
    • PriceListId; integer; The unique identifier of the price list.
    • PricingTermsPricingMethod; string; The pricing terms pricing method of the product.
    • PrimaryPartyId; integer; The primary party ID of the subscription product.
    • ProductName; string; The name of the product.
    • RatePlanDocumentId; integer; The identifier of the rate plan document.
    • RatePlanId; integer; The identifier of the rate plan.
    • RenewPerpetuallyFlag; boolean; Indicates whether the subscription product should be renewed forever.
    • RenewalDurationPeriod; string; The code of the subscription product level renewal duration period override that will be used while renewing through automatic or manual renewal.
    • RenewedDate; string; The date on which the product was renewed.
    • RequestedAlignBillingDate; string; The requested align billing date for the product.
    • RequestedEntitlementPlanId; integer; The ID of the requested entitlement plan associated with the product.
    • RequestedProgramId; integer; The unique identifier of the requested preventive maintenance program.
    • RevenueOption; string; Revenue Option
    • SalesOrderId; integer; The ID of the sales order associated with the subscription product.
    • SalesOrderLineNumber; string; Sales Order Line Number
    • SalesOrderNumber; string; The number of the sales order associated with the subscription product.
    • SalesProductType; string; The sales product type.
    • ShipToAccountId; integer; The ship-to account ID of the subscription product.
    • ShipToContactId; integer; The ship-to contact ID of the subscription product.
    • ShipToPartyId; integer; The unique identifier of the ship-to party.
    • ShipToPartyNumber; string; The ship-to party number of the subscription product.
    • ShipToPartySiteId; integer; The unique identifier of the ship-to party site.
    • StartDate; string; The start date of the product.
    • Status; string; The subscription product status.
    • StatusMeaning; string; The status meaning of the product.
    • SubscriptionId; integer; The unique identifier of the subscription.
    • SubscriptionNumber; string; The subscription number.
    • SubscriptionProductId; integer; The unique identifier of the subscription product.
    • SubscriptionProductPuid; string; The subscription product PUID.
    • SummarizedBillingFlag; boolean; Indicates if the product uses summarized billing.
    • TcvWithTotalUsageCharge; number; Tcv With Total Usage Charge
    • TotalContractValue; number; The total contract value.
    • TotalUsageCharge; number; Total Usage Charge
    • WarehouseId; integer; The warehouse ID associated with the subscription product.
  • The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : subscriptions-products
Type: object
Show Source
Nested Schema : Items
Type: array
Title: Items
The items in the collection.
Show Source
Nested Schema : subscriptions-products-item-response
Type: object
Show Source
Nested Schema : Associated Assets
Type: array
Title: Associated Assets
The associated assets resource is used to view, create, update, and delete the assets linked to a subscription product of subscription type.
Show Source
Nested Schema : Bill Lines
Type: array
Title: Bill Lines
The bill lines resource is used to view, create, update, and delete the subscription bill line details.
Show Source
Nested Schema : Charges
Type: array
Title: Charges
The charges resource is used to view, create, update, and delete the charges for a subscription.
Show Source
Nested Schema : Covered Levels
Type: array
Title: Covered Levels
The covered levels resource is used to view, create, update, and delete the subscription covered levels.
Show Source
Nested Schema : Credit Cards
Type: array
Title: Credit Cards
The credit cards resource is used to view, create, and update the credit card information associated with a subscription.
Show Source
Nested Schema : Descriptive Flexfields
Type: array
Title: Descriptive Flexfields
The descriptive flexfields resource is used to view, create, update, and delete a descriptive flexfield.
Show Source
Nested Schema : Subscription Entitlement Plan Commitments
Type: array
Title: Subscription Entitlement Plan Commitments
The subscription entitlement plan commitments resource is used to create a negotiated entitlement plan based on commitments. These records can be created only for those balance codes which have the commitments flag enabled.
Show Source
Nested Schema : Subscription Entitlement Plan Details
Type: array
Title: Subscription Entitlement Plan Details
The subscription entitlement plan details resource is used to view, create, update, and delete an entitlement plan detail.
Show Source
Nested Schema : Subscription Entitlement Plan Estimates
Type: array
Title: Subscription Entitlement Plan Estimates
The subscription entitlement plan estimates resource is used to create a negotiated entitlement plan based on estimates. These records can be created only for those balance codes which have the estimates flag enabled.
Show Source
Nested Schema : Relationships
Type: array
Title: Relationships
The relationships resource is used to view, create, update, and delete the subscription product relationships.
Show Source
Nested Schema : Sales Credits
Type: array
Title: Sales Credits
The sales credits resource is used to view, create, update, and delete the sales credits defined for subscription or subscription products.
Show Source
Nested Schema : Service Resources
Type: array
Title: Service Resources
The service resources resource is used to view, create, update, and delete the service identifier for a subscription product.
Show Source
Nested Schema : subscriptions-products-associatedAsset-item-response
Type: object
Show Source
Nested Schema : subscriptions-products-billLines-item-response
Type: object
Show Source
Nested Schema : Bill Adjustments
Type: array
Title: Bill Adjustments
The bill adjustments resource is used to view, create, update, and delete the subscription bill adjustment details.
Show Source
Nested Schema : subscriptions-products-billLines-billAdjustments-item-response
Type: object
Show Source
Nested Schema : subscriptions-products-charges-item-response
Type: object
Show Source
Nested Schema : Adjustments
Type: array
Title: Adjustments
The adjustments resource is used to view, create, update, and delete any adjustments to the subscription charge.
Show Source
Nested Schema : Charge Milestone Events
Type: array
Title: Charge Milestone Events
The charge milestone events resource is used to view, create, update, and delete the milestone events associated with a charge of a subscription.
Show Source
Nested Schema : Charge Tiers
Type: array
Title: Charge Tiers
The charge tiers resource is used to view, create, update, and delete the subscription charge tier details for a subscription.
Show Source
Nested Schema : subscriptions-products-charges-adjustments-item-response
Type: object
Show Source
Nested Schema : subscriptions-products-charges-chargeMilestoneEvents-item-response
Type: object
Show Source
Nested Schema : subscriptions-products-charges-chargeTiers-item-response
Type: object
Show Source
Nested Schema : subscriptions-products-coveredLevels-item-response
Type: object
Show Source
Nested Schema : Bill Lines
Type: array
Title: Bill Lines
The bill lines resource is used to view, create, update, and delete the subscription bill line details.
Show Source
Nested Schema : Charges
Type: array
Title: Charges
The charges resource is used to view, create, update, and delete the charges for a subscription.
Show Source
Nested Schema : Child Covered Levels
Type: array
Title: Child Covered Levels
The child covered levels resource is used to view, create, update, and delete the subscription child covered levels.
Show Source
Nested Schema : Relationships
Type: array
Title: Relationships
The relationships resource is used to view, create, update, and delete the subscription product relationships.
Show Source
Nested Schema : subscriptions-products-coveredLevels-billLines-item-response
Type: object
Show Source
Nested Schema : Bill Adjustments
Type: array
Title: Bill Adjustments
The bill adjustments resource is used to view, create, update, and delete the subscription bill adjustment details.
Show Source
Nested Schema : subscriptions-products-coveredLevels-billLines-billAdjustments-item-response
Type: object
Show Source
Nested Schema : subscriptions-products-coveredLevels-charges-item-response
Type: object
Show Source
Nested Schema : Adjustments
Type: array
Title: Adjustments
The adjustments resource is used to view, create, update, and delete any adjustments to the subscription charge.
Show Source
Nested Schema : Charge Milestone Events
Type: array
Title: Charge Milestone Events
The charge milestone events resource is used to view, create, update, and delete the milestone events associated with a charge of a subscription.
Show Source
Nested Schema : Charge Tiers
Type: array
Title: Charge Tiers
The charge tiers resource is used to view, create, update, and delete the subscription charge tier details for a subscription.
Show Source
Nested Schema : subscriptions-products-coveredLevels-charges-adjustments-item-response
Type: object
Show Source
Nested Schema : subscriptions-products-coveredLevels-charges-chargeMilestoneEvents-item-response
Type: object
Show Source
Nested Schema : subscriptions-products-coveredLevels-charges-chargeTiers-item-response
Type: object
Show Source
Nested Schema : subscriptions-products-coveredLevels-childCoveredLevels-item-response
Type: object
Show Source
Nested Schema : subscriptions-products-coveredLevels-relationships-item-response
Type: object
Show Source
Nested Schema : subscriptions-products-creditCards-item-response
Type: object
Show Source
Nested Schema : subscriptions-products-flexFields-item-response
Type: object
Show Source
Nested Schema : subscriptions-products-negotiatedEntitlementPlanCommitments-item-response
Type: object
Show Source
Nested Schema : subscriptions-products-negotiatedEntitlementPlanDetails-item-response
Type: object
Show Source
Nested Schema : subscriptions-products-negotiatedEntitlementPlanEstimates-item-response
Type: object
Show Source
Nested Schema : subscriptions-products-relationships-item-response
Type: object
Show Source
Nested Schema : subscriptions-products-salesCredits-item-response
Type: object
Show Source
Nested Schema : subscriptions-products-serviceResources-item-response
Type: object
Show Source
Back to Top

Examples

The following example shows how to get all subscription products by submitting a GET request on the REST resource using cURL.

cURL Command

curl -u <username:password> \ -X GET https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/subscriptions/CDRM_1/child/products

Example of Response Body

The following example shows the contents of the response body in JSON format.

{
    "items": [
        {
            "SubscriptionProductId": 300100177254429,
            "SubscriptionId": 300100177254423,
            "LineNumber": "1",
            "SubscriptionProductPuid": "GP-5678-PRDT-1",
            "DefinitionOrganizationId": 204,
            "SubscriptionNumber": "GP-5678",
            "SalesProductType": "SUBSCRIPTION",
            "Description": "QP Item for SPT Subscription",
            "InventoryItemId": 300100012368232,
            "ItemUnitOfMeasure": "Ea",
            "ProductName": "QP_Item3",
            "Quantity": 1,
            "StartDate": "2019-01-01",
            "EndDate": "2019-12-25",
            "CloseReason": null,
            "CloseCreditMethod": null,
            "CancelReason": null,
            "ClosedDate": null,
            "CanceledDate": null,
            "RenewedDate": null,
            "PriceListId": null,
            "UnitPrice": null,
            "Status": "ORA_DRAFT",
            "Currency": "USD",
            "InvoicingRuleId": -2,
            "InvoicingRuleName": "Advance Invoice",
            "BillOnDay": null,
            "BillingOffsetDays": null,
            "BillingFrequency": "0zG",
            "BillingFrequencyName": "MONTH",
            "AccountingRuleId": 300100033038413,
            "AccountingRuleName": "3 Months, Deferred",
            "TransactionTypeName": "ORA_OSS_Invoice",
            "InvoiceText": "[$Item Name]: [$Charge Name] [$Bill from Date]-[$Bill to Date]",
            "BillToAccountId": 1001,
            "BillToAccountNumber": "1001",
            "BillToAccountDescription": "A T & T SOLUTIONS INC",
            "BillToSiteUseId": 1006,
            "BillToAddress": "32 Ave of the Americas,NEW YORK, NY 10013",
            "ShipToPartyId": null,
            "ShipToPartyName": null,
            "ShipToPartySiteId": null,
            "ShipToPartySiteName": null,
            "PaymentMethod": null,
            "PaymentMethodName": null,
            "PONumber": null,
            "WireNumber": null,
            "PaymentTermsId": 1064,
            "PaymentTermsName": "Immediate",
            "PrePaymentNumber": null,
            "TaxExemptionHandling": "S",
            "TaxExemptionHandlingName": "Standard",
            "ExemptCertificateNumber": null,
            "ExemptReason": null,
            "OutputTaxClassification": null,
            "ProductFiscClassification": null,
            "TaxError": null,
            "CoverageScheduleId": null,
            "RenewalType": "RENEW",
            "BillingDateCode": "ORA_PERIOD_START",
            "BillingDateName": "Period start",
            "TotalContractValue": null,
            "EstimatedTax": null,
            "PricingError": null,
            "PriceAsOf": "2019-06-04",
            "PriceTransactionOn": "2019-06-04",
            "InvoicedAmount": null,
            "CreditedAmount": null,
            "CanceledAmount": null,
            "ClosedAmount": null,
            "SourceSystem": null,
            "SourceKey": null,
            "SourceNumber": null,
            "SourceLineKey": null,
            "SourceLineNumber": null,
            "MonthlyRecurringRevenue": null,
            "Duration": 359,
            "Period": "DY",
            "GenerateBillingSchedule": null,
            "ExternalAssetKey": null,
            "ExternalParentAssetKey": null,
            "ExternalPriceListId": null,
            "ExternalRootAssetKey": null,
            "PriceListName": null,
            "NextPricingDate": null,
            "PricingTermsStartDate": null,
            "PricingTermsPricingMethod": null,
            "PricingTermsPeriod": null,
            "PricingTermsDuration": null,
            "PricingTermsAdjustmentPCT": null,
            "CorpCurrencyCode": "USD",
            "CurcyConvRateType": "Corporate",
            "AmendCreditMethod": null,
            "AmendCreditMethodName": null,
            "AmendDescription": null,
            "AmendEffectiveDate": null,
            "AmendReason": null,
            "AmendReasonName": null,
            "StatusMeaning": "Draft",
            "EnablePricingTermsFlag": null,
            "TaxClassificationMeaning": null,
            "CreatedBy": "CONMGR",
            "CreationDate": "2019-06-04T05:18:01+00:00",
            "LastUpdatedBy": "CONMGR",
            "LastUpdateDate": "2019-06-04T05:18:02.375+00:00",
            "LastUpdateLogin": "8A5689BEEA6839CBE05322EAF40A0656",
            "SummarizedBillingFlag": null,
            "InterfaceOffsetDays": null,
            "CoverageName": null,
            ...
    "count": 1,
    "hasMore": false,
    "limit": 25,
    "offset": 0,
    "links": [
              ...        
			      ]
}
Back to Top