# Create or Update Batch Commission Create or Update multiple Commission at once. If the entity exists, it will be updated. If the entity does not exist, it will be created. Endpoint: PUT /commission-transactions/{commTransKey}/commissions-batch Version: v1 Security: apiKeyAuth, bearerAuth ## Header parameters: - `vbasoftware-database` (string, required) Target database ## Path parameters: - `commTransKey` (integer, required) CommissionTransaction Key ## Request fields (application/json): - `commission_Key` (integer, required) Unique identifier for the Commission table Note: This field is marked as NOT NULL in the database and therefore required by the API. - `account_Key` (integer,null) Unique identifier for the Account - `adjustment_Amount` (number,null) Adjustment Amounts to this Commission - `adjustment_Amount_Received` (number,null) Adjustment Amounts Received to this Commission - `calculated_Commission_Amount` (number,null) Commission Amount after previous amounts - `calculated_Premium_Amount` (number,null) Premium Amount after previous amounts - `calculated_Premium_Amount_Received` (number,null) Premium Amount Received after previous amounts - `check_Batch` (integer,null) Check Batch for this Commission - `check_ID` (integer,null) Check for this Commission - `comm_Rate` (number,null) Decimal value that defines the base rate - `comm_Rate_Max` (number,null) Maximum the rate will be regardless of the calculation - `comm_Rate_Min` (number,null) Minimum the rate will be regardless of the calculation - `comm_Rate_Variable1` (number,null) First variable used in calculating the rate based on the type - `comm_Rate_Variable2` (number,null) Second variable used in calculating the rate based on the type - `comm_Rate_Variable3` (number,null) Third variable used in calculating the rate based on the type - `comm_Scale_From` (number,null) Beginning range of the amount used for scaling - `comm_Scale_Thru` (number,null) Ending range of the amount used for scaling - `comm_Scale_Timeframe` (string,null) Used to detemine what date to begin the range for scaling - `comm_Scale_Type` (string,null) Determines what amount the scale is based off of - `comm_Term_Range_From` (integer,null) Beginning range of a number of Days, Months, or Years - `comm_Term_Range_Thru` (integer,null) Ending range of a number of Days, Months, or Years - `comm_Term_Range_Type` (string,null) Determines if Term Range is Days, Months, or Years - `commissionAgencyRepRate_Key` (integer,null) Unique identifier for the CommissionAgencyRepRate table - `commissionAgencyRep_Key` (integer,null) - `commissionRate_Key` (integer,null) - `commissionTransaction_Key` (integer,null) Unique identifier for the CommissionTransaction table - `commission_Amount` (number,null) Full Commission Amount without adjusting for previous amounts - `commission_Basis` (string,null) Basis of the Commission - `commission_Cycle` (string,null) Cycle of the Commission - `commission_Date` (string,null) Date the Commission was calculated for - `dependent_Count` (integer,null) Number of Dependents used for this Commission - `division_ID` (string,null) Division for this Commission - `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 for this Commission - `invoiceAdjustment_Key` (integer,null) Unique identifier for the InvoiceAdjustment table - `invoice_Key` (integer,null) Unique identifier for the PremInvoice table - `license_Number` (string,null) Not used - `license_State` (string,null) Not used - `license_Type` (string,null) Not used - `member_Count` (integer,null) Number of Members used for this Commission - `new_CommissionAgencyRep_Key` (integer,null) Not used - `original_CommissionAgencyRep_Key` (integer,null) Not used - `payor_ID` (string,null) Unique identifier for the Payor - `plan_ID` (string,null) Plan for this Commission - `premRate_Key` (integer,null) PremRate for this Commission - `premium_Amount` (number,null) Full Premium Amount without adjusting for previous amounts - `premium_Amount_Received` (number,null) Full Premium Amount Received without adjusting for previous amounts - `rep_Split` (number,null) The amount or percentage of the split - `rep_Split_Max` (number,null) Maximum amount of the split - `rep_Split_Min` (number,null) Minimum amount of the split - `rep_Split_Priority` (integer,null) Priority of the split - `rep_Split_Type` (string,null) Determines if split is percent or flat amount - `subscriber_Count` (integer,null) Number of Subscribers used for this Commission - `subscriber_ID` (string,null) Subscriber for this Commission - `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 ## 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