# Save Rate Classes Save Rate Classes Endpoint: POST /rest/2.0/PRICING_PLAN Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.EffectiveDate` (string) Start Date: The Date when the plan takes effect - `brmObjects.EndDate` (string) End Date: The Date when the plan terminates - `brmObjects.Id` (string, required) Id: PRICING_PLAN_ID - `brmObjects.Name` (string, required) Name: Plan Name - `brmObjects.Created` (string) System controlled field: Date and time the record was created - `brmObjects.PlanType` (string, required) PlanType: The plan type (posisble values are STANDARD, PROMOTIONAL, OVERRIDE) - `brmObjects.CurrencyCode` (integer, required) CurrencyCode: The currency of the plan - `brmObjects.Status` (string, required) Status: The STATUS of the plan - `brmObjects.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `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.AccountProductId` (integer) AccountProductId - `brmObjects.ContractRateId` (integer) ContractRateId - `brmObjects.RateClassProductId` (integer) RateClassProductId - `brmObjects.PackageProductId` (integer) PackageProductId - `brmObjects.ProductId` (integer) ProductId ## Response 200 fields (application/json): - `retrieveResponse` (object) - `retrieveResponse.EffectiveDate` (string) Start Date: The Date when the plan takes effect - `retrieveResponse.EndDate` (string) End Date: The Date when the plan terminates - `retrieveResponse.Id` (string) Id: PRICING_PLAN_ID - `retrieveResponse.Name` (string) Name: Plan Name - `retrieveResponse.Created` (string) System controlled field: Date and time the record was created - `retrieveResponse.PlanType` (string) PlanType: The plan type (posisble values are STANDARD, PROMOTIONAL, OVERRIDE) - `retrieveResponse.CurrencyCode` (integer) CurrencyCode: The currency of the plan - `retrieveResponse.Status` (string) Status: The STATUS of the plan - `retrieveResponse.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `retrieveResponse.Updated` (string) System controlled field: Date and time the record was last updated - `retrieveResponse.CreatedUserId` (string) System controlled field: Id of the user that created the record - `retrieveResponse.AccountProductId` (integer) AccountProductId - `retrieveResponse.ContractRateId` (integer) ContractRateId - `retrieveResponse.RateClassProductId` (integer) RateClassProductId - `retrieveResponse.PackageProductId` (integer) PackageProductId - `retrieveResponse.ProductId` (integer) ProductId ## 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