Mark a pending activity as failed when PDS write fails
Input
Encoding
application/jsoncollection
string
Required
NSID of the record collection
errorCode
string
Required
Error code identifying the failure type
maxLength: 50 byteserrorMessage
string
Required
Human-readable error message
maxLength: 1000 bytesrkey
string
Required
Record key (TID)
Output
Encoding
application/jsonsuccess
boolean
Required
Whether the activity was successfully marked as failed
Errors
AuthenticationRequired
NotFound
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Mark a pending activity as failed when PDS write fails",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "NotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"collection": {
"description": "NSID of the record collection",
"type": "string"
},
"errorCode": {
"description": "Error code identifying the failure type",
"maxLength": 50,
"type": "string"
},
"errorMessage": {
"description": "Human-readable error message",
"maxLength": 1000,
"type": "string"
},
"rkey": {
"description": "Record key (TID)",
"type": "string"
}
},
"required": [
"collection",
"rkey",
"errorCode",
"errorMessage"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"success": {
"description": "Whether the activity was successfully marked as failed",
"type": "boolean"
}
},
"required": [
"success"
],
"type": "object"
}
},
"type": "procedure"
}