getService

get

/ccstore/v1/services/{id}

Get a particular service associated with a user.

Request

Supported Media Types
Path Parameters
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getService_response
Type: object
Show Source
Nested Schema : items
Type: array
The service object.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : currency
Type: object
The currency code.
Show Source
Nested Schema : discountAmount
Type: object
The discount amount.
Show Source
Nested Schema : parentAsset
Type: object
Parent asset information.
Show Source
Nested Schema : price
Type: object
The price.
Show Source
Nested Schema : recurringCharge
Type: object
The recurring charge.
Show Source
Nested Schema : rootAsset
Type: object
Root asset information.
Show Source
Nested Schema : status
Type: object
The status information.
Show Source
Nested Schema : usageNetAmount
Type: object
The usage information.
Show Source
Example Response (application/json)
{
    "rootDisplay":null,
    "deactivationDate":null,
    "rootAsset":{
        "assetId":null,
        "serviceId":null
    },
    "displayName":"Service 3",
    "discountAmount":{
        "currency":null,
        "value":null
    },
    "recurringChargeFrequency":null,
    "dateAdded":"2017-06-14T18:00:58.163Z",
    "assetId":"36489424",
    "price":{
        "currency":"USD",
        "value":30
    },
    "currency":{
        "currencyCode":"USD"
    },
    "usageNetAmount":{
        "currency":null,
        "value":null
    },
    "serviceId":"serv3",
    "skuId":"part3",
    "serviceAccountId":"vision",
    "quantity":1,
    "recurringChargeDuration":null,
    "discountPercent":null,
    "dateModified":"2017-06-14T18:00:58.163Z",
    "transactionDate":"2018-06-27T12:59:59Z",
    "usageUnitOfMeasure":null,
    "suspendDate":null,
    "parentDisplay":null,
    "attributes":null,
    "activationDate":null,
    "parentAsset":{
        "assetId":null,
        "serviceId":null
    },
    "resumeDate":null,
    "recurringCharge":{
        "currency":null,
        "value":null
    },
    "status":{
        "displayValue":null,
        "lookupCode":null,
        "id":null
    }
}

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