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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
key

integer

Required

type

integer

Required

Body Parameters

None.

Response Information

Resource Description

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="
}

application/xml, text/xml

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