Operation Request - Reserve Operation Response - ReservationReport

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. Copyright © 2011 Open Geospatial Consortium 107 Table 52 – StatusReport usage for different state transitions of a Reserve request property namecardi nality Reserve Request State Transitions From Æ To Initial Æ Pending Initial Æ Accepted Initial Æ Rejected Pending Æ Accepted Pending Æ Rejected Pending Æ Rejected request expired task1 new identifier provided by service identifier previously provided by service estimatedTo C0..1 NA optional NA optional NA NA event code0..1 NA TaskReser ved NA TaskReser ved NA TaskingReq uestExpired percentCom pletion0..1 NA 1 procedure1 identifier of procedure for which Reserve request was made requestStatu s code1 Pending Accepted Rejected Accepted Rejected Rejected statusMessa ge0.. service may provide additional information to client in human readable form taskingPara meters0..1 NA taskStatus code0..1 NA Reserved NA Reserved NA NA updateTime 1 point in time when transition was made alternative0 .. may be provided by service StatusReport encoded as Reservation Report no yes no yes no no Applicable in Reserve Response yes yes yes no no no NA = not applicable Notes 1 only applicable to tasks that are being or have been executed

7.3.9.5 ReservationReport

The ReservationReport type is derived from the StatusReport type see clause 7.3.1.5 and therefore inherits all the properties contained in that type. ReservationReport does not restrict the content model of StatusReport. 108 Copyright © 2011 Open Geospatial Consortium Requirement http:www.opengis.netspecSPS2.0reqReserveResponseReservationReportdataType