PUT /journal-entries/{id}
Creates or updates (upsert) a journal entry.
Servers
- https://api-sandbox.rebilly.com/organizations/{organizationId}
- https://api.rebilly.com/organizations/{organizationId}
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
id |
String | No |
ID of the journal entry. |
_links[] |
Array | No |
Related links. |
_links[].href |
String | No |
Link URL. |
_links[].rel |
String | No |
Type of link. Valid values:
|
description |
String | No | |
updatedTime |
String | No |
Date and time when the resource is updated. This value is set automatically when the resource is updated. |
period |
Object | Yes | |
period.endDate |
String | No | |
period.startDate |
String | No | |
label |
String | No |
Custom label that can be used to filter entries. Annual orders are created with the label Annual. Monthly orders are created with the label Monthly. Default value: "monthly" |
totalEstimatedAmount |
Number | No |
Total amount of all revenue estimated at the end of the journal period. |
createdTime |
String | No |
Date and time when the resource is created. This value is set automatically when the resource is created. |
totalRecognizedAmount |
Number | No |
Total amount of all revenue recognized at the end of the journal period. |
currency |
String | Yes |
Currency of the journal record revenue. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.