HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /Ams/{ClientID}/Members HTTP/1.1
Host: ws.yourmembership.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
typeCode: String,
id: 0,
organization: String,
firstName: String,
lastName: String,
middleName: String,
nameSuffix: String,
emailAddress: String,
primaryAddress:
{
firstName: String,
lastName: String,
organization: String,
address1: String,
address2: String,
city: String,
location: String,
postalCode: String,
countryCode: String,
countryName: String,
areaCode: String,
phone: String
},
username: String,
password: String,
isMember: False,
expirationDate: String,
currentMembershipAllowsMultipleOpenInvoices: False,
currentMembershipInvoiceIsOpen: False,
currentMembershipInvoiceAwaitingAutoBill: False,
UsingRedis: True,
AppInitTime: 2025-01-15T07:45:29.5231982-05:00,
ServerID: WS-4-27-804,
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-15T09:03:33.3616896-05:00,
Device: Desktop
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
memberTypeId: 0,
typeCode: String,
id: 0,
organization: String,
firstName: String,
lastName: String,
middleName: String,
nameSuffix: String,
emailAddress: String,
primaryAddress:
{
firstName: String,
lastName: String,
organization: String,
address1: String,
address2: String,
city: String,
location: String,
postalCode: String,
countryCode: String,
countryName: String,
areaCode: String,
phone: String
},
username: String,
password: String,
isMember: False,
expirationDate: String,
currentMembershipAllowsMultipleOpenInvoices: False,
currentMembershipInvoiceIsOpen: False,
currentMembershipInvoiceAwaitingAutoBill: False,
UsingRedis: True,
AppInitTime: 2025-01-15T07:45:29.5231982-05:00,
ServerID: WS-4-27-804,
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-15T09:03:33.3774085-05:00,
Device: Desktop
}