Trendsic Platform Service

<back to all web services

ConferenceRegistrationRequest

Requires Authentication
Requires any of the roles:Agent, Administrator, Agent, Administrator
The following routes are available for this service:
GET,/v1/ConferenceRegistration/{ConferenceId}
POST,OPTIONS/v1/ConferenceRegistration
GET/v1/ConferenceRegistration/{ConferenceId}/{UserId}
"use strict";
export class ConferenceRegistration {
    /** @param {{ConferenceRegistrationId?:string,ConferenceId?:string,UserId?:string,ConferencePackage?:string,PaymentMethod?:string,TotalCost?:number,TotalEditCost?:number,StripeChargeId?:string,DateCreated?:string,RegName?:string,IsAF?:number,afTitle?:string,ConferenceRegistrationDetailId?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    ConferenceRegistrationId;
    /** @type {string} */
    ConferenceId;
    /** @type {string} */
    UserId;
    /** @type {string} */
    ConferencePackage;
    /** @type {string} */
    PaymentMethod;
    /** @type {number} */
    TotalCost;
    /** @type {number} */
    TotalEditCost;
    /** @type {string} */
    StripeChargeId;
    /** @type {string} */
    DateCreated;
    /** @type {string} */
    RegName;
    /** @type {number} */
    IsAF;
    /** @type {string} */
    afTitle;
    /** @type {string} */
    ConferenceRegistrationDetailId;
}
export class ConferenceRegistrationResponse {
    /** @param {{ResponseStatus?:ResponseStatus,ConferenceRegistration?:ConferenceRegistration[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {ResponseStatus} */
    ResponseStatus;
    /** @type {ConferenceRegistration[]} */
    ConferenceRegistration = [];
}
export class ConferenceRegistrationDetail {
    /** @param {{ConferenceRegistrationDetailId?:string,ConferenceRegistrationId?:string,Name?:string,IsAF?:boolean,AFTitle?:string,ConferencePackage?:string,RoommateRequest?:string,Spouse?:boolean,SpouseName?:string,VIP?:boolean,AttendingClass?:boolean,AttendingAcademy?:boolean}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    ConferenceRegistrationDetailId;
    /** @type {string} */
    ConferenceRegistrationId;
    /** @type {string} */
    Name;
    /** @type {boolean} */
    IsAF;
    /** @type {string} */
    AFTitle;
    /** @type {string} */
    ConferencePackage;
    /** @type {string} */
    RoommateRequest;
    /** @type {boolean} */
    Spouse;
    /** @type {string} */
    SpouseName;
    /** @type {boolean} */
    VIP;
    /** @type {boolean} */
    AttendingClass;
    /** @type {boolean} */
    AttendingAcademy;
}
export class ConferenceRegistrationRequest {
    /** @param {{ConferenceId?:string,UserId?:string,ConferenceRegistration?:ConferenceRegistration[],ConferenceRegistrationDetails?:ConferenceRegistrationDetail[],StripeToken?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    ConferenceId;
    /** @type {string} */
    UserId;
    /** @type {ConferenceRegistration[]} */
    ConferenceRegistration = [];
    /** @type {ConferenceRegistrationDetail[]} */
    ConferenceRegistrationDetails = [];
    /** @type {string} */
    StripeToken;
}

JavaScript ConferenceRegistrationRequest 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 /v1/ConferenceRegistration HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	ConferenceId: 00000000000000000000000000000000,
	UserId: 00000000000000000000000000000000,
	ConferenceRegistration: 
	[
		{
			ConferenceRegistrationId: 00000000000000000000000000000000,
			ConferenceId: 00000000000000000000000000000000,
			UserId: 00000000000000000000000000000000,
			ConferencePackage: String,
			PaymentMethod: String,
			TotalCost: 0,
			TotalEditCost: 0,
			StripeChargeId: String,
			DateCreated: 0001-01-01,
			RegName: String,
			IsAF: 0,
			afTitle: String,
			ConferenceRegistrationDetailId: 00000000000000000000000000000000
		}
	],
	ConferenceRegistrationDetails: 
	[
		{
			ConferenceRegistrationDetailId: 00000000000000000000000000000000,
			ConferenceRegistrationId: 00000000000000000000000000000000,
			Name: String,
			IsAF: False,
			AFTitle: String,
			ConferencePackage: String,
			RoommateRequest: String,
			Spouse: False,
			SpouseName: String,
			VIP: False,
			AttendingClass: False,
			AttendingAcademy: False
		}
	],
	StripeToken: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	ConferenceRegistration: 
	[
		{
			ConferenceRegistrationId: 00000000000000000000000000000000,
			ConferenceId: 00000000000000000000000000000000,
			UserId: 00000000000000000000000000000000,
			ConferencePackage: String,
			PaymentMethod: String,
			TotalCost: 0,
			TotalEditCost: 0,
			StripeChargeId: String,
			DateCreated: 0001-01-01,
			RegName: String,
			IsAF: 0,
			afTitle: String,
			ConferenceRegistrationDetailId: 00000000000000000000000000000000
		}
	]
}