Update Reservation | Legacy

Restriction: This API endpoint is not supported in the Free Trial cloud.

Updates a specific device reservation. The reservation is indicated by the <reservationID> provided when the reservation was created.

URL

Copy
https://<your-cloud>.perfectomobile.com/services/reservations/<reservationID>?operation=update&securityToken=value

Method

POST

Request parameters

Existing parameter values override the current value. Values for undefined parameters will not be changed.

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 update reservations for users in their group.
note: not available on shared MCM.
startTime   long
The reservation start time, measured in milliseconds, from midnight, January 1, 1970 UTC. 
endTime   long
The reservation end time, measured in milliseconds, from midnight, January 1, 1970 UTC. 
reservedTo   string
The user the device is reserved to. 
description   string
The reservation description (free text). 
responseFormat string json The format to use for the response. json, xml

* Mandatory parameter

Use this Timestamp converter to create the required time stamp for the new startTime and endTime values.

Response

Name Description
status success if the operation completed successfully; otherwise failure.