terminateService

post

/ccstore/v1/services/{id}/terminate

Renew a service associated with a user.

Request

Supported Media Types
Path Parameters
Header Parameters
Body ()
Root Schema : action_request
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : action_response
Type: object
Show Source
Nested Schema : configuratorItem
Type: object
The configured item
Show Source
Nested Schema : childItems
Type: array
Show Source
Nested Schema : externalData
Type: array
Information about the configured item.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : values
Type: object
The externalData values.
Show Source
Example Response (application/json)
{
    "configuratorItem":{
        "serviceAccountId":"",
        "deactivationDate":"",
        "amount":"",
        "quantity":0,
        "externalRecurringCharge":"",
        "billingProfileId":"billingProfile-123",
        "externalData":[
            {
                "values":{
                    "displayValue":"",
                    "name":"",
                    "label":""
                },
                "name":""
            }
        ],
        "billingAccountId":"",
        "externalRecurringChargeFrequency":"",
        "childItems":[
            "#/configuratorItem"
        ],
        "transactionDate":"2018-06-27T12:59:59Z",
        "catalogRefId":"",
        "configuratorId":"",
        "externalRecurringChargeDuration":"",
        "externalPrice":"",
        "customerAccountId":"",
        "assetId":"",
        "actionCode":"",
        "serviceId":"",
        "activationDate":""
    }
}

Default Response

The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |551000|Could not get customers profile.| |551001|Customer has no service account.| |551002|Error retrieving customers service account.| |551003|Error retrieving account assets.| |551004|Error validating contact account ids in Order. |551005|Invalid account asset id. |551006|Account asset authorization error. |551007|Owner of the account asset could not be determined. |551008|Error submitting action request. |551009|Invalid transactionDate.
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top