HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /service/UpdateMailchimpList HTTP/1.1
Host: www.bernhardthospitality.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
beamerAddress: String,
campaignDefaults:
{
fromEmail: String,
fromName: String,
language: String,
subject: String
},
contact:
{
address1: String,
address2: String,
city: String,
company: String,
country: String,
phone: String,
state: String,
zip: String
},
dateCreated: 0001-01-01,
emailTypeOption: False,
id: String,
webId: 0,
listRating: 0,
modules:
[
{
}
],
name: String,
notifyOnSubscribe: String,
notifyOnUnsubscribe: String,
permissionReminder: String,
stats:
{
avgSubRate: 0,
avgUnsubRate: 0,
campaignCount: 0,
campaignLastSent: String,
cleanedCount: 0,
cleanedCountSinceSend: 0,
clickRate: 0,
lastSubDate: String,
lastUnsubDate: String,
memberCount: 0,
memberCountSinceSend: 0,
mergeFieldCount: 0,
openRate: 0,
targetSubRate: 0,
unsubscribeCount: 0,
unsubscribeCountSinceSend: 0
},
subscribeUrlLong: String,
subscribeUrlShort: String,
useArchiveBar: False,
visibility: Public
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
beamerAddress: String,
campaignDefaults:
{
fromEmail: String,
fromName: String,
language: String,
subject: String
},
contact:
{
address1: String,
address2: String,
city: String,
company: String,
country: String,
phone: String,
state: String,
zip: String
},
dateCreated: 0001-01-01,
emailTypeOption: False,
id: String,
webId: 0,
listRating: 0,
modules:
[
{
}
],
name: String,
notifyOnSubscribe: String,
notifyOnUnsubscribe: String,
permissionReminder: String,
stats:
{
avgSubRate: 0,
avgUnsubRate: 0,
campaignCount: 0,
campaignLastSent: String,
cleanedCount: 0,
cleanedCountSinceSend: 0,
clickRate: 0,
lastSubDate: String,
lastUnsubDate: String,
memberCount: 0,
memberCountSinceSend: 0,
mergeFieldCount: 0,
openRate: 0,
targetSubRate: 0,
unsubscribeCount: 0,
unsubscribeCountSinceSend: 0
},
subscribeUrlLong: String,
subscribeUrlShort: String,
useArchiveBar: False,
visibility: Public
}