Update journals as rejected
Technical Preview
Update 'Posted' or 'Pending post' journals as rejected or override the properties of already rejected journls
Path parameters
-
engagementSid
string Required The engagement SID
Body
Required
The details of the journals
-
journalGuids
array[string(uuid)] Required At least
1
but not more than1000
elements. -
rejectReason
string Required Maximum length is
800
.
PUT
/api/v1.0/engagements/{engagementSid}/journal-entries/command/reject/bulk
curl \
--request PUT 'https://journal.adra.com/api/v1.0/engagements/{engagementSid}/journal-entries/command/reject/bulk' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"journalGuids":["string"],"rejectReason":"string"}'
Request examples
{
"journalGuids": [
"string"
],
"rejectReason": "string"
}
Response examples (200)
[
{
"journalGuid": "string",
"statusReason": "string",
"statusCode": "Continue"
}
]
Response examples (400)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}
Response examples (409)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}
Response examples (default)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}