# Upsert Contract Rates Upsert Contract Rates Endpoint: PATCH /rest/2.0/CONTRACT_RATE Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.Created` (string) System controlled field: Date and time the record was created - `brmObjects.Updated` (string) System controlled field: Date and time the record was last updated - `brmObjects.CreatedUserId` (string) System controlled field: Id of the user that created the record - `brmObjects.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `brmObjects.ContractId` (integer, required) Contract ID - `brmObjects.Id` (string, required) Contract Rate ID - `brmObjects.StartDate` (string, required) StartDate - `brmObjects.EndDate` (string) EndDate - `brmObjects.ProductId` (integer) Product - `brmObjects.ParentContractRateId` (integer) ParentContractRateId - `brmObjects.ContractRateLabel` (string) ContractRateLabel - `brmObjects.PackageId` (string) Package - `brmObjects.RatingMethodId` (string) Rating Method - `brmObjects.BulkRateStatus` (string) BulkRateStatus - `brmObjects.Name` (string) Name - `brmObjects.PricingPlanId` (integer) Pricing Plan ID - `brmObjects.PackageProductId` (string) PackageProductId: Package Component Id - `externalIDFieldName` (string) Enum: "Name" ## Response 200 fields (application/json): - `upsertResponse` (array) - `upsertResponse.Id` (integer) - `upsertResponse.success` (boolean) - `upsertResponse.ErrorText` (string) - `upsertResponse.ErrorElementField` (string) - `upsertResponse.created` (boolean)