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}
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports CRM.AgencyPlatform.API.Internal

Namespace Global

    Namespace CRM.AgencyPlatform.API.Internal

        Public Partial Class ConferenceRegistration
            Public Overridable Property ConferenceRegistrationId As Guid
            Public Overridable Property ConferenceId As Guid
            Public Overridable Property UserId As Guid
            Public Overridable Property ConferencePackage As String
            Public Overridable Property PaymentMethod As String
            Public Overridable Property TotalCost As Decimal
            Public Overridable Property TotalEditCost As Decimal
            Public Overridable Property StripeChargeId As String
            Public Overridable Property DateCreated As Date
            Public Overridable Property RegName As String
            Public Overridable Property IsAF As Integer
            Public Overridable Property afTitle As String
            Public Overridable Property ConferenceRegistrationDetailId As Guid
        End Class

        Public Partial Class ConferenceRegistrationDetail
            Public Overridable Property ConferenceRegistrationDetailId As Guid
            Public Overridable Property ConferenceRegistrationId As Guid
            Public Overridable Property Name As String
            Public Overridable Property IsAF As Boolean
            Public Overridable Property AFTitle As String
            Public Overridable Property ConferencePackage As String
            Public Overridable Property RoommateRequest As String
            Public Overridable Property Spouse As Boolean
            Public Overridable Property SpouseName As String
            Public Overridable Property VIP As Boolean
            Public Overridable Property AttendingClass As Boolean
            Public Overridable Property AttendingAcademy As Boolean
        End Class

        Public Partial Class ConferenceRegistrationRequest
            Public Overridable Property ConferenceId As Guid
            Public Overridable Property UserId As Guid
            Public Overridable Property ConferenceRegistration As List(Of ConferenceRegistration) = New List(Of ConferenceRegistration)
            Public Overridable Property ConferenceRegistrationDetails As List(Of ConferenceRegistrationDetail) = New List(Of ConferenceRegistrationDetail)
            Public Overridable Property StripeToken As String
        End Class

        Public Partial Class ConferenceRegistrationResponse
            Public Overridable Property ResponseStatus As ResponseStatus
            Public Overridable Property ConferenceRegistration As List(Of ConferenceRegistration) = New List(Of ConferenceRegistration)
        End Class
    End Namespace
End Namespace

VB.NET ConferenceRegistrationRequest 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/ConferenceRegistration 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"}]}