Get journals
Retrieve the properties and relationships of a journal object for Business Central.
HTTP request
Replace the URL prefix for Business Central 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"
}
Related information
Tips for working with the APIs
journal
Delete journal
Create journal
Update journal