POST api/EmployeeBonuses/AddEmployeeBonuses
Request Information
URI Parameters
None.
Body Parameters
EmployeeBonusesName | Description | Type | Additional information |
---|---|---|---|
EmployeeBonus | Collection of EmployeeBonus |
None. |
Request Formats
application/xml, text/xml
Sample:
<EmployeeBonuses xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <EmployeeBonus> <EmployeeID>sample string 1</EmployeeID> <BonusCode>sample string 2</BonusCode> <ID>3</ID> <Description>sample string 4</Description> <Value>5</Value> <BonusCalc>sample string 6</BonusCalc> <ValidFromDate>2024-11-21T15:24:45.8543628+01:00</ValidFromDate> <ValidToDate>2024-11-21T15:24:45.8543628+01:00</ValidToDate> <PayrollBaseID>sample string 7</PayrollBaseID> <CarRegNumber>sample string 8</CarRegNumber> <VINNumber>sample string 9</VINNumber> <PurchasingValue>1.1</PurchasingValue> <StartUsageDate>2024-11-21T15:24:45.8543628+01:00</StartUsageDate> <EmployeerProvidesFuel>64</EmployeerProvidesFuel> <LessThan500km>64</LessThan500km> <EV>64</EV> <InsUpdDate>2024-11-21T15:24:45.8543628+01:00</InsUpdDate> </EmployeeBonus> <EmployeeBonus> <EmployeeID>sample string 1</EmployeeID> <BonusCode>sample string 2</BonusCode> <ID>3</ID> <Description>sample string 4</Description> <Value>5</Value> <BonusCalc>sample string 6</BonusCalc> <ValidFromDate>2024-11-21T15:24:45.8543628+01:00</ValidFromDate> <ValidToDate>2024-11-21T15:24:45.8543628+01:00</ValidToDate> <PayrollBaseID>sample string 7</PayrollBaseID> <CarRegNumber>sample string 8</CarRegNumber> <VINNumber>sample string 9</VINNumber> <PurchasingValue>1.1</PurchasingValue> <StartUsageDate>2024-11-21T15:24:45.8543628+01:00</StartUsageDate> <EmployeerProvidesFuel>64</EmployeerProvidesFuel> <LessThan500km>64</LessThan500km> <EV>64</EV> <InsUpdDate>2024-11-21T15:24:45.8543628+01:00</InsUpdDate> </EmployeeBonus> </EmployeeBonuses>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CreateResultName | Description | Type | Additional information |
---|---|---|---|
Keys | Collection of EntityKeyField |
None. |
|
ResultCode | ExternalResultCode |
None. |
|
Errors | Collection of Error |
None. |
Response Formats
application/xml, text/xml
Sample:
<CreateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Keys> <Key> <Name>sample string 1</Name> <Value>sample string 2</Value> </Key> <Key> <Name>sample string 1</Name> <Value>sample string 2</Value> </Key> </Keys> <ResultCode>None</ResultCode> <Errors> <Error> <Level>Warning</Level> <Message>sample string 1</Message> </Error> <Error> <Level>Warning</Level> <Message>sample string 1</Message> </Error> </Errors> </CreateResult>