Methods

  • put - Update Benefit Category

Resource

{
    "benefitCategory": {
        "amountForegone": "double",
        "benefitType": "string",
        "car": {
            "approvedCO2Emissions": "int32",
            "dateRegistered": "date-time",
            "engineSize": "string",
            "fuelType": "string",
            "makeAndModel": "string",
            "noApprovedCO2Figure": "boolean",
            "registrationNumber": "string",
            "zeroEmissionMileage": "int32"
        },
        "carryBenefitForward": "boolean",
        "description": "string",
        "entertainment": {
            "isTradingOrganisation": "boolean"
        },
        "id": "int32",
        "linkedEmployees": [
            {
                "additionalAmountPayrolledToDateInPayRuns": "double",
                "additionalHasFinalisedPayRuns": "boolean",
                "additionalHasLinkedPayRuns": "boolean",
                "amountForegone": "double",
                "amountMadeGood": "double",
                "amountPayrolledToDate": "double",
                "amountPayrolledToDateInPayRuns": "double",
                "amountToBePayrolledPerPeriod": "double",
                "benefitCategoryId": "int32",
                "benefitCategoryName": "string",
                "benefitCategorySubType": "string",
                "benefitCategoryType": "string",
                "calculationLogs": [
                    "string"
                ],
                "car": {
                    "accessories": "double",
                    "amountPaidByEmployeeForPrivateUse": "double",
                    "availableFromDate": "date-time",
                    "availableToDate": "date-time",
                    "capitalContributions": "double",
                    "employerProvidesFuelForPrivateUse": "boolean",
                    "fuel": {
                        "amountPayrolledToDate": "double",
                        "amountToBePayrolledPerPeriod": "double",
                        "availableFromDate": "date-time",
                        "availableToDate": "date-time",
                        "cashEquivalent": "double",
                        "opraAmountForegone": "double",
                        "proRataInFirstPayRun": "boolean",
                        "reinstated": "boolean",
                        "startFromPeriod": "int32"
                    },
                    "isShared": "boolean",
                    "numberOfDaysUnavailable": "int32",
                    "opraAmountForegone": "double",
                    "sharedPercentage": "double"
                },
                "carryBenefitForward": "boolean",
                "cashEquivalent": "double",
                "dateCreatedUtc": "date-time",
                "employeeId": "int32",
                "employeeName": "string",
                "hasBeenSubmitted": "boolean",
                "hasFinalisedPayRuns": "boolean",
                "hasLinkedPayRuns": "boolean",
                "id": "int32",
                "loan": {
                    "amountForegoneUserEntered": "double",
                    "amountOutstandingAtEndOfYearOrLoan": "double",
                    "amountOutstandingAtStartOfYearOrLoan": "double",
                    "dateLoanWasDischargedIfThisYear": "date-time",
                    "dateLoanWasMadeIfThisYear": "date-time",
                    "interestDue": "double",
                    "interestRate": "double",
                    "maximumAmountOutstandingDuringTheYear": "double",
                    "numberOfJointBorrowers": "int32"
                },
                "payrollingBenefit": "boolean",
                "proRataCalculation": {
                    "endDate": "date-time",
                    "fullYearAmount": "double",
                    "proRataInFirstPayRun": "boolean",
                    "startDate": "date-time",
                    "useCalculatedValue": "boolean"
                },
                "startFromPeriod": "int32",
                "van": {
                    "amountPaidByEmployeeForPrivateUse": "double",
                    "availableFromDate": "date-time",
                    "availableToDate": "date-time",
                    "employerProvidesFuelForPrivateUse": "boolean",
                    "fuel": {
                        "amountForegone": "double",
                        "amountPayrolledToDate": "double",
                        "amountToBePayrolledPerPeriod": "double",
                        "availableToDate": "date-time",
                        "cashEquivalent": "double",
                        "opraAmountForegone": "double",
                        "proRataInFirstPayRun": "boolean",
                        "startFromPeriod": "int32"
                    },
                    "isShared": "boolean",
                    "numberOfDaysUnavailable": "int32",
                    "opraAmountForegone": "double",
                    "sharedPercentage": "double"
                },
                "year": "int32"
            }
        ],
        "name": "string",
        "niTreatment": "string",
        "payrollingBenefit": "boolean",
        "subType": "string",
        "van": {
            "isZeroEmissions": "boolean"
        },
        "year": "int32"
    },
    "employeeIdsToUpdate": [
        "int32"
    ],
    "employeeIdsUpdated": [
        "int32"
    ]
}

