aftonApi Query Engine
Given a time range and a ResourceTypeCode, return Resources that are available during this time range. Resource allocation strategy rules applied.
Overview
Method POST
Url /qe/000002
Response Qe000002Out
Request Body Info
Format JSON
DTO Qe000002In
Request Body Properties
Property Name Data Type Req/Opt Description
reqTimeZone String Required The timezone to use for all returned result dates.
resourceTypeCode String Required The resourceTypeCode for the resources you are querying for.
resourceAllocationStrategy int Optional The resource allocation strategy to use when allocating resources. Null defaults to 0. The default resource allocation strategy (i.e 0) is pecking order.
fromDate aftonApi Date Required The starting aftonApi Date of the TimeSpan.
thruDate aftonApi Date Required The ending aftonApi Date of the TimeSpan.
maxResources int Required The maximum number of resources to return. No default value. Must be specified. Specify a 1 if you're just looking for the first available resource.
Response Body Properties

See BaseResponse. The following properties are found in the data (getData()) property of the BaseResponse.

Property Name Data Type Description
resources Array of ResourceEPQQuery List of Resources that satisfy the query criteria.