GET api/Document?key={key}&allDocs={allDocs}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
key

integer

Required

allDocs

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PDFDocumentModel
NameDescriptionTypeAdditional information
key

integer

None.

fullName

string

None.

data

Collection of byte

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "key": 1,
    "fullName": "sample string 2",
    "data": "QEA="
  },
  {
    "key": 1,
    "fullName": "sample string 2",
    "data": "QEA="
  }
]

application/xml, text/xml

Sample:
<ArrayOfPDFDocumentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_10RuleAPI.Models.PDFDocument">
  <PDFDocumentModel>
    <data>QEA=</data>
    <fullName>sample string 2</fullName>
    <key>1</key>
  </PDFDocumentModel>
  <PDFDocumentModel>
    <data>QEA=</data>
    <fullName>sample string 2</fullName>
    <key>1</key>
  </PDFDocumentModel>
</ArrayOfPDFDocumentModel>