journal resource type

Represents a journal in Dynamics 365 Business Central.

Note

For information about enabling APIs for Dynamics NAV see Enabling the APIs for Dynamics 365 Business Central.

Methods

Method Return Type Description
GET journal journal Gets a journal.
POST journal journal Creates a journal.
PATCH journal journal Updates a journal.
DELETE journal none Deletes a journal.

Properties

Property Type Description
id GUID The unique ID of the journal. Non-editable.
code string, maximum size 10 The code of the journal.
displayName string, maximum size 50 The display name of the journal.
lastModifiedDateTime datetime The last datetime the journal was modified. Read-Only.

Bound actions

The journal resource type offers a bound action called post which posts the corresponding general journal batch.

Posting the general journal batch is illustrated in the following example:
POST https://<server address>:<server API port>/<server instance name>/api/beta/companies({id})/journals({id})/Microsoft.NAV.post.

The response has no content; the response code is 204.

JSON representation

Here is a JSON representation of the resource.

{
  "id": "GUID",
  "code": "string",
  "displayName": "string",
  "lastModifiedDateTime": "datetime"
}

See also

Graph Reference
Working with Dynamics 365 Business Central in Microsoft Graph
Enabling the APIs for Dynamics 365 Business Central
Endpoints for the APIs
Error Codes
Get Journal
Create Journal
Update Journal
Delete Journal