Jbs5ExternalAPI
Click here for a complete list of operations.
Login
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 /webapi/Jbs5ExternalAPI.asmx HTTP/1.1 Host: prod.juliusbiljettservice.se Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://api.juliusbiljettservice.se/Login" <?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> <Login xmlns="http://api.juliusbiljettservice.se"> <Email>string</Email> <Password>string</Password> <Token>string</Token> </Login> </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> <LoginResponse xmlns="http://api.juliusbiljettservice.se"> <LoginResult> <ExtensionData /> <CustomerID>long</CustomerID> <GivenName>string</GivenName> <FamilyName>string</FamilyName> <InvoiceAddress1>string</InvoiceAddress1> <InvoiceAddress2>string</InvoiceAddress2> <InvoiceZip>string</InvoiceZip> <InvoiceCity>string</InvoiceCity> <InvoiceCountry>string</InvoiceCountry> <MobilephoneNumber>string</MobilephoneNumber> <TelephoneNumber>string</TelephoneNumber> <Email>string</Email> <Orders> <Order> <ExtensionData xsi:nil="true" /> <OrderID>long</OrderID> <Session>string</Session> <CustomerID>long</CustomerID> <OrderEvents xsi:nil="true" /> <CustomerEmail>string</CustomerEmail> <DeliveryMethodCode>string</DeliveryMethodCode> <Created>dateTime</Created> <Expires>long</Expires> <ExecTimes>string</ExecTimes> </Order> <Order> <ExtensionData xsi:nil="true" /> <OrderID>long</OrderID> <Session>string</Session> <CustomerID>long</CustomerID> <OrderEvents xsi:nil="true" /> <CustomerEmail>string</CustomerEmail> <DeliveryMethodCode>string</DeliveryMethodCode> <Created>dateTime</Created> <Expires>long</Expires> <ExecTimes>string</ExecTimes> </Order> </Orders> <Company>string</Company> <DeliveryAddress1>string</DeliveryAddress1> <DeliveryAddress2>string</DeliveryAddress2> <DeliveryZip>string</DeliveryZip> <DeliveryCity>string</DeliveryCity> <DeliveryCountry>string</DeliveryCountry> <DeliveryAddressEqualsInvoiceAddress>boolean</DeliveryAddressEqualsInvoiceAddress> <CustomerAuthKey>string</CustomerAuthKey> <Password>string</Password> </LoginResult> </LoginResponse> </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 /webapi/Jbs5ExternalAPI.asmx HTTP/1.1 Host: prod.juliusbiljettservice.se 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> <Login xmlns="http://api.juliusbiljettservice.se"> <Email>string</Email> <Password>string</Password> <Token>string</Token> </Login> </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> <LoginResponse xmlns="http://api.juliusbiljettservice.se"> <LoginResult> <ExtensionData /> <CustomerID>long</CustomerID> <GivenName>string</GivenName> <FamilyName>string</FamilyName> <InvoiceAddress1>string</InvoiceAddress1> <InvoiceAddress2>string</InvoiceAddress2> <InvoiceZip>string</InvoiceZip> <InvoiceCity>string</InvoiceCity> <InvoiceCountry>string</InvoiceCountry> <MobilephoneNumber>string</MobilephoneNumber> <TelephoneNumber>string</TelephoneNumber> <Email>string</Email> <Orders> <Order> <ExtensionData xsi:nil="true" /> <OrderID>long</OrderID> <Session>string</Session> <CustomerID>long</CustomerID> <OrderEvents xsi:nil="true" /> <CustomerEmail>string</CustomerEmail> <DeliveryMethodCode>string</DeliveryMethodCode> <Created>dateTime</Created> <Expires>long</Expires> <ExecTimes>string</ExecTimes> </Order> <Order> <ExtensionData xsi:nil="true" /> <OrderID>long</OrderID> <Session>string</Session> <CustomerID>long</CustomerID> <OrderEvents xsi:nil="true" /> <CustomerEmail>string</CustomerEmail> <DeliveryMethodCode>string</DeliveryMethodCode> <Created>dateTime</Created> <Expires>long</Expires> <ExecTimes>string</ExecTimes> </Order> </Orders> <Company>string</Company> <DeliveryAddress1>string</DeliveryAddress1> <DeliveryAddress2>string</DeliveryAddress2> <DeliveryZip>string</DeliveryZip> <DeliveryCity>string</DeliveryCity> <DeliveryCountry>string</DeliveryCountry> <DeliveryAddressEqualsInvoiceAddress>boolean</DeliveryAddressEqualsInvoiceAddress> <CustomerAuthKey>string</CustomerAuthKey> <Password>string</Password> </LoginResult> </LoginResponse> </soap12:Body> </soap12:Envelope>