EMUN1 ASP.NET

<back to all web services

RasterizePdf

The following routes are available for this service:
All Verbs/service/RasterizePdf
RasterizePdf Parameters:
NameParameterData TypeRequiredDescription
KeyquerystringNo
BucketNamequerystringNo
PdfRasterized Parameters:
NameParameterData TypeRequiredDescription
PagesformList<ProductCatalogPage>No
ProductCatalogPage Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
CatalogIdformstringNo
SectionIdformstringNo
PageNumformintNo
PositionformintNo
RepCustomformboolNo
MediaIdformstringNo
ModifiedOnformDateTimeNo
LastModifiedOnformDateTimeNo
LabelformstringNo
AttributesformProductCatalogPageAttributesNo
UrlformstringNo
OverviewformstringNo
DescriptionformstringNo
Widthformdouble?No
Heightformdouble?No
TypeformstringNo
PageCountformint?No
LayoutformstringNo
HotspotsformList<ProductCatalogHotspot>No
EntityBase<K> Parameters:
NameParameterData TypeRequiredDescription
IdformKNo
ProductCatalogPageAttributes Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
EuidformGuid?No
LabelformstringNo
DescriptionformstringNo
OverviewformstringNo
RealmformstringNo
UrlformstringNo
ContentTypeformstringNo
Heightformdouble?No
Widthformdouble?No
RefIdformstringNo
ProductCatalogHotspot Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
PageIdformstringNo
ActionformHotspotActionsNo
ProductIdformstringNo
MediaIdformstringNo
YouTubeIdformstringNo
ExternalResourceformstringNo
LinkedSectionIdformstringNo
LinkedCatalogIdformstringNo
LinkedPageIdformstringNo
MetaformDictionary<string, string>No
ProductIdsformIEnumerable<string>No
OriginalWidthformintNo
OriginalHeightformintNo
LeftformintNo
TopformintNo
RightformintNo
BottomformintNo
WidthformintNo
HeightformintNo
GeneratedformboolNo
RepCustomformboolNo
PositionformintNo
ModifiedOnformDateTimeNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /service/RasterizePdf HTTP/1.1 
Host: www.bernhardthospitality.com 
Accept: application/xlsx
Content-Type: application/xlsx
Content-Length: length

{"key":"String","bucketName":"String"}
HTTP/1.1 200 OK
Content-Type: application/xlsx
Content-Length: length

{"pages":[{"id":"String","catalogId":"String","sectionId":"String","pageNum":0,"position":0,"repCustom":false,"mediaId":"String","modifiedOn":"0001-01-01T00:00:00.0000000Z","lastModifiedOn":"0001-01-01T00:00:00.0000000Z","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-01T00:00:00.0000000Z"}]}]}