Journal Transfer Hold & Event Release Hold - Line Level
Pending Events Hold - GET /apis/line-holds/v1/pending-events Not able to find in OPENAPI - Check with Thiyagu
This API is used to retrieve the Journal Transfer Hold and Event Release hold on transaction lines.
To fetch Journal Transfer Hold & Event Release Hold details. Supported value in document type is journal and for events holds it is event.
This is Revenue Contract Number. For e.g. RC-225
Get Line or Event Holds
This will display a message as applied and in brackets it will display Order Financial IDs from the Revenue Contract on which Event Or Line hold is applied otherwise it will show null.
GET /apis/line-holds/v1/{document_type}/{revenue_contract_id} HTTP/1.1
Host: {realm}.{env}.rightrev.cloud/
Accept: */*
Get Line or Event Holds
{
"applied": [
"ord-001-rc3-02"
]
}This API is used to Apply or Release the Journal Transfer Hold and Event Release hold on transaction lines.
To Apply or Release Journal Transfer Hold or Event Release Hold. Supported value in document type is journal and for events holds it is event.
This is Revenue Contract Number. For e.g. RC-225
In this field user need to mention Order Financial IDs on transaction lines on which want to apply Journal Transfer Hold or Event Release Hold. Users can Apply or Release hold in same Payload on different Order financial IDs but not on same.
In this field user need to mention Order Financial IDs on transaction lines on which want to release Journal Transfer Hold or Event Release Hold. Users can Apply or Release hold in same Payload on different Order financial IDs but not on same.
User can put comment relevant to action they are performing.
Line Holds
POST /apis/line-holds/v1/{document_type}/{revenue_contract_id} HTTP/1.1
Host: {realm}.{env}.rightrev.cloud/
Content-Type: application/json
Accept: */*
Content-Length: 144
{
"apply": [
"ord-001-rc3-02"
],
"release": [
"ord-001-rc3-03"
],
"comments": "Apply line hold on ord-001-rc3-02 and Release line hold on ord-001-rc3-03"
}Line Holds
{
"holds_list": [
{
"file_id": "aac41fa3-fe11-4756-b7e3-2ae65908f5f4",
"guid": "ord-001-rc3-02",
"state": "success"
},
{
"file_id": "c5cec4df-6b04-4422-890c-52b585d3a0b1",
"guid": "ord-001-rc3-03",
"state": "success"
}
]
}Last updated
Was this helpful?

