POST api/pdf
Request Information
URI Parameters
None.
Body Parameters
DocumentsRequestedName | Description | Type | Additional information |
---|---|---|---|
doclist | Collection of StudentData |
None. |
|
duplex | boolean |
None. |
|
spacer | boolean |
None. |
|
Protect | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "doclist": [ { "student": "sample string 1", "barcode": "sample string 2" }, { "student": "sample string 1", "barcode": "sample string 2" } ], "duplex": true, "spacer": true, "Protect": true }
application/xml, text/xml
Sample:
<DocumentsRequested xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PDFMerge.Controllers"> <Protect>true</Protect> <doclist> <StudentData> <barcode>sample string 2</barcode> <student>sample string 1</student> </StudentData> <StudentData> <barcode>sample string 2</barcode> <student>sample string 1</student> </StudentData> </doclist> <duplex>true</duplex> <spacer>true</spacer> </DocumentsRequested>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>