Api Calls
URL : /v1.0/company/{companyId}/apicalls
Method : GET
Auth required : YES
Note
The lifetime of a queued request is a follows:
- Created.
HttpStatusCode
andHttpStatusReason
will be empty - Validated and queued.
HttpStatusCode
will be202
andHttpStatusReason
will 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.
HttpStatusCode
will remain202
andHttpStatusReason
will 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.
HttpStatusCode
will change to200
if 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."
}