Update journals as rejected Run in API Explorer

PUT /api/v1.0/engagements/{engagementSid}/journal-entries/command/reject/bulk

Update 'Posted' or 'Pending post' journals as rejected or override the properties of already rejected journls

Path parameters

  • engagementSid string Required

    The engagement SID

application/json

Body Required

The details of the journals

  • journalGuids array[string(uuid)] Required

    At least 1 but not more than 1000 elements.

  • rejectReason string Required

    Maximum length is 800.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • journalGuid string(uuid) Required
    • statusReason string | null Required
    • statusCode string Required

      Values are Continue, SwitchingProtocols, Processing, EarlyHints, OK, Created, Accepted, NonAuthoritativeInformation, NoContent, ResetContent, PartialContent, MultiStatus, AlreadyReported, IMUsed, MultipleChoices, Ambiguous, MovedPermanently, Moved, Found, Redirect, SeeOther, RedirectMethod, NotModified, UseProxy, Unused, TemporaryRedirect, RedirectKeepVerb, PermanentRedirect, BadRequest, Unauthorized, PaymentRequired, Forbidden, NotFound, MethodNotAllowed, NotAcceptable, ProxyAuthenticationRequired, RequestTimeout, Conflict, Gone, LengthRequired, PreconditionFailed, RequestEntityTooLarge, RequestUriTooLong, UnsupportedMediaType, RequestedRangeNotSatisfiable, ExpectationFailed, MisdirectedRequest, UnprocessableEntity, UnprocessableContent, Locked, FailedDependency, UpgradeRequired, PreconditionRequired, TooManyRequests, RequestHeaderFieldsTooLarge, UnavailableForLegalReasons, InternalServerError, NotImplemented, BadGateway, ServiceUnavailable, GatewayTimeout, HttpVersionNotSupported, VariantAlsoNegotiates, InsufficientStorage, LoopDetected, NotExtended, or NetworkAuthenticationRequired.

  • 400 application/problem+json

    Bad Request

    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
  • 409 application/problem+json

    Conflict

    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
  • default application/problem+json

    Error

    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
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"
}