> 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/re-allocate.md).

# Re-Allocate

## Reallocate

> This API is used to re-allocate Revenue contract into prospective or retrospective allocation method.<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/ssp/v1/carves/re-allocate":{"post":{"description":"This API is used to re-allocate Revenue contract into prospective or retrospective allocation method.\n","responses":{"200":{"description":"Reallocation","content":{"application/json":{"schema":{"type":"object","properties":{"file_id":{"type":"string","description":"A system generated alpha-numeric number."},"message":{"type":"string","description":"Response Message from the system after performing re-allocation."}},"required":["file_id","message"]}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"rc_id":{"type":"array","items":{"type":"string"},"description":"User need to provide the Revenue Contract ID on which wants to perform Re-Allocation. For e.g. RC-225."},"allocation_method":{"type":"string","description":"User need to provide treatment. This field supports two values. **prospective** **retrospective**."},"comments":{"type":"string","description":"User can provide any relevant comments."}},"required":["allocation_method","comments","rc_id"]}}},"required":true},"tags":["ReGroup ReAllocate"],"summary":"Reallocate","operationId":"reallocate_apis_ssp_v1_carves_re_allocate_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/re-allocate.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.
