Check timeslots availability
Available in versions: 12.56 and later
Description
Checks if a timeslot can be allocated.
URL
/LoadTest/rest/domains/{domainName}/projects/{projectName}/timeslots/availabilities
Remarks
Body of the request should contain a timeslot description in xml format.
HTTP Method
PUT: Checks timeslot availability.
Request
Headers:
One of the following:
Content-Type: application/xml
Content-Type: application/json
Cookies:
Version 2020 (or later): LWSSO_COOKIE_KEY={LwssoCookie};
Versions earlier than 2020: LWSSO_COOKIE_KEY={LwssoCookie};QCSession={QCSessionCookie};
Request Body:
PUT: An XML or JSON describing the timeslot to be verified.
Fields that can be used in the request body for checking timeslot availability:
Element | Description |
---|---|
SearchDurationInHours | (Optional) Default value is 42 hours. |
Timeslot | The type of demands for timeslot creation. Can include:
|
Response
Headers:
One of:
Accept: application/xml
Accept: application/json
Cookies:
None
HTML Return Code:
One of the HTTP Return Codes
HTML Body:
The response body contains a list of conflicts that the timeslot could encounter during the selected search interval. If the list is empty, the timeslot can be allocated at any time within the search interval.
See Also