# Update Contract Update Contract Endpoint: PUT /rest/2.0/CONTRACT Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.AccountId` (any, required) Account ID: Parent Id - `brmObjects.ContractNumber` (any, required) Number: Indicates the unique contract identifier. - `brmObjects.ContractStatus` (any) ContractStatus - `brmObjects.Created` (any) System controlled field: Date and time the record was created - `brmObjects.CreatedUserId` (any) System controlled field: Id of the user that created the record - `brmObjects.EndDate` (any) End Date - `brmObjects.Id` (any, required) ID - `brmObjects.OnEndDate` (any, required) On End Date - `brmObjects.RateClassId` (any) Rate Class: Allows the selection of an existing rate class in the system to serve as a starting point for the contract rates. - `brmObjects.StartDate` (any, required) Start Date - `brmObjects.Updated` (any) System controlled field: Date and time the record was last updated - `brmObjects.UpdatedUserId` (any) System controlled field: Id of the last user that updated the record ## Response 200 fields (application/json): - `updateResponse` (array) - `updateResponse.Id` (any) - `updateResponse.success` (boolean) - `updateResponse.ErrorText` (string) - `updateResponse.ErrorElementField` (string) ## 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