Servico


Click here for a complete list of operations.

ServiceImages

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 /Servico.asmx HTTP/1.1
Host: services.ct-hub.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/ServiceImages"

<?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>
    <ServiceImages xmlns="http://tempuri.org/">
      <OTA_ReadRQ EchoToken="string" TimeStamp="dateTime" Target="" TargetName="string" Version="decimal" TransactionIdentifier="string" SequenceNmbr="nonNegativeInteger" TransactionStatusCode="" RetransmissionIndicator="boolean" CorrelationID="string" PrimaryLangID="language" AltLangID="language" ReqRespVersion="string" ReservationType="string" ReturnListIndicator="boolean" MoreIndicator="boolean" MoreDataEchoToken="string" MaxResponses="positiveInteger" xmlns="http://www.opentravel.org/OTA/2003/05">
        <POS>
          <Source AgentSine="string" PseudoCityCode="string" ISOCountry="string" ISOCurrency="string" AgentDutyCode="string" AirlineVendorID="string" AirportCode="string" FirstDepartPoint="string" ERSP_UserID="string" TerminalID="string">
            <RequestorID xsi:nil="true" />
            <Position xsi:nil="true" />
            <BookingChannel xsi:nil="true" />
            <TPA_Extensions xsi:nil="true" />
          </Source>
          <Source AgentSine="string" PseudoCityCode="string" ISOCountry="string" ISOCurrency="string" AgentDutyCode="string" AirlineVendorID="string" AirportCode="string" FirstDepartPoint="string" ERSP_UserID="string" TerminalID="string">
            <RequestorID xsi:nil="true" />
            <Position xsi:nil="true" />
            <BookingChannel xsi:nil="true" />
            <TPA_Extensions xsi:nil="true" />
          </Source>
        </POS>
        <UniqueID BrokerCode="string" URL="anyURI" Type="string" Instance="string" ID="string" ID_Context="string" ResIDHUB="string" StatusCodeRequestCancel="string">
          <CompanyName CompanyShortName="string" TravelSector="string" Code="string" CodeContext="string" CountryCode="string" Division="string" Department="string" ExternalCode="string" AwaitingConfirmationVendor="string" />
          <TPA_Extensions>xml</TPA_Extensions>
        </UniqueID>
        <ReadRequests />
      </OTA_ReadRQ>
    </ServiceImages>
  </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>
    <ServiceImagesResponse xmlns="http://tempuri.org/">
      <ImageUrls xmlns="http://www.opentravel.org/OTA/2003/05">
        <Errors>
          <Error Type="string" ShortText="string" Code="string" DocURL="anyURI" Status="string" Tag="string" RecordID="string" NodeList="string" CodeStatusBroker="string" CodeBookingBroker="string" Name="string" CodeBroker="string" Passenger="string" ReferenceNumber="string" Credit="string" AppliedPenalties="string" AmountPenalties="string" BookingCodeSalesChannel="string" CardID="string" />
          <Error Type="string" ShortText="string" Code="string" DocURL="anyURI" Status="string" Tag="string" RecordID="string" NodeList="string" CodeStatusBroker="string" CodeBookingBroker="string" Name="string" CodeBroker="string" Passenger="string" ReferenceNumber="string" Credit="string" AppliedPenalties="string" AmountPenalties="string" BookingCodeSalesChannel="string" CardID="string" />
        </Errors>
        <ImageUrls>
          <ImageUrl Caption="string" Extension="string" Type="string" />
          <ImageUrl Caption="string" Extension="string" Type="string" />
        </ImageUrls>
      </ImageUrls>
    </ServiceImagesResponse>
  </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 /Servico.asmx HTTP/1.1
Host: services.ct-hub.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>
    <ServiceImages xmlns="http://tempuri.org/">
      <OTA_ReadRQ EchoToken="string" TimeStamp="dateTime" Target="" TargetName="string" Version="decimal" TransactionIdentifier="string" SequenceNmbr="nonNegativeInteger" TransactionStatusCode="" RetransmissionIndicator="boolean" CorrelationID="string" PrimaryLangID="language" AltLangID="language" ReqRespVersion="string" ReservationType="string" ReturnListIndicator="boolean" MoreIndicator="boolean" MoreDataEchoToken="string" MaxResponses="positiveInteger" xmlns="http://www.opentravel.org/OTA/2003/05">
        <POS>
          <Source AgentSine="string" PseudoCityCode="string" ISOCountry="string" ISOCurrency="string" AgentDutyCode="string" AirlineVendorID="string" AirportCode="string" FirstDepartPoint="string" ERSP_UserID="string" TerminalID="string">
            <RequestorID xsi:nil="true" />
            <Position xsi:nil="true" />
            <BookingChannel xsi:nil="true" />
            <TPA_Extensions xsi:nil="true" />
          </Source>
          <Source AgentSine="string" PseudoCityCode="string" ISOCountry="string" ISOCurrency="string" AgentDutyCode="string" AirlineVendorID="string" AirportCode="string" FirstDepartPoint="string" ERSP_UserID="string" TerminalID="string">
            <RequestorID xsi:nil="true" />
            <Position xsi:nil="true" />
            <BookingChannel xsi:nil="true" />
            <TPA_Extensions xsi:nil="true" />
          </Source>
        </POS>
        <UniqueID BrokerCode="string" URL="anyURI" Type="string" Instance="string" ID="string" ID_Context="string" ResIDHUB="string" StatusCodeRequestCancel="string">
          <CompanyName CompanyShortName="string" TravelSector="string" Code="string" CodeContext="string" CountryCode="string" Division="string" Department="string" ExternalCode="string" AwaitingConfirmationVendor="string" />
          <TPA_Extensions>xml</TPA_Extensions>
        </UniqueID>
        <ReadRequests />
      </OTA_ReadRQ>
    </ServiceImages>
  </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>
    <ServiceImagesResponse xmlns="http://tempuri.org/">
      <ImageUrls xmlns="http://www.opentravel.org/OTA/2003/05">
        <Errors>
          <Error Type="string" ShortText="string" Code="string" DocURL="anyURI" Status="string" Tag="string" RecordID="string" NodeList="string" CodeStatusBroker="string" CodeBookingBroker="string" Name="string" CodeBroker="string" Passenger="string" ReferenceNumber="string" Credit="string" AppliedPenalties="string" AmountPenalties="string" BookingCodeSalesChannel="string" CardID="string" />
          <Error Type="string" ShortText="string" Code="string" DocURL="anyURI" Status="string" Tag="string" RecordID="string" NodeList="string" CodeStatusBroker="string" CodeBookingBroker="string" Name="string" CodeBroker="string" Passenger="string" ReferenceNumber="string" Credit="string" AppliedPenalties="string" AmountPenalties="string" BookingCodeSalesChannel="string" CardID="string" />
        </Errors>
        <ImageUrls>
          <ImageUrl Caption="string" Extension="string" Type="string" />
          <ImageUrl Caption="string" Extension="string" Type="string" />
        </ImageUrls>
      </ImageUrls>
    </ServiceImagesResponse>
  </soap12:Body>
</soap12:Envelope>