Get a subscription profile
get
/crmRestApi/resources/11.13.18.05/subscriptionProfiles/{SubscriptionProfileId}
Request
Path Parameters
-
SubscriptionProfileId(required): integer(int64)
The unqiue identifier of the subscription profile.
Query Parameters
-
dependency: string
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> -
expand: string
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).
-
fields: string
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 -
links: string
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 -
onlyData: boolean
The resource item payload will be filtered in order to contain only data (no links section, for example).
Header Parameters
-
Metadata-Context: string
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".
-
REST-Framework-Version: string
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 TopResponse
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
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".
-
REST-Framework-Version:
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.
Root Schema : subscriptionProfiles-item-response
Type:
Show Source
object-
AccountingRuleId: integer
(int64)
Title:
Accounting RuleThe unique identifier of the accounting rule. -
AccountingRuleName: string
Title:
Accounting RuleAccounting Rule Name -
BillingDateCode: string
Title:
Billing DateMaximum Length:30The code representing the billing date. The values are Period Start, Period End, Day, and Offset. -
BillingFrequency: string
Title:
Billing FrequencyMaximum Length:30The billing frequency. The values are Month, Quarter, or Year. -
BillingOffsetDays: integer
(int64)
Title:
Day or OffsetThe number of the billing date offset days. -
BillingSystem: string
Title:
Billing SystemMaximum Length:30The billing system. The values are Oracle Fusion or Third Party. -
BillService: string
Title:
Bill ServiceMaximum Length:30Indicates whether the subscription should be billed or not, or billed on renewal. -
CloseCreditMethod: string
Title:
Close Credit MethodMaximum Length:30The credit method used at the time of closing a subscription. -
CoverageInvoiceList: object
Attribute List
Title:
Attribute ListThe list of items to be included in the coverage invoice. -
CoverageInvoiceText: string
Title:
Coverage Invoice TextMaximum Length:4000Default Value:[$Product Name]: [$Charge Name] [$Bill from Date]-[$Bill to Date]The text to be included in the coverage invoice. -
CreatedBy: string
Read Only:
trueMaximum Length:64The user who created the record. -
CreateZeroCreditMemoFlag: boolean
Title:
Create 0 value credit memo for closeMaximum Length:1Indicates whether if a zero-value credit memo is created, if the calculated credit memo amount is 0. -
CreationDate: string
(date-time)
Read Only:
trueThe date when the record was created. -
CreditMemoOption: string
Title:
Credit Memo OptionMaximum Length:30The type of credit memo user wants to issue. Valid values are On Invoice, On Account, Mixed. -
CreditType: string
Title:
Credit TypeMaximum Length:30Indicates the type of credit issued to the customer on close and amend. -
CustomerAcceptance: string
Maximum Length:
30The column determines if customer acceptance is required forsubscription renewal. -
DefaultRevenueActionAmend: string
Title:
Revenue Management Rule for AmendmentMaximum Length:30Default Revenue Action Amend -
DefaultRevenueActionRenew: string
Title:
Revenue Management Rule for RenewalMaximum Length:30Default Revenue Action Renew -
EnableAdvBipTemplateFlag: boolean
Title:
Enable advanced configurationMaximum Length:1Default Value:falseIndicates whether advanced BIP configuration for usage invoice templates is enabled or not. -
EnableProrateByDayYn: string
Title:
Prorate by dayMaximum Length:1The indicator of whether the product should be billed using daily rates proration. -
HeaderNumberingMethod: string
Title:
Numbering MethodMaximum Length:30Default Value:ORA_PUIDThe numbering method while using autonumbering the subscription. -
HeaderNumberPrefix: string
Title:
PrefixMaximum Length:10The prefix used while autonumbering the subscription. -
HeaderNumberSuffix: string
Title:
SuffixMaximum Length:10The suffix used while autonumbering the subscription. -
InterfaceOffsetDays: integer
(int32)
Title:
Billing Interface Offset DaysThe number of offset days. -
InternalApproval: string
Maximum Length:
30The column determines if internal approval is required for subscription renewal. -
InvoiceAttachmentCategory: string
Title:
Invoice Attachment CategoryMaximum Length:30The category of the invoice attachment associated with the subscription profile. -
InvoiceAttachmentEntityName: string
Title:
Attachment Available OnMaximum Length:30The name of the invoice attachment entity associated with the subscription profile. -
InvoiceBipReportCode: string
Title:
BIP Data SourceMaximum Length:30A BIP report template type for invoice attachments. -
InvoicingRuleId: integer
(int64)
Title:
Invoicing RuleThe invoicing rule associated with the subscription. -
LastUpdateDate: string
(date-time)
Read Only:
trueThe date when the record was last updated. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64The user who last updated the record. -
LastUpdateLogin: string
Read Only:
trueMaximum Length:32The login of the user who last updated the record. -
LayoutTemplate: string
Title:
Contract Layout TemplateMaximum Length:200The layout template that defines the formatting of the subscription information. -
LineAutonumberEnabledYn: string
Title:
Automate subscription line numberingMaximum Length:1Default Value:NIndicates if the line autonumber is enabled. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
NegotiationLanguage: string
Title:
LanguageMaximum Length:4The language in which the subscription negotiation and renewal information will be communicated. -
NumberingDeterminantType: string
Title:
Determinant TypeMaximum Length:30The determinant type used while autonumbering the subscription. -
ObjectVersionNumber: integer
(int32)
Read Only:
trueUsed to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. -
Offset: number
The offset associated with the subscription profile.
-
PartialPeriodStart: string
Title:
Period StartMaximum Length:30The partial period start date. -
PartialPeriodType: string
Title:
Period TypeMaximum Length:30The partial period type. The values are Fixed and Actual. -
PaymentTermsId: integer
(int64)
Title:
Payment TermsThe unique identifier of the payment terms. -
PaymentTermsName: string
Title:
Payment TermsPayment Terms Name -
PenaltyChargeName: string
Title:
Early Termination Fee NameMaximum Length:120The heading for the penalty charge. -
PreviewBipReportCode: string
Title:
BIP Data SourceMaximum Length:30The code of the BIP report template used for the subscription preview. -
PriceDuringBillingYn: string
Title:
Allow pricing during billingMaximum Length:1Default Value:NIndicates whether the subscription is priced during the billing. -
PricingApplicationCode: string
Maximum Length:
30Default Value:NULLThe code associated with the pricing application. -
RevenueOptionAmend: string
Title:
Accounting OptionMaximum Length:30Revenue Option Amend -
RevenueOptionBillAdjustment: string
Title:
Accounting OptionMaximum Length:30Revenue Option Bill Adjustment -
RevenueOptionClose: string
Title:
Accounting OptionMaximum Length:30Revenue Option Close -
RevenueOptionPricingTerm: string
Title:
Accounting OptionMaximum Length:30Revenue Option Pricing term -
RevenueOptionRenew: string
Title:
Accounting OptionMaximum Length:30Revenue Option Renew -
RevenuePeriodBillAdjustment: string
Title:
Effectivity PeriodsMaximum Length:30Revenue Period Bill Adjustment -
RevenuePeriodPricingTerm: string
Title:
Effectivity PeriodsMaximum Length:30Revenue Period Pricing Term -
SpecificDays: number
The number of date to offset the subscription.
-
SubscriptionInvoiceList: object
Attribute List
Title:
Attribute ListThe text to be included in the subscription invoice. -
SubscriptionInvoiceText: string
Title:
Invoice TextMaximum Length:4000Default Value:[$Product Name]: [$Charge Name] [$Bill from Date]-[$Bill to Date]The text to be included in the subscription invoice. -
SubscriptionProfileDescription: string
Title:
DescriptionMaximum Length:2000The description of the subscription profile. -
SubscriptionProfileId: integer
(int64)
Read Only:
trueThe unqiue identifier of the subscription profile. -
SubscriptionProfileName: string
Title:
NameMaximum Length:300The name of the subscription profile. -
SubscriptionProfilePuid: string
Title:
Subscription Profile PUIDMaximum Length:120Subscription Profile PUID -
TransactionTypeName: string
Title:
Transaction TypeMaximum Length:80The name of the transaction type. -
TransactionTypeSequenceId: integer
(int64)
Title:
Transaction TypeThe unqiue identifier of the transaction type sequence. -
UsageCapture: string
Title:
Usage Capture ModeMaximum Length:30Default Value:ORA_THIRD_PARTYIdentify if the Billing System is FUSION or THIRD PARTY. -
UsageEventAllowanceInvTemplate: string
Title:
AllowanceMaximum Length:200A template to use for the usage events allowance rating model. -
UsageEventCommitmentInvTemplate: string
Title:
CommitmentMaximum Length:200A template to use for the usage events commitment rating model. -
UsageEventEstimateInvTemplate: string
Title:
EstimateMaximum Length:200A template to use for the usage events estimate rating model. -
UsageEventRegularInvTemplate: string
Title:
BasicMaximum Length:200A template to use for the regular usage events rating model. -
UsageInvoiceLayoutTemplate: string
Title:
BIP TemplateMaximum Length:200The layout template used for usage invoicing. -
WithholdProrationUsgYn: string
Title:
Withhold proration of usage chargesMaximum Length:1Withhold Proration Usg Yn
Nested Schema : Attribute List
Type:
objectTitle:
Attribute ListThe list of items to be included in the coverage invoice.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Attribute List
Type:
objectTitle:
Attribute ListThe text to be included in the subscription invoice.
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Examples
The following example shows how to get a subscription profile by submitting a GET request on the REST resource using cURL.
cURL Command
curl --user
sales_cloud_user https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/subscriptionProfiles/300100181512584Example of Response Body
{
"SubscriptionProfileId": 300100181512584,
"SubscriptionProfileName": "zOSS_PM_ALMMeters_NO_UsageCapture",
"SubscriptionProfileDescription": "zOSS_PM_ALMMeters_NO_UsageCapture",
"BillService": "ORA_BILL",
"InvoicingRuleId": -2,
"BillingFrequency": "0zG",
"BillingDateCode": "ORA_PERIOD_START",
"BillingOffsetDays": null,
"AccountingRuleId": 300100033038414,
"PaymentTermsId": 4,
"PartialPeriodType": "ORA_ACTUAL",
"PartialPeriodStart": "ORA_SERVICE",
"CloseCreditMethod": "ORA_PRORATE_WITH_CREDIT",
"SubscriptionInvoiceText": "[$Product Name]: [$Charge Name] [$Bill from Date]-[$Bill to Date]",
"TransactionTypeSequenceId": 34,
"TransactionTypeName": "Invoice",
"ObjectVersionNumber": 1,
"CreatedBy": "CONMGR",
"CreationDate": "2019-08-30T07:26:30+00:00",
"LastUpdatedBy": "CONMGR",
"LastUpdateDate": "2019-08-30T07:27:26.433+00:00",
"LastUpdateLogin": "910A52A0131B9F95E053A15AF00A0D49",
"PricingApplicationCode": "NULL",
"PriceDuringBillingYn": "N",
"CustomerAcceptance": null,
"InternalApproval": null,
"Offset": null,
"SpecificDays": null,
"LayoutTemplate": null,
"NegotiationLanguage": null,
"CoverageInvoiceText": "[$Product Name]: [$Charge Name] [$Bill from Date]-[$Bill to Date]",
"InterfaceOffsetDays": null,
"BillingSystem": "ORA_OSS_FUSION",
"UsageCapture": "ORA_THIRD_PARTY",
"PenaltyChargeName": null,
"LineAutonumberEnabledYn": "N",
...
}