Documentation
Public API > Requests API.
Documentation Menu
Requests API
This page explains how to get your requests extracted. Note that the example array of requests entries further down shows only the first entry and a subset of scan results for readability. You can use query parameters to filter your search.
Resources
Headers
Filters
Filters can be supplied either as URL parameters or headers.
- Example url to get one pending request: https://dc1api.adminbyrequest.com/requests?status=pending&take=1&wantscandetails=1
- Pagination works by using the last id in the list and feeding it as startid in the next query
- To copy new data to your own system, we recommend to store the highest id (last entry in list) you have retrieved from a previous call and pass this number plus 1 as “startid”
Fields
Example of Successful Request
[
{
"id": 615669,
"traceNo": "34376579",
"settingsName": "Global",
"type": "Run As Admin",
"typeCode": 0,
"status": "Pending approval",
"statusCode": 4,
"reason": "Need to update reader. It says out of date when trying to open PDF files from our supplier.",
"approvedBy": null,
"deniedReason": null,
"deniedBy": null,
"requestTime": "2020-04-01T12:03:00",
"auditLogLink": "https://www.adminbyrequest.com/AuditLog?Page=AppElevations&ID=34376579&ShowFilter=false",
"user": {
"account": "ACME\\PDH",
"fullName": "Paul David Hewson",
"email": "pdh@acme.com",
"phone": "555.345.6789"
},
"computer": {
"name": "W1005623",
"platform": "Windows",
"platformCode": 0,
"make": "Dell Inc.",
"model": "XPS 15 9550"
},
"application": {
"file": "readerdc_uk_fb_crd_install.exe",
"name": "Adobe Download Manager",
"vendor": "Adobe Inc.",
"version": "2.0.0.495s",
"sha256": "9369FB712545F6B6FEC5FBF8B1DD228E57CA7899933BBE354B7C4351C8700C99",
"scanResult": "Clean",
"scanResultCode": 0,
"threat": null,
"virustotalLink": "https://www.virustotal.com/latest-scan/9369FB712545F6B6FEC5FBF8B1DD228E57CA7899933BBE354B7C4351C8700C99",
"preapproved": false
},
"scanResults": [
{
"scanResult": "Clean",
"scanResultCode": 0,
"engine": "BitDefender",
"threat": null
},
{
"scanResult": "Clean",
"scanResultCode": 0,
"engine": "CrowdStrike",
"threat": null
},
{
"scanResult": "Clean",
"scanResultCode": 0,
"engine": "McAfee",
"threat": null
}
]
}
]