| Requires the role: | Admin | Requires the permission: | ReadData |
| POST | /Support/Customer360 |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class SupportCustomer360Request
{
public String phone = null;
public String email = null;
public String getPhone() { return phone; }
public SupportCustomer360Request setPhone(String value) { this.phone = value; return this; }
public String getEmail() { return email; }
public SupportCustomer360Request setEmail(String value) { this.email = value; return this; }
}
public static class SupportCustomer360Result
{
public String phone = null;
public String email = null;
public ArrayList<SupportTicketRow> tickets = null;
public ArrayList<SupportOwnerCardRow> ownerCards = null;
public ArrayList<SupportWebshopOrderRow> webshopOrders = null;
public ArrayList<SupportGiftCardRow> giftCards = null;
public ArrayList<SupportSharedLinkRow> sharedTicketLinks = null;
public SupportCustomerTotals totals = null;
public ArrayList<String> warnings = null;
public Integer statusCode = null;
public String message = null;
public String getPhone() { return phone; }
public SupportCustomer360Result setPhone(String value) { this.phone = value; return this; }
public String getEmail() { return email; }
public SupportCustomer360Result setEmail(String value) { this.email = value; return this; }
public ArrayList<SupportTicketRow> getTickets() { return tickets; }
public SupportCustomer360Result setTickets(ArrayList<SupportTicketRow> value) { this.tickets = value; return this; }
public ArrayList<SupportOwnerCardRow> getOwnerCards() { return ownerCards; }
public SupportCustomer360Result setOwnerCards(ArrayList<SupportOwnerCardRow> value) { this.ownerCards = value; return this; }
public ArrayList<SupportWebshopOrderRow> getWebshopOrders() { return webshopOrders; }
public SupportCustomer360Result setWebshopOrders(ArrayList<SupportWebshopOrderRow> value) { this.webshopOrders = value; return this; }
public ArrayList<SupportGiftCardRow> getGiftCards() { return giftCards; }
public SupportCustomer360Result setGiftCards(ArrayList<SupportGiftCardRow> value) { this.giftCards = value; return this; }
public ArrayList<SupportSharedLinkRow> getSharedTicketLinks() { return sharedTicketLinks; }
public SupportCustomer360Result setSharedTicketLinks(ArrayList<SupportSharedLinkRow> value) { this.sharedTicketLinks = value; return this; }
public SupportCustomerTotals getTotals() { return totals; }
public SupportCustomer360Result setTotals(SupportCustomerTotals value) { this.totals = value; return this; }
public ArrayList<String> getWarnings() { return warnings; }
public SupportCustomer360Result setWarnings(ArrayList<String> value) { this.warnings = value; return this; }
public Integer getStatusCode() { return statusCode; }
public SupportCustomer360Result setStatusCode(Integer value) { this.statusCode = value; return this; }
public String getMessage() { return message; }
public SupportCustomer360Result setMessage(String value) { this.message = value; return this; }
}
public static class SupportTicketRow
{
public Integer ticketId = null;
public String ticketTokenId = null;
public Integer eventId = null;
public String event = null;
public Date timeOfEventUTC = null;
public Integer eventOwnerId = null;
public String eventOwnerName = null;
public String ticketStatus = null;
public String ticketName = null;
public String paymentMethodId = null;
public String paymentId = null;
public String paymentReference = null;
public Date timestampBought = null;
public Date timestampActivated = null;
public String holderName = null;
public String phoneVerificationNumber = null;
public String paymentPhoneNumber = null;
public String seatDisplayString = null;
public String sectionName = null;
public String rowName = null;
public String seatName = null;
public BigDecimal totalPrice = null;
public Integer count = null;
public Integer ticketTransferredFrom = null;
public String originalPhoneVerificationNumber = null;
public String deviceId = null;
public Boolean neverOpened = null;
public Integer getTicketId() { return ticketId; }
public SupportTicketRow setTicketId(Integer value) { this.ticketId = value; return this; }
public String getTicketTokenId() { return ticketTokenId; }
public SupportTicketRow setTicketTokenId(String value) { this.ticketTokenId = value; return this; }
public Integer getEventId() { return eventId; }
public SupportTicketRow setEventId(Integer value) { this.eventId = value; return this; }
public String getEvent() { return event; }
public SupportTicketRow setEvent(String value) { this.event = value; return this; }
public Date getTimeOfEventUTC() { return timeOfEventUTC; }
public SupportTicketRow setTimeOfEventUTC(Date value) { this.timeOfEventUTC = value; return this; }
public Integer getEventOwnerId() { return eventOwnerId; }
public SupportTicketRow setEventOwnerId(Integer value) { this.eventOwnerId = value; return this; }
public String getEventOwnerName() { return eventOwnerName; }
public SupportTicketRow setEventOwnerName(String value) { this.eventOwnerName = value; return this; }
public String getTicketStatus() { return ticketStatus; }
public SupportTicketRow setTicketStatus(String value) { this.ticketStatus = value; return this; }
public String getTicketName() { return ticketName; }
public SupportTicketRow setTicketName(String value) { this.ticketName = value; return this; }
public String getPaymentMethodId() { return paymentMethodId; }
public SupportTicketRow setPaymentMethodId(String value) { this.paymentMethodId = value; return this; }
public String getPaymentId() { return paymentId; }
public SupportTicketRow setPaymentId(String value) { this.paymentId = value; return this; }
public String getPaymentReference() { return paymentReference; }
public SupportTicketRow setPaymentReference(String value) { this.paymentReference = value; return this; }
public Date getTimestampBought() { return timestampBought; }
public SupportTicketRow setTimestampBought(Date value) { this.timestampBought = value; return this; }
public Date getTimestampActivated() { return timestampActivated; }
public SupportTicketRow setTimestampActivated(Date value) { this.timestampActivated = value; return this; }
public String getHolderName() { return holderName; }
public SupportTicketRow setHolderName(String value) { this.holderName = value; return this; }
public String getPhoneVerificationNumber() { return phoneVerificationNumber; }
public SupportTicketRow setPhoneVerificationNumber(String value) { this.phoneVerificationNumber = value; return this; }
public String getPaymentPhoneNumber() { return paymentPhoneNumber; }
public SupportTicketRow setPaymentPhoneNumber(String value) { this.paymentPhoneNumber = value; return this; }
public String getSeatDisplayString() { return seatDisplayString; }
public SupportTicketRow setSeatDisplayString(String value) { this.seatDisplayString = value; return this; }
public String getSectionName() { return sectionName; }
public SupportTicketRow setSectionName(String value) { this.sectionName = value; return this; }
public String getRowName() { return rowName; }
public SupportTicketRow setRowName(String value) { this.rowName = value; return this; }
public String getSeatName() { return seatName; }
public SupportTicketRow setSeatName(String value) { this.seatName = value; return this; }
public BigDecimal getTotalPrice() { return totalPrice; }
public SupportTicketRow setTotalPrice(BigDecimal value) { this.totalPrice = value; return this; }
public Integer getCount() { return count; }
public SupportTicketRow setCount(Integer value) { this.count = value; return this; }
public Integer getTicketTransferredFrom() { return ticketTransferredFrom; }
public SupportTicketRow setTicketTransferredFrom(Integer value) { this.ticketTransferredFrom = value; return this; }
public String getOriginalPhoneVerificationNumber() { return originalPhoneVerificationNumber; }
public SupportTicketRow setOriginalPhoneVerificationNumber(String value) { this.originalPhoneVerificationNumber = value; return this; }
public String getDeviceId() { return deviceId; }
public SupportTicketRow setDeviceId(String value) { this.deviceId = value; return this; }
public Boolean isNeverOpened() { return neverOpened; }
public SupportTicketRow setNeverOpened(Boolean value) { this.neverOpened = value; return this; }
}
public static class SupportOwnerCardRow
{
public Integer id = null;
public Integer ownerId = null;
public String ownerName = null;
public Integer ownerCardTypeId = null;
public String ownerCardTypeName = null;
public String holderName = null;
public String holderEmail = null;
public String phoneVerificationNumber = null;
public String paymentPhoneNumber = null;
public String paymentStatus = null;
public String paymentMethodId = null;
public String paymentId = null;
public String paymentReference = null;
public Date timeStampBoughtUTC = null;
public Date cardValidFromUTC = null;
public Date cardValidToUTC = null;
public Integer initialMaxTickets = null;
public Integer currentAvailableTickets = null;
public BigDecimal cardPrice = null;
public BigDecimal pricePaid = null;
public BigDecimal currentStoreCredit = null;
public Integer getId() { return id; }
public SupportOwnerCardRow setId(Integer value) { this.id = value; return this; }
public Integer getOwnerId() { return ownerId; }
public SupportOwnerCardRow setOwnerId(Integer value) { this.ownerId = value; return this; }
public String getOwnerName() { return ownerName; }
public SupportOwnerCardRow setOwnerName(String value) { this.ownerName = value; return this; }
public Integer getOwnerCardTypeId() { return ownerCardTypeId; }
public SupportOwnerCardRow setOwnerCardTypeId(Integer value) { this.ownerCardTypeId = value; return this; }
public String getOwnerCardTypeName() { return ownerCardTypeName; }
public SupportOwnerCardRow setOwnerCardTypeName(String value) { this.ownerCardTypeName = value; return this; }
public String getHolderName() { return holderName; }
public SupportOwnerCardRow setHolderName(String value) { this.holderName = value; return this; }
public String getHolderEmail() { return holderEmail; }
public SupportOwnerCardRow setHolderEmail(String value) { this.holderEmail = value; return this; }
public String getPhoneVerificationNumber() { return phoneVerificationNumber; }
public SupportOwnerCardRow setPhoneVerificationNumber(String value) { this.phoneVerificationNumber = value; return this; }
public String getPaymentPhoneNumber() { return paymentPhoneNumber; }
public SupportOwnerCardRow setPaymentPhoneNumber(String value) { this.paymentPhoneNumber = value; return this; }
public String getPaymentStatus() { return paymentStatus; }
public SupportOwnerCardRow setPaymentStatus(String value) { this.paymentStatus = value; return this; }
public String getPaymentMethodId() { return paymentMethodId; }
public SupportOwnerCardRow setPaymentMethodId(String value) { this.paymentMethodId = value; return this; }
public String getPaymentId() { return paymentId; }
public SupportOwnerCardRow setPaymentId(String value) { this.paymentId = value; return this; }
public String getPaymentReference() { return paymentReference; }
public SupportOwnerCardRow setPaymentReference(String value) { this.paymentReference = value; return this; }
public Date getTimeStampBoughtUTC() { return timeStampBoughtUTC; }
public SupportOwnerCardRow setTimeStampBoughtUTC(Date value) { this.timeStampBoughtUTC = value; return this; }
public Date getCardValidFromUTC() { return cardValidFromUTC; }
public SupportOwnerCardRow setCardValidFromUTC(Date value) { this.cardValidFromUTC = value; return this; }
public Date getCardValidToUTC() { return cardValidToUTC; }
public SupportOwnerCardRow setCardValidToUTC(Date value) { this.cardValidToUTC = value; return this; }
public Integer getInitialMaxTickets() { return initialMaxTickets; }
public SupportOwnerCardRow setInitialMaxTickets(Integer value) { this.initialMaxTickets = value; return this; }
public Integer getCurrentAvailableTickets() { return currentAvailableTickets; }
public SupportOwnerCardRow setCurrentAvailableTickets(Integer value) { this.currentAvailableTickets = value; return this; }
public BigDecimal getCardPrice() { return cardPrice; }
public SupportOwnerCardRow setCardPrice(BigDecimal value) { this.cardPrice = value; return this; }
public BigDecimal getPricePaid() { return pricePaid; }
public SupportOwnerCardRow setPricePaid(BigDecimal value) { this.pricePaid = value; return this; }
public BigDecimal getCurrentStoreCredit() { return currentStoreCredit; }
public SupportOwnerCardRow setCurrentStoreCredit(BigDecimal value) { this.currentStoreCredit = value; return this; }
}
public static class SupportWebshopOrderRow
{
public Integer id = null;
public String orderReference = null;
public Integer ownerId = null;
public String ownerName = null;
public String status = null;
public Integer totalMinor = null;
public Integer deliveryFeeMinor = null;
public Integer totalDiscountMinor = null;
public Integer giftPaidMinor = null;
public String currency = null;
public String deliveryType = null;
public String paymentMethodId = null;
public String paymentId = null;
public String paymentReference = null;
public Date createdAt = null;
public Date updatedAt = null;
public String buyerName = null;
public String buyerEmail = null;
public String buyerPhone = null;
public ArrayList<WebshopOrderLine> lines = null;
public Integer getId() { return id; }
public SupportWebshopOrderRow setId(Integer value) { this.id = value; return this; }
public String getOrderReference() { return orderReference; }
public SupportWebshopOrderRow setOrderReference(String value) { this.orderReference = value; return this; }
public Integer getOwnerId() { return ownerId; }
public SupportWebshopOrderRow setOwnerId(Integer value) { this.ownerId = value; return this; }
public String getOwnerName() { return ownerName; }
public SupportWebshopOrderRow setOwnerName(String value) { this.ownerName = value; return this; }
public String getStatus() { return status; }
public SupportWebshopOrderRow setStatus(String value) { this.status = value; return this; }
public Integer getTotalMinor() { return totalMinor; }
public SupportWebshopOrderRow setTotalMinor(Integer value) { this.totalMinor = value; return this; }
public Integer getDeliveryFeeMinor() { return deliveryFeeMinor; }
public SupportWebshopOrderRow setDeliveryFeeMinor(Integer value) { this.deliveryFeeMinor = value; return this; }
public Integer getTotalDiscountMinor() { return totalDiscountMinor; }
public SupportWebshopOrderRow setTotalDiscountMinor(Integer value) { this.totalDiscountMinor = value; return this; }
public Integer getGiftPaidMinor() { return giftPaidMinor; }
public SupportWebshopOrderRow setGiftPaidMinor(Integer value) { this.giftPaidMinor = value; return this; }
public String getCurrency() { return currency; }
public SupportWebshopOrderRow setCurrency(String value) { this.currency = value; return this; }
public String getDeliveryType() { return deliveryType; }
public SupportWebshopOrderRow setDeliveryType(String value) { this.deliveryType = value; return this; }
public String getPaymentMethodId() { return paymentMethodId; }
public SupportWebshopOrderRow setPaymentMethodId(String value) { this.paymentMethodId = value; return this; }
public String getPaymentId() { return paymentId; }
public SupportWebshopOrderRow setPaymentId(String value) { this.paymentId = value; return this; }
public String getPaymentReference() { return paymentReference; }
public SupportWebshopOrderRow setPaymentReference(String value) { this.paymentReference = value; return this; }
public Date getCreatedAt() { return createdAt; }
public SupportWebshopOrderRow setCreatedAt(Date value) { this.createdAt = value; return this; }
public Date getUpdatedAt() { return updatedAt; }
public SupportWebshopOrderRow setUpdatedAt(Date value) { this.updatedAt = value; return this; }
public String getBuyerName() { return buyerName; }
public SupportWebshopOrderRow setBuyerName(String value) { this.buyerName = value; return this; }
public String getBuyerEmail() { return buyerEmail; }
public SupportWebshopOrderRow setBuyerEmail(String value) { this.buyerEmail = value; return this; }
public String getBuyerPhone() { return buyerPhone; }
public SupportWebshopOrderRow setBuyerPhone(String value) { this.buyerPhone = value; return this; }
public ArrayList<WebshopOrderLine> getLines() { return lines; }
public SupportWebshopOrderRow setLines(ArrayList<WebshopOrderLine> value) { this.lines = value; return this; }
}
public static class WebshopOrderLine
{
public Integer id = null;
public Integer orderId = null;
public Integer productId = null;
public Integer variantId = null;
@StringLength(200)
public String productName = null;
@StringLength(50)
public String size = null;
@StringLength(50)
public String color = null;
public Integer unitPriceMinor = null;
public Integer quantity = null;
public Integer lineTotalMinor = null;
@StringLength(20)
public String status = null;
public Integer legacyDetailId = null;
public Date createdAt = null;
public Integer getId() { return id; }
public WebshopOrderLine setId(Integer value) { this.id = value; return this; }
public Integer getOrderId() { return orderId; }
public WebshopOrderLine setOrderId(Integer value) { this.orderId = value; return this; }
public Integer getProductId() { return productId; }
public WebshopOrderLine setProductId(Integer value) { this.productId = value; return this; }
public Integer getVariantId() { return variantId; }
public WebshopOrderLine setVariantId(Integer value) { this.variantId = value; return this; }
public String getProductName() { return productName; }
public WebshopOrderLine setProductName(String value) { this.productName = value; return this; }
public String getSize() { return size; }
public WebshopOrderLine setSize(String value) { this.size = value; return this; }
public String getColor() { return color; }
public WebshopOrderLine setColor(String value) { this.color = value; return this; }
public Integer getUnitPriceMinor() { return unitPriceMinor; }
public WebshopOrderLine setUnitPriceMinor(Integer value) { this.unitPriceMinor = value; return this; }
public Integer getQuantity() { return quantity; }
public WebshopOrderLine setQuantity(Integer value) { this.quantity = value; return this; }
public Integer getLineTotalMinor() { return lineTotalMinor; }
public WebshopOrderLine setLineTotalMinor(Integer value) { this.lineTotalMinor = value; return this; }
public String getStatus() { return status; }
public WebshopOrderLine setStatus(String value) { this.status = value; return this; }
public Integer getLegacyDetailId() { return legacyDetailId; }
public WebshopOrderLine setLegacyDetailId(Integer value) { this.legacyDetailId = value; return this; }
public Date getCreatedAt() { return createdAt; }
public WebshopOrderLine setCreatedAt(Date value) { this.createdAt = value; return this; }
}
public static class SupportGiftCardRow
{
public Integer id = null;
public String codeLast4 = null;
public String codeMasked = null;
public String status = null;
public String scope = null;
public Integer scopeOwnerId = null;
public String scopeOwnerName = null;
public Integer purchaseOwnerId = null;
public String purchaseOwnerName = null;
public String currency = null;
public Integer initialValueMinor = null;
public Integer currentBalanceMinor = null;
public Date createdAt = null;
public Date activatedAt = null;
public Date expiresAt = null;
public String purchasePaymentReference = null;
public String paymentId = null;
public String paymentMethodId = null;
public String buyerName = null;
public String buyerEmail = null;
public String buyerPhone = null;
public Integer getId() { return id; }
public SupportGiftCardRow setId(Integer value) { this.id = value; return this; }
public String getCodeLast4() { return codeLast4; }
public SupportGiftCardRow setCodeLast4(String value) { this.codeLast4 = value; return this; }
public String getCodeMasked() { return codeMasked; }
public SupportGiftCardRow setCodeMasked(String value) { this.codeMasked = value; return this; }
public String getStatus() { return status; }
public SupportGiftCardRow setStatus(String value) { this.status = value; return this; }
public String getScope() { return scope; }
public SupportGiftCardRow setScope(String value) { this.scope = value; return this; }
public Integer getScopeOwnerId() { return scopeOwnerId; }
public SupportGiftCardRow setScopeOwnerId(Integer value) { this.scopeOwnerId = value; return this; }
public String getScopeOwnerName() { return scopeOwnerName; }
public SupportGiftCardRow setScopeOwnerName(String value) { this.scopeOwnerName = value; return this; }
public Integer getPurchaseOwnerId() { return purchaseOwnerId; }
public SupportGiftCardRow setPurchaseOwnerId(Integer value) { this.purchaseOwnerId = value; return this; }
public String getPurchaseOwnerName() { return purchaseOwnerName; }
public SupportGiftCardRow setPurchaseOwnerName(String value) { this.purchaseOwnerName = value; return this; }
public String getCurrency() { return currency; }
public SupportGiftCardRow setCurrency(String value) { this.currency = value; return this; }
public Integer getInitialValueMinor() { return initialValueMinor; }
public SupportGiftCardRow setInitialValueMinor(Integer value) { this.initialValueMinor = value; return this; }
public Integer getCurrentBalanceMinor() { return currentBalanceMinor; }
public SupportGiftCardRow setCurrentBalanceMinor(Integer value) { this.currentBalanceMinor = value; return this; }
public Date getCreatedAt() { return createdAt; }
public SupportGiftCardRow setCreatedAt(Date value) { this.createdAt = value; return this; }
public Date getActivatedAt() { return activatedAt; }
public SupportGiftCardRow setActivatedAt(Date value) { this.activatedAt = value; return this; }
public Date getExpiresAt() { return expiresAt; }
public SupportGiftCardRow setExpiresAt(Date value) { this.expiresAt = value; return this; }
public String getPurchasePaymentReference() { return purchasePaymentReference; }
public SupportGiftCardRow setPurchasePaymentReference(String value) { this.purchasePaymentReference = value; return this; }
public String getPaymentId() { return paymentId; }
public SupportGiftCardRow setPaymentId(String value) { this.paymentId = value; return this; }
public String getPaymentMethodId() { return paymentMethodId; }
public SupportGiftCardRow setPaymentMethodId(String value) { this.paymentMethodId = value; return this; }
public String getBuyerName() { return buyerName; }
public SupportGiftCardRow setBuyerName(String value) { this.buyerName = value; return this; }
public String getBuyerEmail() { return buyerEmail; }
public SupportGiftCardRow setBuyerEmail(String value) { this.buyerEmail = value; return this; }
public String getBuyerPhone() { return buyerPhone; }
public SupportGiftCardRow setBuyerPhone(String value) { this.buyerPhone = value; return this; }
}
public static class SupportSharedLinkRow
{
public Integer id = null;
public Integer eventId = null;
public String eventName = null;
public Integer eventOwnerId = null;
public String eventOwnerName = null;
public String status = null;
public String recipientPhone = null;
public String recipientEmail = null;
public Integer ticketCount = null;
public Date createdAt = null;
public Date validTo = null;
public Date soldAt = null;
public Integer soldTicketOrderId = null;
public Integer getId() { return id; }
public SupportSharedLinkRow setId(Integer value) { this.id = value; return this; }
public Integer getEventId() { return eventId; }
public SupportSharedLinkRow setEventId(Integer value) { this.eventId = value; return this; }
public String getEventName() { return eventName; }
public SupportSharedLinkRow setEventName(String value) { this.eventName = value; return this; }
public Integer getEventOwnerId() { return eventOwnerId; }
public SupportSharedLinkRow setEventOwnerId(Integer value) { this.eventOwnerId = value; return this; }
public String getEventOwnerName() { return eventOwnerName; }
public SupportSharedLinkRow setEventOwnerName(String value) { this.eventOwnerName = value; return this; }
public String getStatus() { return status; }
public SupportSharedLinkRow setStatus(String value) { this.status = value; return this; }
public String getRecipientPhone() { return recipientPhone; }
public SupportSharedLinkRow setRecipientPhone(String value) { this.recipientPhone = value; return this; }
public String getRecipientEmail() { return recipientEmail; }
public SupportSharedLinkRow setRecipientEmail(String value) { this.recipientEmail = value; return this; }
public Integer getTicketCount() { return ticketCount; }
public SupportSharedLinkRow setTicketCount(Integer value) { this.ticketCount = value; return this; }
public Date getCreatedAt() { return createdAt; }
public SupportSharedLinkRow setCreatedAt(Date value) { this.createdAt = value; return this; }
public Date getValidTo() { return validTo; }
public SupportSharedLinkRow setValidTo(Date value) { this.validTo = value; return this; }
public Date getSoldAt() { return soldAt; }
public SupportSharedLinkRow setSoldAt(Date value) { this.soldAt = value; return this; }
public Integer getSoldTicketOrderId() { return soldTicketOrderId; }
public SupportSharedLinkRow setSoldTicketOrderId(Integer value) { this.soldTicketOrderId = value; return this; }
}
public static class SupportCustomerTotals
{
public BigDecimal ticketSpend = null;
public BigDecimal ticketSpendLive = null;
public Long webshopSpendMinor = null;
public Long giftCardSpendMinor = null;
public BigDecimal getTicketSpend() { return ticketSpend; }
public SupportCustomerTotals setTicketSpend(BigDecimal value) { this.ticketSpend = value; return this; }
public BigDecimal getTicketSpendLive() { return ticketSpendLive; }
public SupportCustomerTotals setTicketSpendLive(BigDecimal value) { this.ticketSpendLive = value; return this; }
public Long getWebshopSpendMinor() { return webshopSpendMinor; }
public SupportCustomerTotals setWebshopSpendMinor(Long value) { this.webshopSpendMinor = value; return this; }
public Long getGiftCardSpendMinor() { return giftCardSpendMinor; }
public SupportCustomerTotals setGiftCardSpendMinor(Long value) { this.giftCardSpendMinor = value; return this; }
}
}
Java SupportCustomer360Request DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Support/Customer360 HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: application/json
Content-Type: application/json
Content-Length: length
{"phone":"String","email":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"phone":"String","email":"String","tickets":[{"ticketId":0,"ticketTokenId":"String","eventId":0,"event":"String","timeOfEventUTC":"0001-01-01T00:00:00.0000000","eventOwnerId":0,"eventOwnerName":"String","ticketStatus":"String","ticketName":"String","paymentMethodId":"String","paymentId":"String","paymentReference":"String","timestampBought":"0001-01-01T00:00:00.0000000","timestampActivated":"0001-01-01T00:00:00.0000000","holderName":"String","phoneVerificationNumber":"String","paymentPhoneNumber":"String","seatDisplayString":"String","sectionName":"String","rowName":"String","seatName":"String","totalPrice":0,"count":0,"ticketTransferredFrom":0,"originalPhoneVerificationNumber":"String","deviceId":"String","neverOpened":false}],"ownerCards":[{"id":0,"ownerId":0,"ownerName":"String","ownerCardTypeId":0,"ownerCardTypeName":"String","holderName":"String","holderEmail":"String","phoneVerificationNumber":"String","paymentPhoneNumber":"String","paymentStatus":"String","paymentMethodId":"String","paymentId":"String","paymentReference":"String","timeStampBoughtUTC":"0001-01-01T00:00:00.0000000","cardValidFromUTC":"0001-01-01T00:00:00.0000000","cardValidToUTC":"0001-01-01T00:00:00.0000000","initialMaxTickets":0,"currentAvailableTickets":0,"cardPrice":0,"pricePaid":0,"currentStoreCredit":0}],"webshopOrders":[{"id":0,"orderReference":"String","ownerId":0,"ownerName":"String","status":"String","totalMinor":0,"deliveryFeeMinor":0,"totalDiscountMinor":0,"giftPaidMinor":0,"currency":"String","deliveryType":"String","paymentMethodId":"String","paymentId":"String","paymentReference":"String","createdAt":"0001-01-01T00:00:00.0000000","updatedAt":"0001-01-01T00:00:00.0000000","buyerName":"String","buyerEmail":"String","buyerPhone":"String","lines":[{"id":0,"orderId":0,"productId":0,"variantId":0,"productName":"String","size":"String","color":"String","unitPriceMinor":0,"quantity":0,"lineTotalMinor":0,"status":"String","legacyDetailId":0,"createdAt":"0001-01-01T00:00:00.0000000"}]}],"giftCards":[{"id":0,"codeLast4":"String","codeMasked":"String","status":"String","scope":"String","scopeOwnerId":0,"scopeOwnerName":"String","purchaseOwnerId":0,"purchaseOwnerName":"String","currency":"String","initialValueMinor":0,"currentBalanceMinor":0,"createdAt":"0001-01-01T00:00:00.0000000","activatedAt":"0001-01-01T00:00:00.0000000","expiresAt":"0001-01-01T00:00:00.0000000","purchasePaymentReference":"String","paymentId":"String","paymentMethodId":"String","buyerName":"String","buyerEmail":"String","buyerPhone":"String"}],"sharedTicketLinks":[{"id":0,"eventId":0,"eventName":"String","eventOwnerId":0,"eventOwnerName":"String","status":"String","recipientPhone":"String","recipientEmail":"String","ticketCount":0,"createdAt":"0001-01-01T00:00:00.0000000","validTo":"0001-01-01T00:00:00.0000000","soldAt":"0001-01-01T00:00:00.0000000","soldTicketOrderId":0}],"totals":{"ticketSpend":0,"ticketSpendLive":0,"webshopSpendMinor":0,"giftCardSpendMinor":0},"warnings":["String"],"statusCode":0,"message":"String"}