TicketUserServices

<back to all web services

ReissueTicketRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdminRequired permission:ReadData
The following routes are available for this service:
POST/Ticket/Reissue

export class ReissueTicketResult
{
    public statusCode?: number;
    public message?: string;
    public ticketTokenId?: string;
    public previousTicketTokenId?: string;
    public phoneNumber?: string;
    public holderEmail?: string;
    public holderName?: string;
    public changed?: string[];
    public responseStatus?: ResponseStatus;

    public constructor(init?: Partial<ReissueTicketResult>) { (Object as any).assign(this, init); }
}

export class ReissueTicketRequest
{
    public ticketTokenId?: string;
    public eventOwnerId?: number;
    public newPhoneNumber?: string;
    public newEmail?: string;
    public newHolderName?: string;
    public reason?: string;

    public constructor(init?: Partial<ReissueTicketRequest>) { (Object as any).assign(this, init); }
}

TypeScript ReissueTicketRequest DTOs

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 /Ticket/Reissue HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	ticketTokenId: String,
	eventOwnerId: 0,
	newPhoneNumber: String,
	newEmail: String,
	newHolderName: String,
	reason: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	statusCode: 0,
	message: String,
	ticketTokenId: String,
	previousTicketTokenId: String,
	phoneNumber: String,
	holderEmail: String,
	holderName: String,
	changed: 
	[
		String
	],
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String,
				meta: 
				{
					String: String
				}
			}
		],
		meta: 
		{
			String: String
		}
	}
}