# Save Revrec Contract Preview Save Revrec Contract Preview Endpoint: POST /rest/2.0/REVREC_CONTRACT_PREVIEW Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.Id` (string, required) Id: Primary key - `brmObjects.DataXML` (string, required) DataXML - `brmObjects.AccountId` (integer) AccountId - `brmObjects.NewRevRecContractName` (string) NewRevRecContractName - `brmObjects.SessionId` (string) SessionId: WebApp Session Id ## Response 200 fields (application/json): - `retrieveResponse` (object) - `retrieveResponse.Id` (string) Id: Primary key - `retrieveResponse.DataXML` (string) DataXML - `retrieveResponse.AccountId` (integer) AccountId - `retrieveResponse.NewRevRecContractName` (string) NewRevRecContractName - `retrieveResponse.SessionId` (string) SessionId: WebApp Session Id ## Response 400 fields (application/json): - `error` (string) Bad request - `message` (string) Bad request ## Response 401 fields (application/json): - `error` (string) Unauthorized - `message` (string) Unauthorized ## Response 404 fields (application/json): - `error` (string) Not found - `message` (string) Not found ## Response 429 fields (application/json): - `error` (string) Too many requests - `message` (string) Too many requests ## Response 500 fields (application/json): - `error` (string) Internal error - `message` (string) Internal error