Web API
JSON/REST
GetEvents - list (api/events/?token=XXX)
GetEvent - Event; 1180 with sales data (api/event/1180?token=XXX)
GetEventCustomers - Event; 1180 (api/eventcustomers/1180?token=XXX&priceband=0&pricediscount=0)
PostAddTickets - Event: 1180, Discount 1025, Session: MyServerSessionID (Image (Post request))
GetOrder - OrderID: 0, Session: MyServerSessionID (api/order/0?session=MyServerSessionID&email=&token=XXX
GetCustomer - (CustomerID > 0 && Email = string.empty) || (CustomerID == 0 && Email != string.empty) (GET api/Customer/{CustomerID}?email={email}&token=XXX
GetCustomerEvents - (CustomerID > 0) (GET api/CustomerEvents/{CustomerID}?token=XXX
PutCustomer - (CustomerID > 0 - Update existing customer) || (CustomerID == 0 - Insert new customer) (PUT api/order/{CustomerID} + BODY CustomerObject
LoginCustomer - (Email, password) || (CustomerID == 0 && Email != string.empty) (GET api/Login/{email}?pasword={password}&token=XXX
GET ResetPassword (GET api/ResetPassword/{email}?token=XXX
SOAP
SOAP Jbs5ExternalAPI WSDL
Ändra adress mm. till kund
Hänvisa till /{locale}/Edit/Customer/{CustomerID}?customerauthkey={AuthKeyForCustomer}&layout={Layout file}
AuthKeyCustomer finns i svaret i GetCustomer och LoginCustomer
Redirection to Julius Biljettservice
Send user to: Server/locale/Landing?Session=Session&Layout=YourLayoutFile&RedirectURL=YourURL (Example: https://dev.juliusbiljettservice.se/sv-SE/Landing?Session=MyServerSessionID&Layout=&RedirectURL=)
Anges ingen Layout fil används vår standard, Anges ingen RedirectionURL får besökarna bekräftelse på vår sida.