The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /Ams/{ClientID}/Groups HTTP/1.1
Host: ws.yourmembership.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
GroupID: 0,
GroupCode: String,
TypeID: 0,
Name: String,
Active: False,
Hidden: False,
Accessibility: 0,
Membership: 0,
Messaging: 0,
SendNewsletter: False,
EnableFeed: False,
AdminCanExportMembers: False,
PhotoApproval: False,
EmailOptionsAdmin: 0,
EmailOptionsMember: 0,
ShortDescription: String,
WelcomeContent: String,
UsingRedis: True,
AppInitTime: 2025-01-15T08:15:52.7673613-05:00,
ServerID: WS-5-99-907,
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:44:30.2723484-05:00,
Device: Desktop
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
GroupTypeList:
[
{
Id: 0,
TypeName: String,
SortIndex: 0,
Groups:
[
{
Id: 0,
Name: String,
Status: None,
JoinOption: CanJoin
}
]
}
],
GroupID: 0,
GroupCode: String,
TypeID: 0,
Name: String,
Active: False,
Hidden: False,
Accessibility: 0,
Membership: 0,
Messaging: 0,
SendNewsletter: False,
EnableFeed: False,
AdminCanExportMembers: False,
PhotoApproval: False,
EmailOptionsAdmin: 0,
EmailOptionsMember: 0,
ShortDescription: String,
WelcomeContent: String,
UsingRedis: True,
AppInitTime: 2025-01-15T08:15:52.7673613-05:00,
ServerID: WS-5-99-907,
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:44:30.2879823-05:00,
Device: Desktop
}