Get Reservation Info | Legacy
Restriction: This API endpoint is not supported in the Free Trial cloud.
Gets the reservation information by reservation id.
The reservedTo and reservedBy values in the response included only to reservation administrator users with the admin parameter set true. Non-administrator users will get these values only for themselves.
URL |
Copy
|
Method |
|
Parameters
Name | Type | Default | Description |
---|---|---|---|
securityToken* | string |
|
A unique cryptographic key assigned to an authorized user. |
admin | boolean | false | true to allow users with administrative credentials to get reservation info for users in their group. note: not available on shared MCM. |
responseFormat | string | json | The format to use for the response. JSON, XML |
* Mandatory parameter
Response
The standard ISO format used in the response is : [YYYY]-[MM]-[DD]T[hh]:[mm]:[ss]
Copy
JSON response
{
"info":{
"creationTime":{
"formatted":"2016-12-04T12:23:18Z",
"millis":"1480854198912" },
"modelVersion":"2.6.0.0",
"productVersion":"master",
"time":"2016-12-04T12:23:18Z" },
"reservation":{
"id":"87640",
"resourceId":"2ACB96B8",
"reservedTo":"userid",
"startTime":{
"formatted":"2016-12-04T12:00:55Z",
"millis":"1480852855000" },
"endTime":{
"formatted":"2016-12-04T14:50:55Z",
"millis":"1480863055000" },
"reservedBy":"userid",
"status":"STARTED",
"created":{
"formatted":"2016-12-04T11:51:25Z",
"millis":"1480852285588" },
"lastModified":{
"formatted":"1970-01-01T00:00:00Z",
"millis":"0" }
}
}