The send documentation call will send the requested documentation either to the lead customer email address or to an override email address, if one is specified in the request. The call returns a response status to indicate whether documentation was successfully sent or not.
The structure of this XML will be:
The structure of this XML will be:
This request will send documentation with an ID 1 to the lead customer email address on booking 1000212:
<SendDocumentationRequest>
<LoginDetails>
<Login>TestLogin</Login>
<Password>TestPassword</Password>
</LoginDetails>
<BookingReference>1000212</BookingReference>
<BookingDocumentationID>1</BookingDocumentationID>
</SendDocumentationRequest>
The following request will send documentation with an ID 3 for booking 100218 to the address ppatel@test.com:
<SendDocumentationRequest>
<LoginDetails>
<Login>TestLogin</Login>
<Password>TestPassword</Password>
</LoginDetails>
<BookingReference>1000218</BookingReference>
<BookingDocumentationID>3</BookingDocumentationID>
<OverrideEmailAddress>ppatel@test.com</OverrideEmailAddress>
</SendDocumentationRequest>
<SendDocumentationResponse>
<ReturnStatus>
<Success>true</Success>
<Exceptions/>
</ReturnStatus>
</SendDocumentationResponse>