Retrieve journal account

Request

Retrieves a journal account with a specified ID.

Security
SecretApiKey or JWT
Path
idstring, <= 50 characters^[@~\-\.\w]+$required

ID of the resource.

curl -i -X GET \
  'https://www.rebilly.com/_mock/catalog/all/journal-accounts/{id}' \
  -H 'REB-APIKEY: YOUR_API_KEY_HERE'

Responses

Journal account retrieved.

Bodyapplication/json
idstring, <= 50 charactersread-only

ID of the journal account.

Example:"jrn_acc_0YVCXS791DD8JAK1WV3VHM70ZQ"
namestringrequired

Name of the journal account.

Example:"Unearned revenue"
descriptionstring or null
createdTimestring, (date-time)(ServerTimestamp)read-only

Date and time when the journal record is created.

updatedTimestring, (date-time)(UpdatedTime)read-only

Date and time when the resource is updated. This value is set automatically when the resource is updated.

Response
{ "id": "jrn_acc_0YVCXS791DD8JAK1WV3VHM70ZQ", "name": "Unearned revenue", "description": "string", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ {} ] }