Get journals
Retrieve the properties and relationships of a journal object for Business Central.
Replace the URL prefix for Business Central depending on environment following the guideline.
GET businesscentralPrefix/companies({id})/journals({id})
Header | Value |
---|---|
Authorization | Bearer {token}. Required. |
Do not supply a request body for this method.
If successful, this method returns a 200 OK
response code and a journals object in the response body.
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"
}
Tips for working with the APIs
journal
Delete journal
Create journal
Update journal