# OTA\_HotelResNotifRS

**PMS Response**:

* The PMS should respond to the `OTA_HotelResNotifRQ` message by returning an `OTA_HotelResNotifRS` message.
* **Exception**: If a REST level fault occurs while the PMS processes the request, a REST fault should be generated and returned. This indicates that the message does not meet the web service specifications. RG Bridge can receive and process REST faults.

**Validation**:

* If the PMS is not able to validate a message at the application level, it should still return an `OTA_HotelResNotifRS` message.

**Synchronous Communication**:

* Since synchronous communication mode is used, the PMS should be able to process the message and return either:
  * A confirmation number (success).
  * An error response (failure).

**Error Handling**:

* Response messages indicating failures should contain at least one error element.
* It is possible that more than one error element may be returned.

**Response indicating success**

```xml
<OTA_HotelResNotifRS  TimeStamp="2004-04-14T09:42:26"> 
 
<HotelReservations> 
 
<HotelReservation> 
 
<ResGlobalInfo> 
 
<HotelReservationIDs>  
<HotelReservationID ResID_Type="3" ResID_Value="123456789" /> 
 
<HotelReservationID ResID_Type="14" ResID_Value="chd23242342" 
/> 
 
</HotelReservationIDs> 
 
</ResGlobalInfo> 
 
</HotelReservation> 
 
</HotelReservations> 
 
<Success /> 
 
</OTA_HotelResNotifRS> 

```

**Response indicating failure**

```xml
<OTA_HotelResNotifRS EchoToken="RG1232" TimeStamp="2004-04-14T09:42:26"> 
 
<Errors> 
 
<Error Code="3001" Status="NotProcessed" 
 
ShortText="Invalid Rate" />  
</Errors> 
 
</OTA_HotelResNotifRS> 

```