Properties

Name Type Description
benefitCategory object UkBenefitCategoryReadModel
benefitCategory.amountForegone double Nullable
benefitCategory.benefitType string String
benefitCategory.car object UkBenefitCategoryExtCarEditModel
benefitCategory.car.approvedCO2Emissions int32 Nullable
benefitCategory.car.dateRegistered date-time Nullable
benefitCategory.car.engineSize string String
benefitCategory.car.fuelType string String
benefitCategory.car.makeAndModel string String
benefitCategory.car.noApprovedCO2Figure boolean Boolean
benefitCategory.car.registrationNumber string String
benefitCategory.car.zeroEmissionMileage int32 Nullable
benefitCategory.carryBenefitForward boolean Boolean
benefitCategory.description string String
benefitCategory.entertainment object UkBenefitCategoryExtEntertainmentEditModel
benefitCategory.entertainment.isTradingOrganisation boolean Boolean
benefitCategory.id int32 Int32
benefitCategory.linkedEmployees[] array
benefitCategory.linkedEmployees[].additionalAmountPayrolledToDateInPayRuns double Nullable
benefitCategory.linkedEmployees[].additionalHasFinalisedPayRuns boolean Boolean
benefitCategory.linkedEmployees[].additionalHasLinkedPayRuns boolean Boolean
benefitCategory.linkedEmployees[].amountForegone double Decimal
benefitCategory.linkedEmployees[].amountMadeGood double Decimal
benefitCategory.linkedEmployees[].amountPayrolledToDate double Decimal
benefitCategory.linkedEmployees[].amountPayrolledToDateInPayRuns double Nullable
benefitCategory.linkedEmployees[].amountToBePayrolledPerPeriod double Decimal
benefitCategory.linkedEmployees[].benefitCategoryId int32 Nullable
benefitCategory.linkedEmployees[].benefitCategoryName string String
benefitCategory.linkedEmployees[].benefitCategorySubType string String
benefitCategory.linkedEmployees[].benefitCategoryType string String
benefitCategory.linkedEmployees[].calculationLogs[] array of string
benefitCategory.linkedEmployees[].car object UkEmployeeBenefitCategoryExtCarEditModel
benefitCategory.linkedEmployees[].car.accessories double Decimal
benefitCategory.linkedEmployees[].car.amountPaidByEmployeeForPrivateUse double Decimal
benefitCategory.linkedEmployees[].car.availableFromDate date-time DateTime
benefitCategory.linkedEmployees[].car.availableToDate date-time Nullable
benefitCategory.linkedEmployees[].car.capitalContributions double Decimal
benefitCategory.linkedEmployees[].car.employerProvidesFuelForPrivateUse boolean Boolean
benefitCategory.linkedEmployees[].car.fuel object UkEmployeeBenefitCategoryExtFuelEditModel
benefitCategory.linkedEmployees[].car.fuel.amountPayrolledToDate double Decimal
benefitCategory.linkedEmployees[].car.fuel.amountToBePayrolledPerPeriod double Decimal
benefitCategory.linkedEmployees[].car.fuel.availableFromDate date-time Nullable
benefitCategory.linkedEmployees[].car.fuel.availableToDate date-time Nullable
benefitCategory.linkedEmployees[].car.fuel.cashEquivalent double Decimal
benefitCategory.linkedEmployees[].car.fuel.opraAmountForegone double Nullable
benefitCategory.linkedEmployees[].car.fuel.proRataInFirstPayRun boolean Boolean
benefitCategory.linkedEmployees[].car.fuel.reinstated boolean Nullable
benefitCategory.linkedEmployees[].car.fuel.startFromPeriod int32 Int32
benefitCategory.linkedEmployees[].car.isShared boolean Boolean
benefitCategory.linkedEmployees[].car.numberOfDaysUnavailable int32 Nullable
benefitCategory.linkedEmployees[].car.opraAmountForegone double Nullable
benefitCategory.linkedEmployees[].car.sharedPercentage double Nullable
benefitCategory.linkedEmployees[].carryBenefitForward boolean Boolean
benefitCategory.linkedEmployees[].cashEquivalent double Decimal
benefitCategory.linkedEmployees[].dateCreatedUtc date-time DateTime
benefitCategory.linkedEmployees[].employeeId int32 Int32
benefitCategory.linkedEmployees[].employeeName string String
benefitCategory.linkedEmployees[].hasBeenSubmitted boolean Boolean
benefitCategory.linkedEmployees[].hasFinalisedPayRuns boolean Boolean
benefitCategory.linkedEmployees[].hasLinkedPayRuns boolean Boolean
benefitCategory.linkedEmployees[].id int32 Int32
benefitCategory.linkedEmployees[].loan object UkEmployeeBenefitCategoryExtLoanEditModel
benefitCategory.linkedEmployees[].loan.amountForegoneUserEntered double Nullable
benefitCategory.linkedEmployees[].loan.amountOutstandingAtEndOfYearOrLoan double Decimal
benefitCategory.linkedEmployees[].loan.amountOutstandingAtStartOfYearOrLoan double Decimal
benefitCategory.linkedEmployees[].loan.dateLoanWasDischargedIfThisYear date-time Nullable
benefitCategory.linkedEmployees[].loan.dateLoanWasMadeIfThisYear date-time Nullable
benefitCategory.linkedEmployees[].loan.interestDue double Decimal
benefitCategory.linkedEmployees[].loan.interestRate double Decimal
benefitCategory.linkedEmployees[].loan.maximumAmountOutstandingDuringTheYear double Decimal
benefitCategory.linkedEmployees[].loan.numberOfJointBorrowers int32 Nullable
benefitCategory.linkedEmployees[].payrollingBenefit boolean Boolean
benefitCategory.linkedEmployees[].proRataCalculation object UkEmployeeBenefitProRataCalculationModel
benefitCategory.linkedEmployees[].proRataCalculation.endDate date-time Nullable
benefitCategory.linkedEmployees[].proRataCalculation.fullYearAmount double Nullable
benefitCategory.linkedEmployees[].proRataCalculation.proRataInFirstPayRun boolean Boolean
benefitCategory.linkedEmployees[].proRataCalculation.startDate date-time DateTime
benefitCategory.linkedEmployees[].proRataCalculation.useCalculatedValue boolean Nullable
benefitCategory.linkedEmployees[].startFromPeriod int32 Int32
benefitCategory.linkedEmployees[].van object UkEmployeeBenefitCategoryExtVanEditModel
benefitCategory.linkedEmployees[].van.amountPaidByEmployeeForPrivateUse double Decimal
benefitCategory.linkedEmployees[].van.availableFromDate date-time DateTime
benefitCategory.linkedEmployees[].van.availableToDate date-time Nullable
benefitCategory.linkedEmployees[].van.employerProvidesFuelForPrivateUse boolean Boolean
benefitCategory.linkedEmployees[].van.fuel object UkEmployeeBenefitCategoryExtVanFuelEditModel
benefitCategory.linkedEmployees[].van.fuel.amountForegone double Decimal
benefitCategory.linkedEmployees[].van.fuel.amountPayrolledToDate double Decimal
benefitCategory.linkedEmployees[].van.fuel.amountToBePayrolledPerPeriod double Decimal
benefitCategory.linkedEmployees[].van.fuel.availableToDate date-time Nullable
benefitCategory.linkedEmployees[].van.fuel.cashEquivalent double Decimal
benefitCategory.linkedEmployees[].van.fuel.opraAmountForegone double Nullable
benefitCategory.linkedEmployees[].van.fuel.proRataInFirstPayRun boolean Boolean
benefitCategory.linkedEmployees[].van.fuel.startFromPeriod int32 Int32
benefitCategory.linkedEmployees[].van.isShared boolean Boolean
benefitCategory.linkedEmployees[].van.numberOfDaysUnavailable int32 Nullable
benefitCategory.linkedEmployees[].van.opraAmountForegone double Nullable
benefitCategory.linkedEmployees[].van.sharedPercentage double Nullable
benefitCategory.linkedEmployees[].year int32 Int32
benefitCategory.name string String
benefitCategory.niTreatment string String
benefitCategory.payrollingBenefit boolean Boolean
benefitCategory.subType string String
benefitCategory.van object UkBenefitCategoryExtVanEditModel
benefitCategory.van.isZeroEmissions boolean Boolean
benefitCategory.year int32 Nullable
employeeIdsToUpdate[] array of int32
employeeIdsUpdated[] array of int32