POST /errors.json
Body Required
-
Entry
-
message string | null
Message
-
purchaseId integer(int32) | null
Purchase
-
purchaseInvoiceId integer(int32) | null
Purchase invoice
-
Resolved
Default value is
false
. -
stackTrace string | null
Stack trace
-
status string | null
Status
Values are
error
orsuccess
. -
variantId integer(int32) | null
Variant
POST /errors.json
curl \
-X POST http://api.example.com/v1/errors.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"entryId":"string","message":"string","problem":{},"purchaseId":42,"purchaseInvoiceId":42,"resolved":false,"stackTrace":"string","status":"error","variantId":42}'
Request example
{
"entryId": "string",
"message": "string",
"problem": {},
"purchaseId": 42,
"purchaseInvoiceId": 42,
"resolved": false,
"stackTrace": "string",
"status": "error",
"variantId": 42
}
Response examples (200)
{
"createdAt": "2024-05-04T09:42:00+00:00",
"entryId": "string",
"id": 42,
"message": "string",
"problem": {},
"purchaseId": 42,
"purchaseInvoiceId": 42,
"resolved": false,
"stackTrace": "string",
"status": "error",
"updatedAt": "2024-05-04T09:42:00+00:00",
"variantId": 42
}