Query plan purchase request
This GET
operation queries a plan purchase request by passing the transactionId
in the URL. If successful, you receive an HTTP response code of 200
as well as a JSON
response body containing the plan purchase request information.
See HTTP response codes for other response codes. |
GET /pcc/spcm/transaction/<transactionId>
HEADER INFO
tenant: <tenantName>
authorisation: HTTP Basic Auth
accept: application/vnd.com.tango.pcc.v2+json
permissions: SPCM_PLAN_TRANSACTION_READ_PERMISSION
URL parameters
There is one mandatory parameter.
Parameter | Type | Description |
---|---|---|
|
string |
The unique identifier for the transaction. |
JSON response
The following example response shows the expected response from passing a recognised transactionId
in the URL.
{
"transactionId": "4190706251458650481450266",
"planState": "purchased",
"planTxnState": "complete",
"planID": "123456"
}
HTTP response codes
Code | Description | ||||
---|---|---|---|---|---|
|
success! |
||||
|
Multistatus response
|
||||
|
malformed request |
||||
|
unauthorised; bad username or password |
||||
|
forbidden; user does not have appropriate privileges |
||||
|
transaction not found |
||||
|
conflict with target resource
|
||||
|
failed validation; this typically means that a property was not set or a value is out of range. example
|
||||
|
failed processing (after passing validation). example
|
||||
|
internal error example
|
||||
|
request rejected due to overload |