The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /Ams/{ClientID}/Event/{EventId}/Tickets HTTP/1.1
Host: ws.yourmembership.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
TicketId: 0,
EventId: 0,
DateCreated: 0001-01-01,
Name: String,
Quantity: 0,
ChargeForEvent: False,
Active: False,
Required: False,
Type: Product,
Description: String,
Category: 0,
UseInventory: False,
Available: Both,
SKU: String,
GLCode: String,
QBClass: String,
UnitPrice: 0,
Prices:
[
{
Id: 0,
Name: String,
Price: 0
}
],
ExcludeFromEvent: False,
PromoCodeIds:
[
0
],
IsForCopy: False,
IsForReuse: False,
IsLinked: False,
EventTicketLinkId: 0,
TaxLocationID: 0,
IsFreestoneProduct: False,
FreestoneProductTypeId: 0,
FreestoneCourseTypeId: 0,
IsFreestoneProductSynced: False,
UsingRedis: True,
AppInitTime: 2025-01-15T07:46:04.6467430-05:00,
ServerID: WS-6-64-014,
ClientID: 0,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
BypassCache: False,
DateCached: 2025-01-15T08:47:13.0201617-05:00,
Device: Desktop
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Tickets:
[
{
TicketId: 0,
EventId: 0,
DateCreated: 0001-01-01,
Name: String,
Quantity: 0,
ChargeForEvent: False,
Active: False,
Required: False,
Type: Product,
Description: String,
Category: 0,
UseInventory: False,
Available: Both,
SKU: String,
GLCode: String,
QBClass: String,
UnitPrice: 0,
Prices:
[
{
Id: 0,
Name: String,
Price: 0
}
],
ExcludeFromEvent: False,
PromoCodeIds:
[
0
],
IsForCopy: False,
IsForReuse: False,
IsLinked: False,
EventTicketLinkId: 0,
TaxLocationID: 0,
IsFreestoneProduct: False,
FreestoneProductTypeId: 0,
FreestoneCourseTypeId: 0,
IsFreestoneProductSynced: False,
UsingRedis: True,
AppInitTime: 2025-01-15T07:46:04.6467430-05:00,
ServerID: WS-6-64-014,
ClientID: 0,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
BypassCache: False,
DateCached: 2025-01-15T08:47:13.0201617-05:00,
Device: Desktop
}
],
RestrictAvailableTypes: False,
TicketId: 0,
EventId: 0,
DateCreated: 0001-01-01,
Name: String,
Quantity: 0,
ChargeForEvent: False,
Active: False,
Required: False,
Type: Product,
Description: String,
Category: 0,
UseInventory: False,
Available: Both,
SKU: String,
GLCode: String,
QBClass: String,
UnitPrice: 0,
Prices:
[
{
Id: 0,
Name: String,
Price: 0
}
],
ExcludeFromEvent: False,
PromoCodeIds:
[
0
],
IsForCopy: False,
IsForReuse: False,
IsLinked: False,
EventTicketLinkId: 0,
TaxLocationID: 0,
IsFreestoneProduct: False,
FreestoneProductTypeId: 0,
FreestoneCourseTypeId: 0,
IsFreestoneProductSynced: False,
UsingRedis: True,
AppInitTime: 2025-01-15T07:46:04.6467430-05:00,
ServerID: WS-6-64-014,
ClientID: 0,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
BypassCache: False,
DateCached: 2025-01-15T08:47:13.0357772-05:00,
Device: Desktop
}