Create a journal

Create a journal

POSThttps://apione.zwapgrid.com/accounting/api/v1/consents/{consentId}/journals
Path parameters
consentId*string (uuid)

The consent for which you wish to create a journal.

Header parameters
Body

Journal entity.

transactionDatenullable string (date-time)
accountingSeriesAccountingSeriesDto (object)
descriptionDescriptionDto (object)
financialDimensionsnullable array of FinancialDimensionDto (object)
accountingEntriesnullable array of AccountingEntryDto (object)
Response

The journal was created.

Request
const response = await fetch('https://apione.zwapgrid.com/accounting/api/v1/consents/{consentId}/journals', {
    method: 'POST',
    headers: {
      "x-correlation-id": "123e4567-e89b-12d3-a456-426614174000",
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "type": "text",
  "title": "text",
  "detail": "text",
  "instance": "text"
}

Last updated