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/csv
Content-Type: text/csv
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-15T06:05:49.4554707-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:57:24.1101853-05:00","Device":"Desktop"}
HTTP/1.1 200 OK
Content-Type: text/csv
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-15T06:05:49.4554707-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:57:24.1101853-05:00","Device":"Desktop"}