GET api/License/GetAllApprovedDocuments

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of R_License
NameDescriptionTypeAdditional information
LicenseID

integer

None.

DocumentID

integer

None.

OfficialDocumentName

string

None.

DocumentStatus

VerificationStatus

None.

ValidRegion

LicenseValidRegion

None.

DocumentStartDate

date

None.

DocumentEndDate

date

None.

FunctionStatus

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "licenseID": 1,
    "documentID": 2,
    "officialDocumentName": "sample string 3",
    "documentStatus": "PENDING",
    "validRegion": "COUNTRY",
    "documentStartDate": "2019-12-10T08:25:14.7342531-07:00",
    "documentEndDate": "2019-12-10T08:25:14.7342531-07:00",
    "functionStatus": true
  },
  {
    "licenseID": 1,
    "documentID": 2,
    "officialDocumentName": "sample string 3",
    "documentStatus": "PENDING",
    "validRegion": "COUNTRY",
    "documentStartDate": "2019-12-10T08:25:14.7342531-07:00",
    "documentEndDate": "2019-12-10T08:25:14.7342531-07:00",
    "functionStatus": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfR_License xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures">
  <R_License>
    <FunctionStatus>true</FunctionStatus>
    <DocumentEndDate>2019-12-10T08:25:14.7342531-07:00</DocumentEndDate>
    <DocumentID>2</DocumentID>
    <DocumentStartDate>2019-12-10T08:25:14.7342531-07:00</DocumentStartDate>
    <DocumentStatus>PENDING</DocumentStatus>
    <LicenseID>1</LicenseID>
    <OfficialDocumentName>sample string 3</OfficialDocumentName>
    <ValidRegion>COUNTRY</ValidRegion>
  </R_License>
  <R_License>
    <FunctionStatus>true</FunctionStatus>
    <DocumentEndDate>2019-12-10T08:25:14.7342531-07:00</DocumentEndDate>
    <DocumentID>2</DocumentID>
    <DocumentStartDate>2019-12-10T08:25:14.7342531-07:00</DocumentStartDate>
    <DocumentStatus>PENDING</DocumentStatus>
    <LicenseID>1</LicenseID>
    <OfficialDocumentName>sample string 3</OfficialDocumentName>
    <ValidRegion>COUNTRY</ValidRegion>
  </R_License>
</ArrayOfR_License>

multipart/form-data

Sample:
<ArrayOfR_License xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures"><R_License><FunctionStatus>true</FunctionStatus><DocumentEndDate>2019-12-10T08:25:14.7342531-07:00</DocumentEndDate><DocumentID>2</DocumentID><DocumentStartDate>2019-12-10T08:25:14.7342531-07:00</DocumentStartDate><DocumentStatus>PENDING</DocumentStatus><LicenseID>1</LicenseID><OfficialDocumentName>sample string 3</OfficialDocumentName><ValidRegion>COUNTRY</ValidRegion></R_License><R_License><FunctionStatus>true</FunctionStatus><DocumentEndDate>2019-12-10T08:25:14.7342531-07:00</DocumentEndDate><DocumentID>2</DocumentID><DocumentStartDate>2019-12-10T08:25:14.7342531-07:00</DocumentStartDate><DocumentStatus>PENDING</DocumentStatus><LicenseID>1</LicenseID><OfficialDocumentName>sample string 3</OfficialDocumentName><ValidRegion>COUNTRY</ValidRegion></R_License></ArrayOfR_License>