The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /service/ImportProductCatalogPages HTTP/1.1
Host: www.bernhardthospitality.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
splitWidePdfPages:
[
String
],
mediaUrls:
[
String
],
dpi: 0,
quality: 0,
headers:
{
String: String
},
cookies:
{
String: String
},
callbackUrl: String,
clientId: bh074-hospitality,
urls:
[
String
],
pageId: String,
id: String,
catalogId: String,
sectionId: String,
pageNum: 0,
position: 0,
repCustom: False,
mediaId: String,
modifiedOn: 0001-01-01,
lastModifiedOn: 0001-01-01,
label: String,
attributes:
{
id: 0,
euid: 00000000-0000-0000-0000-000000000000,
label: String,
description: String,
overview: String,
realm: String,
url: String,
contentType: String,
height: 0,
width: 0,
refId: String
},
url: String,
overview: String,
description: String,
width: 0,
height: 0,
type: String,
pageCount: 0,
layout: String,
hotspots:
[
{
id: String,
pageId: String,
action: None,
productId: String,
meta:
{
String: String
},
originalWidth: 0,
originalHeight: 0,
left: 0,
top: 0,
right: 0,
bottom: 0,
width: 0,
height: 0,
generated: False,
repCustom: False,
position: 0,
modifiedOn: 0001-01-01
}
]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
sections:
[
{
id: String,
catalogId: String,
label: String,
cover: String,
position: 0,
startPageNum: 0,
endPageNum: 0,
pageCount: 0
}
],
pages:
[
{
id: String,
catalogId: String,
sectionId: String,
pageNum: 0,
position: 0,
repCustom: False,
mediaId: String,
modifiedOn: 0001-01-01,
lastModifiedOn: 0001-01-01,
label: String,
attributes:
{
id: 0,
euid: 00000000-0000-0000-0000-000000000000,
label: String,
description: String,
overview: String,
realm: String,
url: String,
contentType: String,
height: 0,
width: 0,
refId: String
},
url: String,
overview: String,
description: String,
width: 0,
height: 0,
type: String,
pageCount: 0,
layout: String,
hotspots:
[
{
id: String,
pageId: String,
action: None,
productId: String,
meta:
{
String: String
},
originalWidth: 0,
originalHeight: 0,
left: 0,
top: 0,
right: 0,
bottom: 0,
width: 0,
height: 0,
generated: False,
repCustom: False,
position: 0,
modifiedOn: 0001-01-01
}
]
}
],
skipped:
[
{
id: String,
catalogId: String,
sectionId: String,
pageNum: 0,
position: 0,
repCustom: False,
mediaId: String,
modifiedOn: 0001-01-01,
lastModifiedOn: 0001-01-01,
label: String,
attributes:
{
id: 0,
euid: 00000000-0000-0000-0000-000000000000,
label: String,
description: String,
overview: String,
realm: String,
url: String,
contentType: String,
height: 0,
width: 0,
refId: String
},
url: String,
overview: String,
description: String,
width: 0,
height: 0,
type: String,
pageCount: 0,
layout: String,
hotspots:
[
{
id: String,
pageId: String,
action: None,
productId: String,
meta:
{
String: String
},
originalWidth: 0,
originalHeight: 0,
left: 0,
top: 0,
right: 0,
bottom: 0,
width: 0,
height: 0,
generated: False,
repCustom: False,
position: 0,
modifiedOn: 0001-01-01
}
]
}
]
}