The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /Ams/{ClientID}/Markup HTTP/1.1
Host: ws.yourmembership.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
MarkupId: 0,
MarkupData:
{
Settings:
{
FontFamily: String,
TextColor: String,
PageBackgroundColor: String,
CanvasBackgroundColor: String,
Width: 0,
Margin: 0,
IncludeViewInBrowser: False
},
Column:
[
{
ComponentType: Button,
ComponentName: String,
IsAtRootColumn: False,
CanHaveChildren: False,
OrderId: 0,
ButtonData:
{
Properties:
{
Text: String,
Link: String
},
Settings:
{
ButtonColor: String,
TextColor: String,
Alignment: String,
ButtonWidth: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
}
},
ImageData:
{
Properties:
{
URL: String,
HyperLink: String,
AltText: String
},
Settings:
{
Alignment: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0,
Width: 0,
Height: 0
}
},
DividerData:
{
Settings:
{
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0,
BorderColor: String,
Height: 0
}
},
TextData:
{
Properties:
{
Text: String
},
Settings:
{
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
}
},
ContainerData:
{
Properties: {},
Settings:
{
BackgroundColor: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
},
Columns:
[
[
{
ComponentType: Button,
ComponentName: String,
IsAtRootColumn: False,
CanHaveChildren: False,
OrderId: 0,
ButtonData:
{
Properties:
{
Text: String,
Link: String
},
Settings:
{
ButtonColor: String,
TextColor: String,
Alignment: String,
ButtonWidth: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
}
},
ImageData:
{
Properties:
{
URL: String,
HyperLink: String,
AltText: String
},
Settings:
{
Alignment: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0,
Width: 0,
Height: 0
}
},
DividerData:
{
Settings:
{
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0,
BorderColor: String,
Height: 0
}
},
TextData:
{
Properties:
{
Text: String
},
Settings:
{
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
}
},
ContainerData:
{
Properties: {},
Settings:
{
BackgroundColor: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
},
Columns:
[
[
{
ComponentType: Button,
ComponentName: String,
IsAtRootColumn: False,
CanHaveChildren: False,
OrderId: 0,
ButtonData:
{
Properties:
{
Text: String,
Link: String
},
Settings:
{
ButtonColor: String,
TextColor: String,
Alignment: String,
ButtonWidth: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
}
},
ImageData:
{
Properties:
{
URL: String,
HyperLink: String,
AltText: String
},
Settings:
{
Alignment: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0,
Width: 0,
Height: 0
}
},
DividerData:
{
Settings:
{
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0,
BorderColor: String,
Height: 0
}
},
TextData:
{
Properties:
{
Text: String
},
Settings:
{
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
}
},
ContainerData:
{
Properties: {},
Settings:
{
BackgroundColor: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
},
Columns: []
},
PlainText: String
}
]
]
},
PlainText: String
}
]
]
},
PlainText: String
}
]
},
MarkupName: String,
MarkupType: None,
MarkupTypeName: String,
TargetClientId: 0,
Template: False,
MarkupClass: All,
PageSize: 0,
PageNumber: 0,
CampaignId: 0,
DateCreated: 0001-01-01,
DateLastModified: 0001-01-01,
AdminLastModified: String,
MaxComponents: 0,
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:48:03.7618121-05:00,
Device: Desktop
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
MarkupList:
[
{
MarkupId: 0,
MarkupData:
{
Settings:
{
FontFamily: String,
TextColor: String,
PageBackgroundColor: String,
CanvasBackgroundColor: String,
Width: 0,
Margin: 0,
IncludeViewInBrowser: False
},
Column:
[
{
ComponentType: Button,
ComponentName: String,
IsAtRootColumn: False,
CanHaveChildren: False,
OrderId: 0,
ButtonData:
{
Properties:
{
Text: String,
Link: String
},
Settings:
{
ButtonColor: String,
TextColor: String,
Alignment: String,
ButtonWidth: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
}
},
ImageData:
{
Properties:
{
URL: String,
HyperLink: String,
AltText: String
},
Settings:
{
Alignment: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0,
Width: 0,
Height: 0
}
},
DividerData:
{
Settings:
{
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0,
BorderColor: String,
Height: 0
}
},
TextData:
{
Properties:
{
Text: String
},
Settings:
{
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
}
},
ContainerData:
{
Properties: {},
Settings:
{
BackgroundColor: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
},
Columns:
[
[
{
ComponentType: Button,
ComponentName: String,
IsAtRootColumn: False,
CanHaveChildren: False,
OrderId: 0,
ButtonData:
{
Properties:
{
Text: String,
Link: String
},
Settings:
{
ButtonColor: String,
TextColor: String,
Alignment: String,
ButtonWidth: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
}
},
ImageData:
{
Properties:
{
URL: String,
HyperLink: String,
AltText: String
},
Settings:
{
Alignment: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0,
Width: 0,
Height: 0
}
},
DividerData:
{
Settings:
{
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0,
BorderColor: String,
Height: 0
}
},
TextData:
{
Properties:
{
Text: String
},
Settings:
{
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
}
},
ContainerData:
{
Properties: {},
Settings:
{
BackgroundColor: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
},
Columns:
[
[
{
ComponentType: Button,
ComponentName: String,
IsAtRootColumn: False,
CanHaveChildren: False,
OrderId: 0,
ButtonData:
{
Properties:
{
Text: String,
Link: String
},
Settings:
{
ButtonColor: String,
TextColor: String,
Alignment: String,
ButtonWidth: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
}
},
ImageData:
{
Properties:
{
URL: String,
HyperLink: String,
AltText: String
},
Settings:
{
Alignment: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0,
Width: 0,
Height: 0
}
},
DividerData:
{
Settings:
{
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0,
BorderColor: String,
Height: 0
}
},
TextData:
{
Properties:
{
Text: String
},
Settings:
{
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
}
},
ContainerData:
{
Properties: {},
Settings:
{
BackgroundColor: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
},
Columns: []
},
PlainText: String
}
]
]
},
PlainText: String
}
]
]
},
PlainText: String
}
]
},
MarkupName: String,
MarkupType: None,
MarkupTypeName: String,
TargetClientId: 0,
Template: False,
MarkupClass: All,
PageSize: 0,
PageNumber: 0,
CampaignId: 0,
DateCreated: 0001-01-01,
DateLastModified: 0001-01-01,
AdminLastModified: String,
MaxComponents: 0,
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:48:03.7774466-05:00,
Device: Desktop
}
],
TotalCount: 0,
MarkupId: 0,
MarkupData:
{
Settings:
{
FontFamily: String,
TextColor: String,
PageBackgroundColor: String,
CanvasBackgroundColor: String,
Width: 0,
Margin: 0,
IncludeViewInBrowser: False
},
Column:
[
{
ComponentType: Button,
ComponentName: String,
IsAtRootColumn: False,
CanHaveChildren: False,
OrderId: 0,
ButtonData:
{
Properties:
{
Text: String,
Link: String
},
Settings:
{
ButtonColor: String,
TextColor: String,
Alignment: String,
ButtonWidth: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
}
},
ImageData:
{
Properties:
{
URL: String,
HyperLink: String,
AltText: String
},
Settings:
{
Alignment: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0,
Width: 0,
Height: 0
}
},
DividerData:
{
Settings:
{
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0,
BorderColor: String,
Height: 0
}
},
TextData:
{
Properties:
{
Text: String
},
Settings:
{
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
}
},
ContainerData:
{
Properties: {},
Settings:
{
BackgroundColor: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
},
Columns:
[
[
{
ComponentType: Button,
ComponentName: String,
IsAtRootColumn: False,
CanHaveChildren: False,
OrderId: 0,
ButtonData:
{
Properties:
{
Text: String,
Link: String
},
Settings:
{
ButtonColor: String,
TextColor: String,
Alignment: String,
ButtonWidth: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
}
},
ImageData:
{
Properties:
{
URL: String,
HyperLink: String,
AltText: String
},
Settings:
{
Alignment: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0,
Width: 0,
Height: 0
}
},
DividerData:
{
Settings:
{
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0,
BorderColor: String,
Height: 0
}
},
TextData:
{
Properties:
{
Text: String
},
Settings:
{
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
}
},
ContainerData:
{
Properties: {},
Settings:
{
BackgroundColor: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
},
Columns:
[
[
{
ComponentType: Button,
ComponentName: String,
IsAtRootColumn: False,
CanHaveChildren: False,
OrderId: 0,
ButtonData:
{
Properties:
{
Text: String,
Link: String
},
Settings:
{
ButtonColor: String,
TextColor: String,
Alignment: String,
ButtonWidth: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
}
},
ImageData:
{
Properties:
{
URL: String,
HyperLink: String,
AltText: String
},
Settings:
{
Alignment: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0,
Width: 0,
Height: 0
}
},
DividerData:
{
Settings:
{
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0,
BorderColor: String,
Height: 0
}
},
TextData:
{
Properties:
{
Text: String
},
Settings:
{
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
}
},
ContainerData:
{
Properties: {},
Settings:
{
BackgroundColor: String,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0
},
Columns: []
},
PlainText: String
}
]
]
},
PlainText: String
}
]
]
},
PlainText: String
}
]
},
MarkupName: String,
MarkupType: None,
MarkupTypeName: String,
TargetClientId: 0,
Template: False,
MarkupClass: All,
PageSize: 0,
PageNumber: 0,
CampaignId: 0,
DateCreated: 0001-01-01,
DateLastModified: 0001-01-01,
AdminLastModified: String,
MaxComponents: 0,
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:48:03.7774466-05:00,
Device: Desktop
}