You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Modify a specific reservation. For more details about the modification process, please read <ahref="./v4.hotel-modify-booking.html">Hotel modify support for CHS</a></p>
<p>In the case of a request timed out, SAP Concur will start a recovery process, in wich SAP Concur will try to confirm the status of the booking.
1318
+
Also if the supplier identifies that the modification cannot be confirmed in a timely manner, it can return a <codeclass="language-plaintext highlighter-rouge">PENDING_CONFIRMATION</code> status in the response to the <ahref="./v4.endpoints.html#modify-">modify</a> request. In this case SAP Concur will also start a recovery process to confirm the status of the booking.</p>
1319
+
1320
+
<p>In the process of recovery, SAP Concur will invoke the <ahref="./v4.endpoints.html#read-">read</a> endpoint to get the state of the modified booking. If the returned booking have a <codeclass="language-plaintext highlighter-rouge">RESERVED</code> status and have the new dates requested by the user, then the booking is marked as confirmed. If the returned booking have a <codeclass="language-plaintext highlighter-rouge">PENDING_CONFIRMATION</code> status, SAP Concur will continue to invoke the <ahref="./v4.endpoints.html#read-">read</a> endpoint until the endpoint return a booking with status <codeclass="language-plaintext highlighter-rouge">RESERVED</code> for a maximum of 1 day.
1321
+
If after 1 day the booking is still in <codeclass="language-plaintext highlighter-rouge">PENDING_CONFIRMATION</code> status, then SAP Concur will keep the booking status as Pending. When the user tries to view the booking, SAP Concur will call again the <ahref="./v4.endpoints.html#read-">read</a> endpoint to sink the status of the booking with the supplier.
1322
+
If the returned booking have status of <codeclass="language-plaintext highlighter-rouge">RESERVED</code> but the dates of check-in and check-out are not the same as the dates requested by the user, then SAP Concur will consider the modification as failed and will notify the user about it.</p>
1323
+
1324
+
<p>Below is the sequence diagram for the recovery flow:</p>
<h2id="requirements-for-chs-supplier">Requirements for CHS Supplier</h2>
1316
1329
1317
1330
<ul>
1318
1331
<li>Supplier is expected to set <ahref="./v4.schemas.html#-hotelbooking"><codeclass="language-plaintext highlighter-rouge">isModifiable</code></a> flag to <codeclass="language-plaintext highlighter-rouge">true</code> in the booking response if they support <codeclass="language-plaintext highlighter-rouge">modify</code> feature for a given booking.</li>
1319
1332
<li>Supplier will need to support <codeclass="language-plaintext highlighter-rouge">reshop</code> request via <ahref="./v4.endpoints.html#rate-details-"><codeclass="language-plaintext highlighter-rouge">rate-details</code></a> providing detailed pricing for new dates on already booked hotel and rate-plan.</li>
1320
1333
<li>Supplier will need to support <codeclass="language-plaintext highlighter-rouge">modify</code> request via <ahref="./v4.endpoints.html#modify-"><codeclass="language-plaintext highlighter-rouge">modify</code></a> endpoint to update the booking with new dates.</li>
1334
+
<li>Supplier is expected to set <codeclass="language-plaintext highlighter-rouge">status</code> to <codeclass="language-plaintext highlighter-rouge">PENDING_CONFIRMATION</code> in the response of <ahref="./v4.endpoints.html#read-">read</a> endpoint if the modification is not confirmed.</li>
0 commit comments