v1

latestOpenAPI 3.1.02026-07-2418201.6 MB

All Journals

This API can be used to fetch the details of all journals associated with a platform.

get/v2/ledger/journal

Query parameters

statusstring

Status of the Journal. Acceptable value - ACTIVE, INACTIVE, ON_HOLD

pageinteger

offset value

Headers

client_idstring required

Decentro assigned client_id for the company

client_secretstring required

Decentro assigned client_secret for the company

module_secretstring required

Decentro assigned module_secret for the company

Response

200

decentroTxnIdstring
statusstring
responseCodestring
messagestring

Example response

{
  "decentroTxnId": "74D53BE5808D48F88A30C6985BC7C7AA",
  "status": "SUCCESS",
  "responseCode": "S00000",
  "message": "Transaction successful",
  "data": {
    "transactionStatus": "SUCCESS",
    "transactionDescription": "Journal details fetched successfully",
    "count": 10,
    "details": [
      {
        "urn": "J3F090B20C26E4C77AE2041823613EAA2",
        "referenceId": "61bd9cf2-b823-4194-9755-48178b7efa53",
        "name": "Journal ABC",
        "purpose": "To test create journal",
        "additionalParameters": "NA",
        "status": "ACTIVE",
        "creationTimestamp": "27-07-2022 18:48:02",
        "lastModificationTimestamp": "NA"
      }
    ]
  }
}