Reserving a License Before Request Submission
This section describes the App Broker REST API endpoint to post a license reservation for a catalog item with an ID of 18.
Endpoint Example (Input)
URI Example:
[POST] http://localhost/esd/api/catalogs/18/licenses?dn=FLEX&un=JohnDoe&dev=WIN-7X64
Request Body Example:
{
"uniqueUserName":"FLEX\\JaneDoe",
"machineName":"WIN-10x64"
}
The result of posting a license reservation is receiving a reservation ID. This reservation ID should be provided in the JSON payload when submitting a request to avoid duplicate reservation.
Response Body Example (Output)
1