# Upsert Revrec Contract Preview Upsert Revrec Contract Preview Endpoint: PATCH /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 - `externalIDFieldName` (string) Enum: "SessionId" ## Response 200 fields (application/json): - `upsertResponse` (array) - `upsertResponse.Id` (integer) - `upsertResponse.success` (boolean) - `upsertResponse.ErrorText` (string) - `upsertResponse.ErrorElementField` (string) - `upsertResponse.created` (boolean)