Get a subscription product

get

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

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
  • 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
  • The resource item payload will be filtered in order to contain only data (no links section, for example).
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-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 a subscription product 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/{SubscriptionNumber}/child/products/{SubscriptionProductPuid}

Example of Response Body

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

{
    "SubscriptionProductId": 300100206396387,
    "SubscriptionId": 300100202580530,
    "LineNumber": "RCL_Product",
    "SubscriptionProductPuid": "CDRM_10004-PRDT-9010",
    "DefinitionOrganizationId": 204,
    "SubscriptionNumber": "CDRM_10004",
    "SalesProductType": "COVERAGE",
    "Description": "Dell Extend Warranty Online",
    "InventoryItemId": 300100178580531,
    "ItemUnitOfMeasure": "0zE",
    "ProductName": "Dell Extend Warranty Online",
    "Quantity": 1,
    "StartDate": "2020-02-24",
    "EndDate": "2040-02-23",
    "CloseReason": null,
    "CloseCreditMethod": null,
    "CancelReason": null,
    "ClosedDate": null,
    "CanceledDate": null,
    "RenewedDate": null,
    "PriceListId": null,
    "UnitPrice": null,
    "Status": "ORA_ACTIVE",
    "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": null,
    "BillToAccountId": 300100169483889,
    "BillToAccountNumber": "CDRM_168203",
    "BillToAccountDescription": "FSACCOUNT",
    "BillToSiteUseId": 300100177473270,
    "BillToAddress": "1111 14th st,DENVER, CO 80202",
    "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": "VAT20",
    "ProductFiscClassification": null,
    "TaxError": null,
    "CoverageScheduleId": 300100206396427,
    "RenewalType": "RENEW",
    "BillingDateCode": "ORA_PERIOD_START",
    "BillingDateName": "Period start",
    "TotalContractValue": 73260,
    "EstimatedTax": 18480,
    "PricingError": null,
    "PriceAsOf": "2020-04-17",
    "PriceTransactionOn": "2020-04-17",
    "InvoicedAmount": 0,
    "CreditedAmount": 0,
    "CanceledAmount": 0,
    "ClosedAmount": 19140,
    "SourceSystem": null,
    "SourceKey": null,
    "SourceNumber": null,
    "SourceLineKey": null,
    "SourceLineNumber": null,
    "MonthlyRecurringRevenue": 305.25,
    "Duration": 20,
    "Period": "0zE",
    "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": "Active",
    "EnablePricingTermsFlag": null,
    "NextBillStartDate": null,
    "TaxClassificationMeaning": null,
    "CreatedBy": "SCMOPERATIONS",
    "CreationDate": "2020-04-17T20:59:34.906+00:00",
    "LastUpdatedBy": "CONMGR",
    "LastUpdateDate": "2020-04-27T14:53:26.292+00:00",
    "LastUpdateLogin": "A361F467BF81768AE0533CFDF40A8006",
    "SummarizedBillingFlag": null,
    "InterfaceOffsetDays": null,
    "CoverageName": "RCL_Subscription_Coverage",
    "SuspendReason": null,
    "SuspendedDate": null,
    "SuspendCreditMethod": null,
    "ResumeDate": null,
    "ResumeDuration": null,
    "ResumePeriod": null,
    "AutoExtendFlag": null,
    "ChurnProbability": null,
    "EarlyTerminationPenalty": null,
    "EarlyTerminationFee": null,
    "GracePeriod": null,
    "PenaltyValue": null,
    "PenaltyChargeName": "Penalty Fee",
    "EarlyTerminationPenaltyName": null,
    "ChurnPredictionTrend": null,
    "PriceAdjustmentType": null,
    "PriceAdjustmentBasis": null,
    "PriceAdjustmentPercent": null,
    "DisplaySequence": null,
    "RelatedInventoryItemId": null,
    "RelatedProductName": null,
    "ProductChangeReason": null,
    "ProductChangeSchedule": null,
    "ProductChangeScheduleFrom": null,
    "DropOneTimeChargeFlag": null,
    "RelatedProductDescription": null,
    "GenerateBillFullPeriodFlag": null,
    "RenewalPaymentMethod": null,
    "RenewalPoNumber": null,
    "RenewalWireNumber": null,
    "RenewalPaymentMethodName": null,
    "CustomerTrxTypeSequenceId": null,
    "RepriceFlag": null,
    "AlignBillingFrom": null,
    "PendingActivationFlag": null,
    "RatePlanDocumentId": null,
    "RatePlanId": null,
    "RatePlanNumber": null,
    "RatePlanName": null,
    "BillToSiteNumber": null,
    "ShipToPartyNumber": null,
    "ShipToPartySiteNumber": null,
    "SalesOrderId": null,
    "SalesOrderNumber": null,
    "OrderFulfillLineId": null,
    "OrderFulfillLineNumber": null,
    "EnableUpfrontBillingFlag": null,
...
}
Back to Top