Update journals as posted Run in API Explorer

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

Update 'Ready to post' or 'Pending post' journals as 'Posted' or override the properties of already posted journls

Path parameters

  • engagementSid string Required

    The engagement SID

application/json

Body Required

The details of the journals

  • journals array[object] Required

    At least 1 but not more than 1000 elements.

    Hide journals attributes Show journals attributes object
    • journalGuid string(uuid) Required
    • erpReference string Required

      Maximum length is 64.

    • postComment string | null

      Maximum length is 800.

  • bundleGuid string(uuid) | null Required

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • journalsUpdated array[object] Required
      Hide journalsUpdated attributes Show journalsUpdated 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.

    • bundleGuid string(uuid) Required
  • 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/post/bulk
curl \
 --request PUT 'https://journal.adra.com/api/v1.0/engagements/{engagementSid}/journal-entries/command/post/bulk' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"journals":[{"journalGuid":"string","erpReference":"string","postComment":"string"}],"bundleGuid":"string"}'
Request examples
{
  "journals": [
    {
      "journalGuid": "string",
      "erpReference": "string",
      "postComment": "string"
    }
  ],
  "bundleGuid": "string"
}
Response examples (200)
{
  "journalsUpdated": [
    {
      "journalGuid": "string",
      "statusReason": "string",
      "statusCode": "Continue"
    }
  ],
  "bundleGuid": "string"
}
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"
}