GET api/Document/GetUserLicenseDocumentsForAdmin/{UserID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UserID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of R_AdminLicense
NameDescriptionTypeAdditional information
LicenseID

integer

None.

Deleted

boolean

None.

StatusChangeReason

string

Required

UserID

integer

Required

Matching regular expression pattern: ^[0-9]{1,11}$

DocumentID

integer

Required

Matching regular expression pattern: ^[0-9]{1,11}$

OfficialDocumentName

string

Required

DocumentStatus

VerificationStatus

Required

DocumentStartDate

date

Required

Data type: DateTime

DocumentEndDate

date

Required

Data type: DateTime

Comments

string

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "licenseID": 1,
    "deleted": true,
    "statusChangeReason": "sample string 3",
    "userID": 4,
    "documentID": 5,
    "officialDocumentName": "sample string 6",
    "documentStatus": "PENDING",
    "documentStartDate": "2019-12-10T08:45:38.6984901-07:00",
    "documentEndDate": "2019-12-10T08:45:38.6984901-07:00",
    "comments": "sample string 9"
  },
  {
    "licenseID": 1,
    "deleted": true,
    "statusChangeReason": "sample string 3",
    "userID": 4,
    "documentID": 5,
    "officialDocumentName": "sample string 6",
    "documentStatus": "PENDING",
    "documentStartDate": "2019-12-10T08:45:38.6984901-07:00",
    "documentEndDate": "2019-12-10T08:45:38.6984901-07:00",
    "comments": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfR_AdminLicense xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures">
  <R_AdminLicense>
    <Comments>sample string 9</Comments>
    <DocumentEndDate>2019-12-10T08:45:38.6984901-07:00</DocumentEndDate>
    <DocumentID>5</DocumentID>
    <DocumentStartDate>2019-12-10T08:45:38.6984901-07:00</DocumentStartDate>
    <DocumentStatus>PENDING</DocumentStatus>
    <OfficialDocumentName>sample string 6</OfficialDocumentName>
    <UserID>4</UserID>
    <StatusChangeReason>sample string 3</StatusChangeReason>
    <Deleted>true</Deleted>
    <LicenseID>1</LicenseID>
  </R_AdminLicense>
  <R_AdminLicense>
    <Comments>sample string 9</Comments>
    <DocumentEndDate>2019-12-10T08:45:38.6984901-07:00</DocumentEndDate>
    <DocumentID>5</DocumentID>
    <DocumentStartDate>2019-12-10T08:45:38.6984901-07:00</DocumentStartDate>
    <DocumentStatus>PENDING</DocumentStatus>
    <OfficialDocumentName>sample string 6</OfficialDocumentName>
    <UserID>4</UserID>
    <StatusChangeReason>sample string 3</StatusChangeReason>
    <Deleted>true</Deleted>
    <LicenseID>1</LicenseID>
  </R_AdminLicense>
</ArrayOfR_AdminLicense>

multipart/form-data

Sample:
<ArrayOfR_AdminLicense xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures"><R_AdminLicense><Comments>sample string 9</Comments><DocumentEndDate>2019-12-10T08:45:38.6984901-07:00</DocumentEndDate><DocumentID>5</DocumentID><DocumentStartDate>2019-12-10T08:45:38.6984901-07:00</DocumentStartDate><DocumentStatus>PENDING</DocumentStatus><OfficialDocumentName>sample string 6</OfficialDocumentName><UserID>4</UserID><StatusChangeReason>sample string 3</StatusChangeReason><Deleted>true</Deleted><LicenseID>1</LicenseID></R_AdminLicense><R_AdminLicense><Comments>sample string 9</Comments><DocumentEndDate>2019-12-10T08:45:38.6984901-07:00</DocumentEndDate><DocumentID>5</DocumentID><DocumentStartDate>2019-12-10T08:45:38.6984901-07:00</DocumentStartDate><DocumentStatus>PENDING</DocumentStatus><OfficialDocumentName>sample string 6</OfficialDocumentName><UserID>4</UserID><StatusChangeReason>sample string 3</StatusChangeReason><Deleted>true</Deleted><LicenseID>1</LicenseID></R_AdminLicense></ArrayOfR_AdminLicense>