Premiums API
  1. Response
Premiums API
  • Seance
    • Execute a seance.
      POST
    • Cancels a seance.
      POST
    • Update a seance.
      PATCH
  • Company
    • Update company information.
    • Bulk Imports companies.
    • Imports companies.
  • Trainee
    • Imports Trainee.
    • Bulk Imports Trainee.
  • Schemas
    • Schemas
      • SeancePeriodClosed
    • Response
      • Success
      • SimulateResponse
      • SeanceCancelSuccess
      • CompanyResponse
      • SeanceConfirmSuccess
      • UnauthorizedError
      • SeancePaidConfirmSuccess
      • BadRequestError
      • SeancePeriodClosedSuccess
      • BadRequestWithMessagesError
      • NotFoundError
      • CompanyUpdateSuccess
      • InternalError
      • BadRequestWithSeanceCancelMessagesError
      • BadRequestWithSessionInformationError
      • BadRequestWithSeanceConfirmMessagesError
      • TooManyRequestsMessagesError
      • BadRequestWithSeancePaidConfirmMessagesError
      • BadRequestWithSeancePeriodClosedMessagesError
      • BadRequestWithCompanyUpdateMessagesError
    • Seance
    • CompanyUpdate
    • CompanyImportCsvFormat
    • SeanceUpdate
    • TraineeImportCsvFormat
  1. Response

SimulateResponse

{
    "status": 200,
    "data": {
        "premiums": [
            {
                "premium_type": "string",
                "company_pc": "string",
                "old_balance_hours": 0,
                "requested_hours": 0,
                "new_balance_hours": 0,
                "approved_hours": 0,
                "rejected_hours": 0,
                "new_balance_hours_value": "string",
                "old_credit_balance_eur": "string",
                "requested_credit_eur": "string",
                "new_credit_balance_eur": "string",
                "approved_credit_eur": "string",
                "rejected_credit_eur": "string",
                "rejection_details": "COMPANY_COLLECTIVE_CREDIT_MAX"
            }
        ],
        "status_details": "NO_PREMIUM_MATCHED"
    },
    "request": {
        "transaction_uid": "string",
        "company_uid": "string",
        "trainee_uid": "string",
        "seance_uid": "string",
        "seance_date": "string",
        "seance_duration": 0,
        "premium_type": "string",
        "trainee_pc": "string",
        "trainee_etp": "string"
    }
}
Built with