Retrieves an API tracking log record with a specified ID.
Tracking API log retrieved.
id | string <= 50 characters Unique resource ID. Defaults to UUID v4. |
status | integer HTTP response code. |
url | string Address of the API request. |
route | string API request route. |
method | string HTTP method of the API request. |
request | string Request JSON-string. |
response | string Response JSON-string. |
object (HttpHeaders) HTTP headers. | |
object (HttpHeaders) HTTP headers. | |
object User who made the request. | |
ipAddress | string Client IP address. |
object IDs of related resources. | |
duration | integer Request duration in milliseconds. |
organizationId | string (OrganizationId) <= 50 characters Unique organization identifier. An organization is an entity that represents a company. For more information, see Obtain an organization ID. |
createdTime | string <date-time> (CreatedTime) Date and time which is set automatically when the resource is created. |
updatedTime | string <date-time> (UpdatedTime) Date and time which updates automatically when the resource is updated. |
Array of objects (SelfLink) Related links. | |
Unauthorized access. Invalid credentials used.
Access forbidden.
Resource not found.
$apiTrackingLog = $client->apiTracking()->load('apiLogId');
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "status": 0,
- "url": "string",
- "route": "/customers/{param}",
- "method": "HEAD",
- "request": "string",
- "response": "string",
- "requestHeaders": {
- "Content-Type": "application/json",
- "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
}, - "responseHeaders": {
- "Content-Type": "application/json",
- "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
}, - "user": {
- "userId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "apiKeyId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "email": "user@example.com",
- "firstName": "string",
- "lastName": "string",
- "ipAddress": "192.168.0.1",
- "userAgent": "string",
- "fingerprint": "string",
- "isSupport": true
}, - "ipAddress": "string",
- "relatedIds": {
- "customerId": "cus_0YV7DDSDD1C8DA64KHH2W33CPF",
- "transactionId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "tokenId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21"
}, - "duration": 0,
- "organizationId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}