Skip to content

Latest commit

 

History

History
68 lines (49 loc) · 1.7 KB

dynamics_journal_get.md

File metadata and controls

68 lines (49 loc) · 1.7 KB
title description author ms.topic ms.devlang ms.date ms.author
Get journals
Gets a journal object in Dynamics 365 Business Central.
SusanneWindfeldPedersen
reference
al
04/01/2021
solsen

Get journals

[!INCLUDEapi_v2_note]

Retrieve the properties and relationships of a journal object for [!INCLUDEprod_short].

HTTP request

Replace the URL prefix for [!INCLUDEprod_short] depending on environment following the guideline.

GET businesscentralPrefix/companies({id})/journals({id})

Request headers

Header Value
Authorization Bearer {token}. Required.

Request body

Do not supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and a journals object in the response body.

Example

Request

Here is an example of the request.

GET https://{businesscentralPrefix}/api/v2.0/companies({id})/journals({id})

Response

Here is an example of the response.

Note

The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call.

{
  "id": "id-value",
  "code": "DEFAULT",
  "displayName": "Default Journal Batch",
  "lastModifiedDateTime": "2017-05-17T11:30:01.313Z"
}

See also

Tips for working with the APIs
journal
Delete journal
Create journal
Update journal