GET api/Documents

Get all documents related to a single Permit by tracking number

Request Information

URI Parameters

NameDescriptionType
trackingNumber

integer

Body Parameters

None.

Response Information

Resource Description

DocumentViewModel
NameDescriptionType
ID

Unique Identifier

integer
TrackingNumber

Tracking Number of the permit

decimal number
FileName

Name of the document

string
DisplayName

Display Name of the document

string
FileType

File Type Extension

string
FileSizeinKB

Size in KiloBytes

integer

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "TrackingNumber": 1.0,
  "FileName": "sample string 2",
  "DisplayName": "sample string 3",
  "FileType": "sample string 4",
  "FileSizeinKB": 1
}

application/xml, text/xml

Sample:
<DocumentViewModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <TrackingNumber>1</TrackingNumber>
  <DocumentGroupName>sample string 2</DocumentGroupName>
  <DocumentName>sample string 3</DocumentName>
  <FileType>sample string 4</FileType>
  <FileSizeinKB>1</FileSizeinKB>
</DocumentViewModel>