Get all subscription profiles

get

/crmRestApi/resources/11.13.18.05/subscriptionProfiles

Request

Query Parameters
  • 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: Find a subscription profile by a subscription profile ID
      Finder Variables:
      • SubscriptionProfileId; integer; The unique identifier of the subscription profile.
  • 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.
    • 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.
    • 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.
    • CustomerAcceptance; string; The column determines if customer acceptance is required forsubscription renewal.
    • DefaultRevenueActionAmend; string; Default Revenue Action Amend
    • DefaultRevenueActionRenew; string; Default Revenue Action Renew
    • 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.
    • 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.
    • 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.
    • UsageInvoiceLayoutTemplate; string; The layout template used for usage invoicing.
    • WithholdProrationUsgYn; string; Withhold Proration Usg Yn
  • 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 : subscriptionProfiles
Type: object
Show Source
Nested Schema : Items
Type: array
Title: Items
The items in the collection.
Show Source
Nested Schema : subscriptionProfiles-item-response
Type: object
Show Source
Nested Schema : Attribute List
Type: object
Title: Attribute List
The list of items to be included in the coverage invoice.
Nested Schema : Attribute List
Type: object
Title: Attribute List
The text to be included in the subscription invoice.
Back to Top

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/subscriptionProfiles

Example 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",
  },
...
}
Back to Top