Trendsic Platform Service

<back to all web services

ConferenceEditRegistrationRequest

Requires Authentication
Requires any of the roles:Agent, Administrator
The following routes are available for this service:
POST,OPTIONS/v1/ConferenceRegistrationEdit
"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 ConferenceEditRegistrationRequest {
    /** @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 ConferenceEditRegistrationRequest 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

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /v1/ConferenceRegistrationEdit HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/json
Content-Type: application/json
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-01T00:00:00.0000000","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: application/json
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-01T00:00:00.0000000","RegName":"String","IsAF":0,"afTitle":"String","ConferenceRegistrationDetailId":"00000000000000000000000000000000"}]}