HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /service/RenderDesign HTTP/1.1
Host: www.bernhardthospitality.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
render:
{
copyTo:
{
String:
[
String
]
},
label: String,
clearBackground: False,
isPrimary: False,
imageType: String,
quality: 0,
overlayId: String,
overlayUrl: String,
underlayId: String,
underlayUrl: String,
backgroundColor: String,
json: String,
svg: String,
bitmap: String,
fileName: string.string,
slug: String/string.string,
metaKey: StringString,
x: 0,
y: 0,
height: 0,
width: 0
},
overlayImage:
{
String: "String"
},
backgroundImage:
{
String: "String"
},
objects:
[
{
String: "String"
}
],
predecessor:
{
predecessorId: 0,
replacePredecessor: False,
contentType: String,
predecessor:
{
predecessorId: 0,
replacePredecessor: False,
contentType: String,
predecessor:
{
predecessorId: 0,
replacePredecessor: False,
contentType: String,
realm: String,
height: 0,
width: 0,
area: 0,
contentLength: 0,
clientId: String,
url: String,
originalUrl: String,
key: String,
tags:
{
String:
[
String
]
},
refId: String,
rating: 0,
restricted: False,
description: String,
label: String,
active: False,
id: 0,
createdBy: String,
createdOn: 0001-01-01,
lastModifiedOn: 0001-01-01,
lastModifiedBy: String,
position: 0
},
realm: String,
height: 0,
width: 0,
area: 0,
contentLength: 0,
clientId: String,
url: String,
originalUrl: String,
key: String,
tags:
{
String:
[
String
]
},
refId: String,
rating: 0,
restricted: False,
description: String,
label: String,
active: False,
id: 0,
createdBy: String,
createdOn: 0001-01-01,
lastModifiedOn: 0001-01-01,
lastModifiedBy: String,
position: 0
},
realm: String,
height: 0,
width: 0,
area: 0,
contentLength: 0,
clientId: String,
url: String,
originalUrl: String,
key: String,
tags:
{
String:
[
String
]
},
refId: String,
rating: 0,
restricted: False,
description: String,
label: String,
active: False,
id: 0,
createdBy: String,
createdOn: 0001-01-01,
lastModifiedOn: 0001-01-01,
lastModifiedBy: String,
position: 0
},
predecessorId: 0,
replacePredecessor: False,
contentType: String,
realm: String,
height: 0,
width: 0,
area: 0,
contentLength: 0,
clientId: String,
url: String,
originalUrl: String,
key: String,
tags:
{
String:
[
String
]
},
refId: String,
rating: 0,
restricted: False,
description: String,
label: String,
active: False,
id: 0,
createdBy: String,
createdOn: 0001-01-01,
lastModifiedOn: 0001-01-01,
lastModifiedBy: String,
position: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
render:
{
copyTo:
{
String:
[
String
]
},
label: String,
clearBackground: False,
isPrimary: False,
imageType: String,
quality: 0,
overlayId: String,
overlayUrl: String,
underlayId: String,
underlayUrl: String,
backgroundColor: String,
json: String,
svg: String,
bitmap: String,
fileName: string.string,
slug: String/string.string,
metaKey: StringString,
x: 0,
y: 0,
height: 0,
width: 0
},
overlayImage:
{
String: "String"
},
backgroundImage:
{
String: "String"
},
objects:
[
{
String: "String"
}
],
predecessor:
{
predecessorId: 0,
replacePredecessor: False,
contentType: String,
predecessor:
{
predecessorId: 0,
replacePredecessor: False,
contentType: String,
predecessor:
{
predecessorId: 0,
replacePredecessor: False,
contentType: String,
realm: String,
height: 0,
width: 0,
area: 0,
contentLength: 0,
clientId: String,
url: String,
originalUrl: String,
key: String,
tags:
{
String:
[
String
]
},
refId: String,
rating: 0,
restricted: False,
description: String,
label: String,
active: False,
id: 0,
createdBy: String,
createdOn: 0001-01-01,
lastModifiedOn: 0001-01-01,
lastModifiedBy: String,
position: 0
},
realm: String,
height: 0,
width: 0,
area: 0,
contentLength: 0,
clientId: String,
url: String,
originalUrl: String,
key: String,
tags:
{
String:
[
String
]
},
refId: String,
rating: 0,
restricted: False,
description: String,
label: String,
active: False,
id: 0,
createdBy: String,
createdOn: 0001-01-01,
lastModifiedOn: 0001-01-01,
lastModifiedBy: String,
position: 0
},
realm: String,
height: 0,
width: 0,
area: 0,
contentLength: 0,
clientId: String,
url: String,
originalUrl: String,
key: String,
tags:
{
String:
[
String
]
},
refId: String,
rating: 0,
restricted: False,
description: String,
label: String,
active: False,
id: 0,
createdBy: String,
createdOn: 0001-01-01,
lastModifiedOn: 0001-01-01,
lastModifiedBy: String,
position: 0
},
predecessorId: 0,
replacePredecessor: False,
contentType: String,
realm: String,
height: 0,
width: 0,
area: 0,
contentLength: 0,
clientId: String,
url: String,
originalUrl: String,
key: String,
tags:
{
String:
[
String
]
},
refId: String,
rating: 0,
restricted: False,
description: String,
label: String,
active: False,
id: 0,
createdBy: String,
createdOn: 0001-01-01,
lastModifiedOn: 0001-01-01,
lastModifiedBy: String,
position: 0
}