Create a covered level

post

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

Request

Path Parameters
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.
  • Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
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-post-request
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-post-request
Type: object
Show Source
Nested Schema : subscriptions-products-coveredLevels-charges-item-post-request
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-post-request
Type: object
Show Source
Nested Schema : subscriptions-products-coveredLevels-charges-chargeMilestoneEvents-item-post-request
Type: object
Show Source
Nested Schema : subscriptions-products-coveredLevels-charges-chargeTiers-item-post-request
Type: object
Show Source
Nested Schema : subscriptions-products-coveredLevels-childCoveredLevels-item-post-request
Type: object
Show Source
Nested Schema : subscriptions-products-coveredLevels-relationships-item-post-request
Type: object
Show Source
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-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
Back to Top

Examples

The following example shows how to create a covered level by submitting a POST request on the REST resource using cURL.

cURL Command

curl -u <username:password> \ -X POST -d @example_request_payload.json https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/subscriptions/GP-5678/child/products/GP-5678-PRDT-7/child/coveredLevels

Example of Request Body

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

{
    "CoveredLevelPuid": "GP-5678-PRDT-7-PASS-1",
    "LineNumber": "1",
    "InventoryItemId": 300100118490672,
    "AssetId": 300100118585763,
    "AssetName": "zOKC_Auto_Asset1",
    "ProductName": "ZOKC_Item_001",
    "Description": "Item",
    "Type": "ORA_ASSET",
    "Quantity": 1,
    "ItemUnitOfMeasure": "Ea",
    "TotalContractValue": 12361.29,
    "EndDate": "2019-12-25",
    "StartDate": "2019-01-01",
    "PriceAsOf": "2019-01-01",
    "PriceUnitOfMeasure": "0zE"
}

Example of Response Body

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

{
    "CoveredLevelId": 300100177254431,
    "CoveredLevelPuid": "GP-5678-PRDT-7-PASS-1",
    "SubscriptionProductId": 300100177231547,
    "SubscriptionId": 300100177254423,
    "LineNumber": "1",
    "InventoryItemId": 300100118490672,
    "AssetId": 300100118585763,
    "AssetName": "zOKC_Auto_Asset1",
    "AssetSerialNumber": null,
    "ProductName": "ZOKC_Item_001",
    "Description": "Item",
    "Type": "ORA_ASSET",
    "TypeName": "Asset",
    "Quantity": 1,
    "ItemUnitOfMeasure": "Ea",
    "TotalContractValue": 12361.29,
    "GenerateBillingSchedule": null,
    "EndDate": "2019-12-25",
    "StartDate": "2019-01-01",
    "Duration": 359,
    "Period": "DY",
    "Status": "ORA_DRAFT",
    "StatusName": "Draft",
    "PriceAsOf": "2019-01-01",
    "PriceUnitOfMeasure": "0zE",
    "PriceUnitOfMeasureName": "YEAR",
    "PriceListId": null,
    "PricingError": null,
    "TaxAmount": null,
    "InvoiceText": null,
    "CancelReason": null,
    "CanceledDate": null,
    "CanceledAmount": null,
    "ClosedDate": null,
    "CloseReason": null,
    "ClosedAmount": null,
    "ReturnCreditMethod": null,
    "SuppressedCreditAmount": null,
    "InvoicedAmount": null,
    "CreditedAmount": null,
    "RenewedDate": null,
    "RenewalType": null,
    "TaxError": null,
    "CreatedBy": "CONMGR",
    "CreationDate": "2019-06-04T18:08:34+00:00",
    "LastUpdatedBy": "CONMGR",
    "LastUpdateDate": "2019-06-04T18:08:38.099+00:00",
    "LastUpdateLogin": "8A5689AE12D939D9E05322EAF40A63A4",
    "CurrencyCode": null,
    "CorpCurrencyCode": null,
    "CurcyConvRateType": null,
    "PutOnHoldFlag": null,
    "RemoveHoldFlag": null,
    ...
}
Back to Top