Parser
Click here for a complete list of operations.
AtcomJsonResFileParser
Required fields: DmcRecId, RecID
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /sws/Parser.asmx HTTP/1.1
Host: hds.sansejour.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.sansejour.com/AtcomJsonResFileParser"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<AtcomJsonResFileParser xmlns="http://www.sansejour.com/">
<DmcRecId>int</DmcRecId>
<RecID>long</RecID>
</AtcomJsonResFileParser>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<AtcomJsonResFileParserResponse xmlns="http://www.sansejour.com/">
<AtcomJsonResFileParserResult>
<Status>Success or Failed or Warning</Status>
<Message>string</Message>
<Data>
<ReservationInfo>
<OnlyCalculate>boolean</OnlyCalculate>
<TourOp>string</TourOp>
<Voucher>string</Voucher>
<source>int</source>
<Group1>string</Group1>
<Group2>string</Group2>
<Group3>string</Group3>
<Group4>string</Group4>
<Group5>string</Group5>
<Group6>string</Group6>
<GroupNum>string</GroupNum>
<OnlyHotel>boolean</OnlyHotel>
<voucherNote>string</voucherNote>
<customer xsi:nil="true" />
<resHotel xsi:nil="true" />
<OwnProvider>boolean</OwnProvider>
<ExternalSupplierResNo>string</ExternalSupplierResNo>
<SejResType>string</SejResType>
<DontWaitForCalculation>boolean</DontWaitForCalculation>
</ReservationInfo>
<ExtraParserInfo>
<resHotel xsi:nil="true" />
<specialPrices xsi:nil="true" />
<IntegrationInformation xsi:nil="true" />
<ConnectionString>string</ConnectionString>
<TourOpCode>string</TourOpCode>
<ProductCode>string</ProductCode>
</ExtraParserInfo>
<IntegrationResults>string</IntegrationResults>
</Data>
</AtcomJsonResFileParserResult>
</AtcomJsonResFileParserResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /sws/Parser.asmx HTTP/1.1
Host: hds.sansejour.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<AtcomJsonResFileParser xmlns="http://www.sansejour.com/">
<DmcRecId>int</DmcRecId>
<RecID>long</RecID>
</AtcomJsonResFileParser>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<AtcomJsonResFileParserResponse xmlns="http://www.sansejour.com/">
<AtcomJsonResFileParserResult>
<Status>Success or Failed or Warning</Status>
<Message>string</Message>
<Data>
<ReservationInfo>
<OnlyCalculate>boolean</OnlyCalculate>
<TourOp>string</TourOp>
<Voucher>string</Voucher>
<source>int</source>
<Group1>string</Group1>
<Group2>string</Group2>
<Group3>string</Group3>
<Group4>string</Group4>
<Group5>string</Group5>
<Group6>string</Group6>
<GroupNum>string</GroupNum>
<OnlyHotel>boolean</OnlyHotel>
<voucherNote>string</voucherNote>
<customer xsi:nil="true" />
<resHotel xsi:nil="true" />
<OwnProvider>boolean</OwnProvider>
<ExternalSupplierResNo>string</ExternalSupplierResNo>
<SejResType>string</SejResType>
<DontWaitForCalculation>boolean</DontWaitForCalculation>
</ReservationInfo>
<ExtraParserInfo>
<resHotel xsi:nil="true" />
<specialPrices xsi:nil="true" />
<IntegrationInformation xsi:nil="true" />
<ConnectionString>string</ConnectionString>
<TourOpCode>string</TourOpCode>
<ProductCode>string</ProductCode>
</ExtraParserInfo>
<IntegrationResults>string</IntegrationResults>
</Data>
</AtcomJsonResFileParserResult>
</AtcomJsonResFileParserResponse>
</soap12:Body>
</soap12:Envelope>