Sample queries

Using the test accounts provided here, here are some examples.

How to create an order for a performance

SOAP

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://v1_31.ExternalOrderFacade.service.secutix.com" xmlns:ns2="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
  <soapenv:Header>
    <ns2:Security>
      <ns2:UsernameToken>
        <ns2:Username>MOSA_B2C</ns2:Username>
        <ns2:Password>P@ssw0rd</ns2:Password>
      </ns2:UsernameToken>
    </ns2:Security>
  </soapenv:Header>
  <soapenv:Body>
    <v1:createOrUpdateOrder>
      <pointOfSalesId>466653735</pointOfSalesId>
      <orderType>SALE</orderType>
      <singleEntryAttributionOperations>
        <operationAttributions>
          <audienceSubCategoryId>466654441</audienceSubCategoryId>
          <quantity>1</quantity>
          <performanceId>466685882</performanceId>
          <seatCategoryId>466665755</seatCategoryId>
        </operationAttributions>
      </singleEntryAttributionOperations>
    </v1:createOrUpdateOrder>
  </soapenv:Body>
</soapenv:Envelope>

REST

https://mosa.demo-ws.secutix.com/tnseb/backend-apis/externalOrderFacade/v1_31/createOrUpdateOrder

 {
  "pointOfSalesId": "466653735",
  "orderType": "SALE",
  "singleEntryAttributionOperations": [
    {
      "operationAttributions": [
        {
          "audienceSubCategoryId": "466654441",
          "quantity" : "1",
          "performanceId" : "466685882",
          "seatCategoryId" : "466665755"
        }
      ]
    }
  ]
}

Call to getLastSetupUpdate

Request SOAP

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://v1_31.CatalogService.service.secutix.com" xmlns:ns2="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
  <soapenv:Header>
    <ns2:Security>
      <ns2:UsernameToken>
        <ns2:Username>MOSA_B2C</ns2:Username>
        <ns2:Password>P@ssw0rd</ns2:Password>
      </ns2:UsernameToken>
    </ns2:Security>
  </soapenv:Header>
  <soapenv:Body>
    <v1:getLastSetupUpdate>
    </v1:getLastSetupUpdate>
  </soapenv:Body>
</soapenv:Envelope>

Request REST

https://mosa.demo-ws.secutix.com/tnseb/backend-apis/catalogService/v1_31/getLastSetupUpdate

{

}

Response SOAP

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns2:getLastSetupUpdateResponse xmlns:ns2="http://v1_31.CatalogService.service.secutix.com">
      <LastSetupUpdateResult>
        <requestId xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
        <statusCode>success</statusCode>
        <statusDetail xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
        <lastSetupUpdate>2016-11-01T15:32:35.628+01:00</lastSetupUpdate>
      </LastSetupUpdateResult>
    </ns2:getLastSetupUpdateResponse>
  </S:Body>
</S:Envelope>

Response REST

{
  "statusCode": "success",
  "lastSetupUpdate": "2022-01-10T13:42:05.026+01:00"
}