| GET,POST,PUT,DELETE,OPTIONS | /v1/ConferenceRegistrationDetail/{ConferenceRegistrationDetailId} | ||
|---|---|---|---|
| GET,POST,PUT,DELETE,OPTIONS | /v1/ConferenceRegistrationDetail |
namespace CRM.AgencyPlatform.API.Internal
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type ConferenceRegistrationDetail() =
member val ConferenceRegistrationDetailId:Guid = new Guid() with get,set
member val ConferenceRegistrationId:Guid = new Guid() with get,set
member val Name:String = null with get,set
member val IsAF:Boolean = new Boolean() with get,set
member val AFTitle:String = null with get,set
member val ConferencePackage:String = null with get,set
member val RoommateRequest:String = null with get,set
member val Spouse:Boolean = new Boolean() with get,set
member val SpouseName:String = null with get,set
member val VIP:Boolean = new Boolean() with get,set
member val AttendingClass:Boolean = new Boolean() with get,set
member val AttendingAcademy:Boolean = new Boolean() with get,set
[<AllowNullLiteral>]
type ConferenceRegistrationDetailResponse() =
member val ResponseStatus:ResponseStatus = null with get,set
member val ConferenceRegistrationDetail:ResizeArray<ConferenceRegistrationDetail> = new ResizeArray<ConferenceRegistrationDetail>() with get,set
[<AllowNullLiteral>]
type ConferenceRegistrationDetailRequest() =
member val ConferenceRegistrationDetail:ResizeArray<ConferenceRegistrationDetail> = new ResizeArray<ConferenceRegistrationDetail>() with get,set
F# ConferenceRegistrationDetailRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/ConferenceRegistrationDetail/{ConferenceRegistrationDetailId} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ConferenceRegistrationDetail:
[
{
ConferenceRegistrationDetailId: 00000000000000000000000000000000,
ConferenceRegistrationId: 00000000000000000000000000000000,
Name: String,
IsAF: False,
AFTitle: String,
ConferencePackage: String,
RoommateRequest: String,
Spouse: False,
SpouseName: String,
VIP: False,
AttendingClass: False,
AttendingAcademy: False
}
]
}
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
}
},
ConferenceRegistrationDetail:
[
{
ConferenceRegistrationDetailId: 00000000000000000000000000000000,
ConferenceRegistrationId: 00000000000000000000000000000000,
Name: String,
IsAF: False,
AFTitle: String,
ConferencePackage: String,
RoommateRequest: String,
Spouse: False,
SpouseName: String,
VIP: False,
AttendingClass: False,
AttendingAcademy: False
}
]
}