journal resource type
Namespace: microsoft.graph
Important
APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Represents a journal in Dynamics 365 Business Central.
Methods
Method | Return Type | Description |
---|---|---|
Get journal | journal | Gets a journal. |
Create journal | journal | Creates a journal. |
Update 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
that posts the corresponding general journal batch.
Posting the general journal batch is illustrated in the following example:
POST https://graph.microsoft.com/beta/financials/companies{id}/journals{id}/post
.
The response has no content; the response code is 204.
JSON representation
The following JSON representation shows the resource type.
{
"id": "GUID",
"code": "string",
"displayName": "string",
"lastModifiedDateTime": "datetime"
}