Api Calls
URL : /v1.0/company/{companyId}/apicalls
Method : GET
Auth required : YES
Note
The lifetime of a queued request is a follows:
- Created.
HttpStatusCodeandHttpStatusReasonwill be empty - Validated and queued.
HttpStatusCodewill be202andHttpStatusReasonwill beAccepted. If validation fails, the request will immediately change status to 4xx if it is deemed to be a problem with the data or 5xx if an unexpected problem has happened on the server. - Processing started.
HttpStatusCodewill remain202andHttpStatusReasonwill change toProcessing.... Usually processing will start within a couple of minutes, but if the server is busy it could take up to an hour. - Processing completed.
HttpStatusCodewill change to200if everything went okay. If not, the code and reason should provide some explanation.
Example
GET /v1.0/company/{companyId}/apicalls HTTP/1.1
Host: <API_ENDPOINT>
Authorization: Bearer <API_TOKEN_HERE>
Cache-Control: no-cache
Success Response
Code: 200 OK
[
{
"ApiOperationId": "GUID",
"UserId": "integer",
"Username": "string",
"CreatedOn": "DateTime",
"Method": "string",
"HttpStatusCode": "integer",
"HttpStatusReason": "string"
}
]
Error Response
Code: 401 Unauthorized
{
"Message": "Authorization has been denied for this request."
}