Action confirmationprint returns a link to a PDF containing data of reservation.
Print is generated to agencies number that access (login) the MDS service.
Sample query:
<?xml version='1.0'?> <mds> <auth> <login>LOGIN</login> <pass>PASSWORD</pass> </auth> <request> <type>confirmationprint</type> <conditions> <ofr_tourOp>ADR</ofr_tourOp> <booking_nr>82578</booking_nr> </conditions> </request> </mds>
Field | required | Descriptions |
---|---|---|
ofr_tourOp | yes | Code of turoperator |
booking_nr | yes | Booking number |
An example answer in the case of successful action:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <response> <pdfUrl>https://merlin.merlinx.pl/(...)</pdfUrl> <pdfUrlConfirmation>https://merlin.merlinx.pl/(...)</pdfUrlConfirmation> </response>
Field | Attribute | Descriptions |
---|---|---|
pdfUrl | - | The URL of confirmation for your reservation |
pdfUrlConfirmation | - | The URL of confirmation |
In the case of automated download print, you must allow for the possibility that this address will return an HTTP redirect to a page with the appropriate print PDF.