Get Subscription V4 Using GET
Retrieve a subscription by its ID.
Access Policy
Role | User Accounts | Service Accounts (Client Credentials Applications) |
---|---|---|
Organization Owner | ✔️ | ✔️ |
Billing Read-only | ✔️ | ✔️ |
subscriptionId
OK
{
"billingAccountId": "db36fc9b-6fde-4f10-8f32-2b2524a574fc",
"billingEngineSubscriptionId": "M123445678",
"lastUpdateDateTime": "2024-01-30T00:05:01.194Z",
"orgId": "485a55fc-b853-40ee-b869-a1b2988e509c",
"quantity": "500",
"serialNumber": "52331152-1-1",
"serviceDefinitionId": "d27a99af-f433-4427-a58a-acdc01c9e3f8",
"serviceEndDate": "2024-12-25",
"serviceStartDate": "2024-01-25",
"sku": "TBD",
"status": "ACTIVE",
"subscriptionId": "f9971a9e-de15-4abb-a732-a24bfa3378a6",
"subscriptionType": "PAID",
"v3BillingModel": "string",
"v3ChargeId": "VOD-HS",
"v3Datacenter": "A1",
"v3SubscriptionId": "f9971a9e-de15-4abb-a732-a24bfa3378a6",
"v3SubscriptionType": "string"
}
The billing account used, for compatibility only
Legacy only - if this is a migrated subscription from SAP then Mxxx number
Last time this subscription was updated in VCF
The subscribing org id
The quantity
The GTO serial number
The service definition ID that this subscription belongs to
End date, YYYY-MM-DD format. Date is in PST timezone
Start date, YYYY-MM-DD format. Date is in PST timezone
Item number/part number ordered in the ordering system
Status
The VCF backend subscription id
Subscription type
The billing model of the service definition id on the offer group
The legacy subscription charge id if applicable
The legacy subscription data center if applicable
If this is a migrated subscription then the older v3 subscription id
Legacy Subscription Type, current choice: COMMIT, ONDEMAND. For migrated v3 subscriptions only
The user is not authorized to use the API
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
The user is forbidden to use the API
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
Request error, see error code for details
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
The user has sent too many requests
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
Unexpected error
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
curl -H 'Authorization: <value>' https://{api_host}/csp/gateway/commerce/api/v4/subscriptions/{subscriptionId}