TicketUserServices

<back to all web services

SupportCustomer360Request

Requires Authentication
Requires the role:AdminRequires the permission:ReadData
The following routes are available for this service:
POST/Support/Customer360
SupportCustomer360Request Parameters:
NameParameterData TypeRequiredDescription
PhonebodystringNo
EmailbodystringNo
SupportCustomer360Result Parameters:
NameParameterData TypeRequiredDescription
PhoneformstringNo
EmailformstringNo
TicketsformList<SupportTicketRow>No
OwnerCardsformList<SupportOwnerCardRow>No
WebshopOrdersformList<SupportWebshopOrderRow>No
GiftCardsformList<SupportGiftCardRow>No
SharedTicketLinksformList<SupportSharedLinkRow>No
TotalsformSupportCustomerTotalsNo
WarningsformList<string>No
StatusCodeformintNo
MessageformstringNo
SupportTicketRow Parameters:
NameParameterData TypeRequiredDescription
TicketIdformint?No
TicketTokenIdformstringNo
EventIdformint?No
EventformstringNo
TimeOfEventUTCformDateTime?No
EventOwnerIdformint?No
EventOwnerNameformstringNo
TicketStatusformstringNo
TicketNameformstringNo
PaymentMethodIdformstringNo
PaymentIdformstringNo
PaymentReferenceformstringNo
TimestampBoughtformDateTime?No
TimestampActivatedformDateTime?No
HolderNameformstringNo
PhoneVerificationNumberformstringNo
PaymentPhoneNumberformstringNo
SeatDisplayStringformstringNo
SectionNameformstringNo
RowNameformstringNo
SeatNameformstringNo
TotalPriceformdecimal?No
Countformint?No
TicketTransferredFromformint?No
OriginalPhoneVerificationNumberformstringNo
DeviceIdformstringNo
NeverOpenedformboolNo
SupportOwnerCardRow Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
OwnerIdformintNo
OwnerNameformstringNo
OwnerCardTypeIdformint?No
OwnerCardTypeNameformstringNo
HolderNameformstringNo
HolderEmailformstringNo
PhoneVerificationNumberformstringNo
PaymentPhoneNumberformstringNo
PaymentStatusformstringNo
PaymentMethodIdformstringNo
PaymentIdformstringNo
PaymentReferenceformstringNo
TimeStampBoughtUTCformDateTime?No
CardValidFromUTCformDateTime?No
CardValidToUTCformDateTime?No
InitialMaxTicketsformint?No
CurrentAvailableTicketsformint?No
CardPriceformdecimal?No
PricePaidformdecimal?No
CurrentStoreCreditformdecimal?No
SupportWebshopOrderRow Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
OrderReferenceformstringNo
OwnerIdformintNo
OwnerNameformstringNo
StatusformstringNo
TotalMinorformintNo
DeliveryFeeMinorformintNo
TotalDiscountMinorformintNo
GiftPaidMinorformintNo
CurrencyformstringNo
DeliveryTypeformstringNo
PaymentMethodIdformstringNo
PaymentIdformstringNo
PaymentReferenceformstringNo
CreatedAtformDateTime?No
UpdatedAtformDateTime?No
BuyerNameformstringNo
BuyerEmailformstringNo
BuyerPhoneformstringNo
LinesformList<WebshopOrderLine>No
WebshopOrderLine Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
OrderIdformintNo
ProductIdformintNo
VariantIdformintNo
ProductNameformstringNo
SizeformstringNo
ColorformstringNo
UnitPriceMinorformintNo
QuantityformintNo
LineTotalMinorformintNo
StatusformstringNo
LegacyDetailIdformint?No
CreatedAtformDateTimeNo
SupportGiftCardRow Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
CodeLast4formstringNo
CodeMaskedformstringNo
StatusformstringNo
ScopeformstringNo
ScopeOwnerIdformint?No
ScopeOwnerNameformstringNo
PurchaseOwnerIdformint?No
PurchaseOwnerNameformstringNo
CurrencyformstringNo
InitialValueMinorformintNo
CurrentBalanceMinorformintNo
CreatedAtformDateTime?No
ActivatedAtformDateTime?No
ExpiresAtformDateTime?No
PurchasePaymentReferenceformstringNo
PaymentIdformstringNo
PaymentMethodIdformstringNo
BuyerNameformstringNo
BuyerEmailformstringNo
BuyerPhoneformstringNo
SupportSharedLinkRow Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
EventIdformintNo
EventNameformstringNo
EventOwnerIdformintNo
EventOwnerNameformstringNo
StatusformstringNo
RecipientPhoneformstringNo
RecipientEmailformstringNo
TicketCountformintNo
CreatedAtformDateTime?No
ValidToformDateTime?No
SoldAtformDateTime?No
SoldTicketOrderIdformint?No
SupportCustomerTotals Parameters:
NameParameterData TypeRequiredDescription
TicketSpendformdecimalNo
TicketSpendLiveformdecimalNo
WebshopSpendMinorformlongNo
GiftCardSpendMinorformlongNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

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: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	phone: String,
	email: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	phone: String,
	email: String,
	tickets: 
	[
		{
			ticketId: 0,
			ticketTokenId: String,
			eventId: 0,
			event: String,
			timeOfEventUTC: 0001-01-01,
			eventOwnerId: 0,
			eventOwnerName: String,
			ticketStatus: String,
			ticketName: String,
			paymentMethodId: String,
			paymentId: String,
			paymentReference: String,
			timestampBought: 0001-01-01,
			timestampActivated: 0001-01-01,
			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-01,
			cardValidFromUTC: 0001-01-01,
			cardValidToUTC: 0001-01-01,
			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-01,
			updatedAt: 0001-01-01,
			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-01
				}
			]
		}
	],
	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-01,
			activatedAt: 0001-01-01,
			expiresAt: 0001-01-01,
			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-01,
			validTo: 0001-01-01,
			soldAt: 0001-01-01,
			soldTicketOrderId: 0
		}
	],
	totals: 
	{
		ticketSpend: 0,
		ticketSpendLive: 0,
		webshopSpendMinor: 0,
		giftCardSpendMinor: 0
	},
	warnings: 
	[
		String
	],
	statusCode: 0,
	message: String
}