Introduction Data Types Reserve Operation

104 Co Figure 27 — Data types of the Reserve operation The details of the operation request and response are explained in the following subclauses. pyright © 2011 Open Geospatial Consortium Copyright © 2011 Open Geospatial Consortium 105

7.3.9.3 Operation Request - Reserve

Sending an instance of the Reserve data type to the service performs an SPS Reserve operation request. The Reserve data type is derived from the abstract TaskingRequest data type see clause 7.3.1.3 and therefore inherits all the properties contained in that data type. Reserve does not restrict the content model of TaskingRequest. Requirement http:www.opengis.netspecSPS2.0reqReserveRequestdataType REQ 81. The Reserve data type shall contain the properties defined for TaskingRequest . In addition, it shall contain the properties according to Table 51. Table 51 — Property in the Reserve data type Name Definition Data type and values Multiplicity and use reservation Expiration point in time when the reservation shall expire DateTime see ISO 19103 and OGC 07-036 Table D.2 value shall be a point in time in the future Zero or one optional Requirement http:www.opengis.netspecSPS2.0reqReserveRequesttiming REQ 82. The Reserve data type is a TaskingRequest. If the client defines a reservationExpiration time and this time has already passed when the SPS receives the request, then the SPS shall reject the request.

7.3.9.4 Operation Response - ReservationReport

The ReserveResponse data type represents the response to an SPS Reserve operation request. It is derived from the TaskingResponse data type see clause 7.3.1.4 and therefore inherits all the properties contained in that data type. ReserveResponse neither restricts the content model of TaskingResponse nor adds additional properties. 106 Copyright © 2011 Open Geospatial Consortium Requirement http:www.opengis.netspecSPS2.0reqReserveResponsedataType REQ 83. The ReserveResponse data type shall contain the properties defined for TaskingResponse. A ReserveResponse contains either a ReservationReport or a StatusReport to indicate the result of the requested operation. The concrete report type depends on the status of the request. The only difference between both report types is the additional expirationTime property of the ReservationReport. Requirement http:www.opengis.netspecSPS2.0reqReserveResponseReportType REQ 84. A ReservationReport shall be returned if the request gets accepted. In all other cases, a StatusReport shall be returned. As a Reserve request is a tasking request, the final result of that request might not be directly available and would then be pending. Requirement http:www.opengis.netspecSPS2.0reqReserveResponseReportProperties REQ 85. The properties of the ReservationReport or StatusReport shall be used as defined in the Table 52. The transitions starting from the Pending state are not applicable for reporting in the ReserveResponse, as the ReserveResponse provides only information about the first state transition, i.e. from initial to accepted, pending, or rejected. Clients retrieve further state transitions via notifications or GetStatus operation calls.