# Generate Commissions

Generates the Commission Activity records to be used by the Commission backend process for generation.

Endpoint: POST /commission-generate-activity
Version: v1
Security: apiKeyAuth, bearerAuth

## Security:

  - `apiKeyAuth` (unknown)
    apiKey in header x-api-key

  - `bearerAuth` (unknown)
    http bearer JWT

## Header parameters:

  - `vbasoftware-database` (string, required)
    Target database

## Request fields (application/json):

  - `commission_Date_Type` (string)

  - `commission_Date` (string)

  - `received_Thru` (string)

  - `billed_Thru` (string)

  - `commission_Run_By_Option` (integer)

  - `payment_Interval` (string)

  - `current_Only` (boolean)

  - `user_ID` (string)

  - `machine_ID` (string)

  - `reps` (array)

  - `groups` (array)

  - `ignore_Licenses` (boolean)

## Response 202:

  - `202` (unknown)
    Accepted for processing

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 403:

  - `403` (unknown)
    Forbidden. The x-api-key header is missing or not valid. The API gateway sends this response, not VBAPI, so the body is not the VBAPI envelope; see Errors and troubleshooting.

## Response 429:

  - `429` (unknown)
    Too many requests. The limit is 25 requests per second sustained, with bursts up to 50, per API key. Wait and retry with exponential backoff and jitter.

