POST Other/GetOrderPDF
Generates PDF
Request Information
URI Parameters
None.
Body Parameters
PDFModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TemplateAdd | boolean |
None. |
|
| TemplatePath | string |
None. |
|
| TemplateDark |
Hvis true bliver sideantal i hvid! |
boolean |
None. |
| Headline | string |
None. |
|
| ListCellHeadlines | Collection of PDFCellInformation |
None. |
|
| HeaderText | string |
None. |
|
| FooterText | string |
None. |
|
| LeftSectionValue | string |
None. |
|
| RightSectionValue | string |
None. |
|
| ListCellTitles | Collection of PDFCellTitle |
None. |
|
| ListCells | Collection of PDFCell |
None. |
|
| ListCellSum | Collection of PDFCellInformation |
None. |
Request Formats
application/json, text/json
Sample:
{
"TemplateAdd": true,
"TemplatePath": "sample string 2",
"TemplateDark": true,
"Headline": "sample string 4",
"ListCellHeadlines": [
{
"Key": "sample string 1",
"Value": "sample string 2"
},
{
"Key": "sample string 1",
"Value": "sample string 2"
}
],
"HeaderText": "sample string 5",
"FooterText": "sample string 6",
"LeftSectionValue": "sample string 7",
"RightSectionValue": "sample string 8",
"ListCellTitles": [
{
"CellValue": "sample string 1",
"CellAlignment": "sample string 2",
"CellWidth": 3,
"CellMaxCharacterLength": 4
},
{
"CellValue": "sample string 1",
"CellAlignment": "sample string 2",
"CellWidth": 3,
"CellMaxCharacterLength": 4
}
],
"ListCells": [
{
"CellValue": [
"sample string 1",
"sample string 2"
]
},
{
"CellValue": [
"sample string 1",
"sample string 2"
]
}
],
"ListCellSum": [
{
"Key": "sample string 1",
"Value": "sample string 2"
},
{
"Key": "sample string 1",
"Value": "sample string 2"
}
]
}
text/html
Sample:
{"TemplateAdd":true,"TemplatePath":"sample string 2","TemplateDark":true,"Headline":"sample string 4","ListCellHeadlines":[{"Key":"sample string 1","Value":"sample string 2"},{"Key":"sample string 1","Value":"sample string 2"}],"HeaderText":"sample string 5","FooterText":"sample string 6","LeftSectionValue":"sample string 7","RightSectionValue":"sample string 8","ListCellTitles":[{"CellValue":"sample string 1","CellAlignment":"sample string 2","CellWidth":3,"CellMaxCharacterLength":4},{"CellValue":"sample string 1","CellAlignment":"sample string 2","CellWidth":3,"CellMaxCharacterLength":4}],"ListCells":[{"CellValue":["sample string 1","sample string 2"]},{"CellValue":["sample string 1","sample string 2"]}],"ListCellSum":[{"Key":"sample string 1","Value":"sample string 2"},{"Key":"sample string 1","Value":"sample string 2"}]}
application/xml, text/xml
Sample:
<PDFModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CTHelpers">
<FooterText>sample string 6</FooterText>
<HeaderText>sample string 5</HeaderText>
<Headline>sample string 4</Headline>
<LeftSectionValue>sample string 7</LeftSectionValue>
<ListCellHeadlines>
<PDFCellInformation>
<Key>sample string 1</Key>
<Value>sample string 2</Value>
</PDFCellInformation>
<PDFCellInformation>
<Key>sample string 1</Key>
<Value>sample string 2</Value>
</PDFCellInformation>
</ListCellHeadlines>
<ListCellSum>
<PDFCellInformation>
<Key>sample string 1</Key>
<Value>sample string 2</Value>
</PDFCellInformation>
<PDFCellInformation>
<Key>sample string 1</Key>
<Value>sample string 2</Value>
</PDFCellInformation>
</ListCellSum>
<ListCellTitles>
<PDFCellTitle>
<CellAlignment>sample string 2</CellAlignment>
<CellMaxCharacterLength>4</CellMaxCharacterLength>
<CellValue>sample string 1</CellValue>
<CellWidth>3</CellWidth>
</PDFCellTitle>
<PDFCellTitle>
<CellAlignment>sample string 2</CellAlignment>
<CellMaxCharacterLength>4</CellMaxCharacterLength>
<CellValue>sample string 1</CellValue>
<CellWidth>3</CellWidth>
</PDFCellTitle>
</ListCellTitles>
<ListCells>
<PDFCell>
<CellValue xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>sample string 1</d4p1:string>
<d4p1:string>sample string 2</d4p1:string>
</CellValue>
</PDFCell>
<PDFCell>
<CellValue xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>sample string 1</d4p1:string>
<d4p1:string>sample string 2</d4p1:string>
</CellValue>
</PDFCell>
</ListCells>
<RightSectionValue>sample string 8</RightSectionValue>
<TemplateAdd>true</TemplateAdd>
<TemplateDark>true</TemplateDark>
<TemplatePath>sample string 2</TemplatePath>
</PDFModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
PDFOutputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PDFUri | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"PDFUri": "sample string 1"
}
text/html
Sample:
{"PDFUri":"sample string 1"}
application/xml, text/xml
Sample:
<PDFOutputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CTHelpers"> <PDFUri>sample string 1</PDFUri> </PDFOutputModel>