> For the complete documentation index, see [llms.txt](https://apis.rightrev.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apis.rightrev.com/rightrev-rest-api/revenue-desk-360/revenue-contract-more-actions/journal-transfer-hold-and-event-release-hold-line-level.md).

# 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

## Line Holds Get

> This API is used to retrieve the Journal Transfer Hold and Event Release hold on transaction lines.<br>

```json
{"openapi":"3.1.0","info":{"title":"RightRev API(s)","version":"1.0.0"},"servers":[{"description":"RightRev APP Server","url":"https://{realm}.{env}.rightrev.cloud/","variables":{"env":{"default":"{env}"},"realm":{"default":"{realm}"}}},{"description":"RightRev Auth Server","url":"https://authn.{env}.rightrev.cloud/auth/realms/{realm}/protocol/openid-connect/","variables":{"env":{"default":"{env}"},"realm":{"default":"{realm}"}}}],"security":[],"paths":{"/apis/line-holds/v1/{document_type}/{revenue_contract_id}":{"get":{"description":"This API is used to retrieve the Journal Transfer Hold and Event Release hold on transaction lines.\n","parameters":[{"name":"document_type","in":"path","required":true,"schema":{"type":"string","title":"Document Type"},"description":"To fetch Journal Transfer Hold & Event Release Hold details. Supported value in document type is **journal** and for events holds it is **event**.\n"},{"name":"revenue_contract_id","in":"path","required":true,"schema":{"type":"string","title":"Revenue Contract Id"},"description":"This is Revenue Contract Number. For e.g. RC-225\n"}],"responses":{"200":{"description":"Get Line or Event Holds","content":{"application/json":{"schema":{"type":"object","properties":{"applied":{"type":"array","items":{"type":"string"},"description":"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."}},"required":["applied"]}}}}},"tags":["Holds"],"summary":"Line Holds Get","operationId":"line_holds_get_apis_line_holds_v1__document_type___revenue_contract_id__get"}}}}
```

## Line Holds

> This API is used to Apply or Release the Journal Transfer Hold and Event Release hold on transaction lines.<br>

```json
{"openapi":"3.1.0","info":{"title":"RightRev API(s)","version":"1.0.0"},"servers":[{"description":"RightRev APP Server","url":"https://{realm}.{env}.rightrev.cloud/","variables":{"env":{"default":"{env}"},"realm":{"default":"{realm}"}}},{"description":"RightRev Auth Server","url":"https://authn.{env}.rightrev.cloud/auth/realms/{realm}/protocol/openid-connect/","variables":{"env":{"default":"{env}"},"realm":{"default":"{realm}"}}}],"security":[],"paths":{"/apis/line-holds/v1/{document_type}/{revenue_contract_id}":{"post":{"description":"This API is used to Apply or Release the Journal Transfer Hold and Event Release hold on transaction lines.\n","parameters":[{"name":"document_type","in":"path","required":true,"schema":{"type":"string","title":"Document Type"},"description":"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**.\n"},{"name":"revenue_contract_id","in":"path","required":true,"schema":{"type":"string","title":"Revenue Contract Id"},"description":"This is Revenue Contract Number. For e.g. RC-225\n"}],"responses":{"200":{"description":"Line Holds","content":{"application/json":{"schema":{"type":"object","properties":{"holds_list":{"type":"array","items":{"type":"object","properties":{"file_id":{"type":"string","description":"A system generated alpha-numeric number."},"guid":{"type":"string","description":"Order Financial ID."},"state":{"type":"string","description":"It will show me as **success**"}},"required":["file_id","guid","state"]},"description":"It is a list of order financial IDs on which hold is applied or released."}},"required":["holds_list"]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"apply":{"type":"array","items":{"type":"string"},"description":"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."},"release":{"type":"array","items":{"type":"string"},"description":"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."},"comments":{"type":"string","description":"User can put comment relevant to action they are performing."}},"required":["apply","comments","release"]}}},"required":true},"tags":["Holds"],"summary":"Line Holds","operationId":"line_holds_apis_line_holds_v1__document_type___revenue_contract_id__post"}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://apis.rightrev.com/rightrev-rest-api/revenue-desk-360/revenue-contract-more-actions/journal-transfer-hold-and-event-release-hold-line-level.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
