Get all subscription profiles
get
/crmRestApi/resources/11.13.18.05/subscriptionProfiles
Request
Query Parameters
-
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 -
finder: string
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: Find a subscription profile by a subscription profile ID
Finder Variables:- SubscriptionProfileId; integer; The unique identifier of the subscription profile.
- PrimaryKey: Find a subscription profile by a subscription profile ID
-
limit: integer
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.
-
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 -
offset: integer
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.
-
onlyData: boolean
The resource item payload will be filtered in order to contain only data (no links section, for example).
-
orderBy: string
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
-
q: string
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.
- BillService; string; Indicates whether the subscription should be billed or not, or billed on renewal.
- BillingDateCode; string; The code representing the billing date. The values are Period Start, Period End, Day, and Offset.
- BillingFrequency; string; The billing frequency. The values are Month, Quarter, or Year.
- BillingOffsetDays; integer; The number of the billing date offset days.
- BillingSystem; string; The billing system. The values are Oracle Fusion or Third Party.
- CloseCreditMethod; string; The credit method used at the time of closing a subscription.
- CoverageInvoiceList; object; The list of items to be included in the coverage invoice.
- CoverageInvoiceText; string; The text to be included in the coverage invoice.
- CreateZeroCreditMemoFlag; boolean; Indicates whether if a zero-value credit memo is created, if the calculated credit memo amount is 0.
- CreatedBy; string; The user who created the record.
- CreationDate; string; The date when the record was created.
- CreditMemoOption; string; The type of credit memo user wants to issue. Valid values are On Invoice, On Account, Mixed.
- CreditType; string; Indicates the type of credit issued to the customer on close and amend.
- CustomerAcceptance; string; The column determines if customer acceptance is required forsubscription renewal.
- DefaultRevenueActionAmend; string; Default Revenue Action Amend
- DefaultRevenueActionRenew; string; Default Revenue Action Renew
- EnableAdvBipTemplateFlag; boolean; Indicates whether advanced BIP configuration for usage invoice templates is enabled or not.
- EnableProrateByDayYn; string; The indicator of whether the product should be billed using daily rates proration.
- HeaderNumberPrefix; string; The prefix used while autonumbering the subscription.
- HeaderNumberSuffix; string; The suffix used while autonumbering the subscription.
- HeaderNumberingMethod; string; The numbering method while using autonumbering the subscription.
- InterfaceOffsetDays; integer; The number of offset days.
- InternalApproval; string; The column determines if internal approval is required for subscription renewal.
- InvoiceAttachmentCategory; string; The category of the invoice attachment associated with the subscription profile.
- InvoiceAttachmentEntityName; string; The name of the invoice attachment entity associated with the subscription profile.
- InvoiceBipReportCode; string; A BIP report template type for invoice attachments.
- InvoicingRuleId; integer; The invoicing rule associated with the subscription.
- LastUpdateDate; string; The date when the record was last updated.
- LastUpdateLogin; string; The login of the user who last updated the record.
- LastUpdatedBy; string; The user who last updated the record.
- LayoutTemplate; string; The layout template that defines the formatting of the subscription information.
- LineAutonumberEnabledYn; string; Indicates if the line autonumber is enabled.
- NegotiationLanguage; string; The language in which the subscription negotiation and renewal information will be communicated.
- NumberingDeterminantType; string; The determinant type used while autonumbering the subscription.
- ObjectVersionNumber; integer; Used 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; The partial period start date.
- PartialPeriodType; string; The partial period type. The values are Fixed and Actual.
- PaymentTermsId; integer; The unique identifier of the payment terms.
- PaymentTermsName; string; Payment Terms Name
- PenaltyChargeName; string; The heading for the penalty charge.
- PreviewBipReportCode; string; The code of the BIP report template used for the subscription preview.
- PriceDuringBillingYn; string; Indicates whether the subscription is priced during the billing.
- PricingApplicationCode; string; The code associated with the pricing application.
- RevenueOptionAmend; string; Revenue Option Amend
- RevenueOptionBillAdjustment; string; Revenue Option Bill Adjustment
- RevenueOptionClose; string; Revenue Option Close
- RevenueOptionPricingTerm; string; Revenue Option Pricing term
- RevenueOptionRenew; string; Revenue Option Renew
- RevenuePeriodBillAdjustment; string; Revenue Period Bill Adjustment
- RevenuePeriodPricingTerm; string; Revenue Period Pricing Term
- SpecificDays; number; The number of date to offset the subscription.
- SubscriptionInvoiceList; object; The text to be included in the subscription invoice.
- SubscriptionInvoiceText; string; The text to be included in the subscription invoice.
- SubscriptionProfileDescription; string; The description of the subscription profile.
- SubscriptionProfileId; integer; The unqiue identifier of the subscription profile.
- SubscriptionProfileName; string; The name of the subscription profile.
- SubscriptionProfilePuid; string; Subscription Profile PUID
- TransactionTypeName; string; The name of the transaction type.
- TransactionTypeSequenceId; integer; The unqiue identifier of the transaction type sequence.
- UsageCapture; string; Identify if the Billing System is FUSION or THIRD PARTY.
- UsageEventAllowanceInvTemplate; string; A template to use for the usage events allowance rating model.
- UsageEventCommitmentInvTemplate; string; A template to use for the usage events commitment rating model.
- UsageEventEstimateInvTemplate; string; A template to use for the usage events estimate rating model.
- UsageEventRegularInvTemplate; string; A template to use for the regular usage events rating model.
- UsageInvoiceLayoutTemplate; string; The layout template used for usage invoicing.
- WithholdProrationUsgYn; string; Withhold Proration Usg Yn
-
totalResults: boolean
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
-
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
Type:
Show Source
object-
count(required): integer
The number of resource instances returned in the current range.
-
hasMore(required): boolean
Indicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false.
-
items: array
Items
Title:
ItemsThe items in the collection. -
limit(required): integer
The actual paging size used by the server.
-
links(required): array
Links
Title:
LinksThe link relations associated with the resource instance. -
offset(required): integer
The offset value used in the current page.
-
totalResults: integer
The estimated row count when "?totalResults=true", otherwise the count is not included.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested 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 all subscription profiles 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/subscriptionProfilesExample of Response Body
{
"items": [
{
"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",
},
...
}