The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /Ams/{ClientID}/MarkupMacroComponents HTTP/1.1
Host: ws.yourmembership.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
MarkupType: None,
ComponentId: 0,
ComponentData:
{
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
},
MacroComponentName: String,
MacroComponentId: 0,
UsingRedis: True,
AppInitTime: 2025-01-15T07:15:52.7259632-05:00,
ServerID: WS-4-190-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:48:15.5064427-05:00,
Device: Desktop
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Components:
[
{
MacroComponentId: 0,
IsShared: False,
Name: String,
ComponentData:
{
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
}
}
],
ContainerId: 0,
MarkupType: None,
ComponentId: 0,
ComponentData:
{
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
},
MacroComponentName: String,
MacroComponentId: 0,
UsingRedis: True,
AppInitTime: 2025-01-15T07:15:52.7259632-05:00,
ServerID: WS-4-190-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:48:15.5064427-05:00,
Device: Desktop
}