POST api/documentmanagement/concatenate

Request Information

URI Parameters

None.

Body Parameters

Collection of PDFContentData
NameDescriptionTypeAdditional information
HtmlString

Collection of string

None.

Buffer

Collection of byte

None.

Type

string

None.

FileName

string

None.

FilePaths

Collection of string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "htmlString": [
      "sample string 1",
      "sample string 2"
    ],
    "buffer": "QEA=",
    "type": "sample string 1",
    "fileName": "sample string 2",
    "filePaths": [
      "sample string 1",
      "sample string 2"
    ]
  },
  {
    "htmlString": [
      "sample string 1",
      "sample string 2"
    ],
    "buffer": "QEA=",
    "type": "sample string 1",
    "fileName": "sample string 2",
    "filePaths": [
      "sample string 1",
      "sample string 2"
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfPDFContentData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOL.WHD.Section14c.PdfApi.PdfHelper">
  <PDFContentData>
    <Buffer>QEA=</Buffer>
    <FileName>sample string 2</FileName>
    <FilePaths xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </FilePaths>
    <HtmlString xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </HtmlString>
    <Type>sample string 1</Type>
  </PDFContentData>
  <PDFContentData>
    <Buffer>QEA=</Buffer>
    <FileName>sample string 2</FileName>
    <FilePaths xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </FilePaths>
    <HtmlString xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </HtmlString>
    <Type>sample string 1</Type>
  </PDFContentData>
</ArrayOfPDFContentData>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.