# Create or Update Batch CommissionRate Create or Update multiple CommissionRate at once. If the entity exists, it will be updated. If the entity does not exist, it will be created. Endpoint: PUT /commission-rates-batch Version: v1 Security: apiKeyAuth, bearerAuth ## Header parameters: - `vbasoftware-database` (string, required) Target database ## Request fields (application/json): - `commissionRate_Key` (integer, required) Unique identifier for the Commission Rate Note: This field is marked as NOT NULL in the database and therefore required by the API. - `account_Key` (integer,null) Account of the Commission Rate - `commissionRate_Category` (string,null) Category of the Commission Rate - `commissionRate_ID` (string,null) User defind identifier for the Commission Rate - `commissionRate_Type` (string,null) Type of the Commission Rate - `commission_Basis` (string,null) Commission Basis used for the rate - `commission_Cycle` (string,null) Commission Cycle used for the rate - `description` (string,null) Description of the Commission Rate - `division_ID` (string,null) Division of the Commission Rate - `effective_Date` (string,null) Effective Date of the Commission Rate - `end_Date` (string,null) End Date of the Commission Rate - `entry_Date` (string) Date record was first added to the system - `entry_User` (string,null) User that first added the record to the system - `group_ID` (string,null) Group of the Commission Rate - `issue_Age_From` (integer,null) Holds the lower bound of the applicable age range for the commission rate record. - `issue_Age_Thru` (integer,null) Holds the upper bound of the applicable age range for the commission rate record. - `issue_State` (string,null) Holds the abbreviated state name for the commission rate record. - `member_Seq` (string,null) Member Sequnce of the Commission Rate - `parent_CommissionRate_Key` (integer,null) Commission Rate that this record is a child of - `parent_Rate_Cluster` (string,null) Defines which CommissionRateCluster.Rate_Cluster is a parent to this commission rate record. - `payor_ID` (string,null) Payor of the Commission Rate - `plan_ID` (string,null) Plan of the Commission Rate - `plan_Type` (string,null) Holds the plan_type for which this commission rate record applies. - `pre_Payment_Adjustment_Reason` (string,null) TBD - `pre_Payment_Rate` (boolean, required) TBD Note: This field is marked as NOT NULL in the database and therefore required by the API. - `pre_Payment_Type` (string,null) TBD - `premRate_Key` (integer,null) Not used - `rate` (number,null) Decimal value that defines the base rate - `rate_Max` (number,null) Maximum the rate will be regardless of the calculation - `rate_Min` (number,null) Minimum the rate will be regardless of the calculation - `rate_Round_Precision` (integer,null) Precision that the rate is rounded to - `rate_Round_Type` (string,null) Type that determine how the rate is rounded - `rate_Variable1` (number,null) First variable used in calculating the rate based on the type - `rate_Variable2` (number,null) Second variable used in calculating the rate based on the type - `rate_Variable3` (number,null) Third variable used in calculating the rate based on the type - `scale_Exclude_Header_Adjustments` (boolean, required) Determines if Header Adjustments are included in the scaling Note: This field is marked as NOT NULL in the database and therefore required by the API. - `scale_From` (number,null) Beginning range of the amount used for scaling - `scale_Thru` (number,null) Ending range of the amount used for scaling - `scale_Timeframe` (string,null) Used to detemine what date to begin the range for scaling - `scale_Type` (string,null) Determines what amount the scale is based off of - `subscriber_ID` (string,null) Subscriber of the Commission Rate - `term_Range_Date_Type` (string,null) Used to detemine what date to begin the range for scaling - `term_Range_From` (integer,null) Beginning range of a number of Days, Months, or Years - `term_Range_Thru` (integer,null) Ending range of a number of Days, Months, or Years - `term_Range_Type` (string,null) Determines if Term Range is Days, Months, or Years - `update_Date` (string) Date the record was last updated in the system - `update_User` (string,null) User that last updated the record in the system - `use_Initial_Premium` (boolean, required) Flag to calculate commission based on the first calculated premium for this rate and then agent. Note: This field is marked as NOT NULL in the database and therefore required by the API. ## Response 207 fields (text/plain): - `data` (array,null) - `data.id` (array, required) List of key/value pairs that represent the unique id for the entity operation. - `data.id.key` (string,null) - `data.id.value` (any,null) - `data.status` (integer, required) http status of the operation (eg, 200, 201, 500) - `data.body` (string, required) operation message (eg, Updated, Created, Error message) - `error` (object) - `error.detail` (string,null) A human-readable explanation specific to this occurrence of the problem. - `error.instance` (string,null) A URI reference that identifies the specific occurrence of the problem.It may or may not yield further information if dereferenced. - `error.status` (integer) The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem. - `error.title` (string,null) A short, human-readable summary of the problem type.It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization(e.g., using proactive content negotiation; see[RFC7231], Section 3.4). - `error.type` (string,null) A URI reference [RFC3986] that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be "about:blank". - `debug` (object) - `debug.activityID` (string, required) ## Response 401 fields