PUT api/ContractsInsurances
Request Information
URI Parameters
None.
Body Parameters
ContractInsurance| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| contractNumber | string |
None. |
|
| employeeId | integer |
None. |
|
| insuranceTitleCode | string |
None. |
|
| insuranceTitleAdditionalCode | string |
None. |
|
| compulsoryPensionInsurance | integer |
None. |
|
| compulsoryDisabilityInsurance | integer |
None. |
|
| compulsorySicknessInsurance | integer |
None. |
|
| compulsoryAccidentInsurance | integer |
None. |
|
| dateOfSocialInsurance | date |
None. |
|
| dateOfHealthInsurance | date |
None. |
|
| voluntaryPensionInsurance | integer |
None. |
|
| dateOfPensionInsurance | date |
None. |
|
| voluntaryDisabilityInsurance | integer |
None. |
|
| dateOfDisabilityInsurance | date |
None. |
|
| voluntarySicknessInsurance | integer |
None. |
|
| dateOfSicknessInsurance | date |
None. |
|
| voluntaryHealthInsurance | integer |
None. |
|
| dateOfVoluntaryHealthInsurance | date |
None. |
|
| amountOfTheFirstFee | decimal number |
None. |
|
| professionCode | string |
None. |
|
| includeInTheSicknessBenefitBase | integer |
None. |
|
| healthContributionLimitedToTaxAmount | integer |
None. |
|
| alwaysCalculateFPandFGSP | integer |
None. |
|
| endDateOfPensionInsurance | date |
None. |
|
| reasonCodeForEndingPensionInsurance | integer |
None. |
|
| endDateOfDisabilityInsurance | date |
None. |
|
| reasonCodeForEndingDisabilityInsurance | integer |
None. |
|
| endDateOfSicknessInsurance | date |
None. |
|
| reasonCodeForEndingSicknessInsurance | integer |
None. |
|
| endDateOfAccidentInsurance | date |
None. |
|
| reasonCodeForEndingAccidentInsurance | integer |
None. |
|
| endDateOfSocialInsurance | date |
None. |
|
| reasonCodeForEndingHealthInsurance | integer |
None. |
|
| nextPayoutAmount | decimal number |
None. |
|
| companyData | CompanyData |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"contractNumber": "sample string 2",
"employeeId": 3,
"insuranceTitleCode": "sample string 4",
"insuranceTitleAdditionalCode": "sample string 5",
"compulsoryPensionInsurance": 6,
"compulsoryDisabilityInsurance": 7,
"compulsorySicknessInsurance": 8,
"compulsoryAccidentInsurance": 9,
"dateOfSocialInsurance": "2025-11-08T13:36:46.4172507+01:00",
"dateOfHealthInsurance": "2025-11-08T13:36:46.4172507+01:00",
"voluntaryPensionInsurance": 12,
"dateOfPensionInsurance": "2025-11-08T13:36:46.4172507+01:00",
"voluntaryDisabilityInsurance": 14,
"dateOfDisabilityInsurance": "2025-11-08T13:36:46.4172507+01:00",
"voluntarySicknessInsurance": 16,
"dateOfSicknessInsurance": "2025-11-08T13:36:46.4172507+01:00",
"voluntaryHealthInsurance": 18,
"dateOfVoluntaryHealthInsurance": "2025-11-08T13:36:46.4172507+01:00",
"amountOfTheFirstFee": 20.0,
"professionCode": "sample string 21",
"includeInTheSicknessBenefitBase": 22,
"healthContributionLimitedToTaxAmount": 23,
"alwaysCalculateFPandFGSP": 24,
"endDateOfPensionInsurance": "2025-11-08T13:36:46.4172507+01:00",
"reasonCodeForEndingPensionInsurance": 26,
"endDateOfDisabilityInsurance": "2025-11-08T13:36:46.4172507+01:00",
"reasonCodeForEndingDisabilityInsurance": 28,
"endDateOfSicknessInsurance": "2025-11-08T13:36:46.4172507+01:00",
"reasonCodeForEndingSicknessInsurance": 30,
"endDateOfAccidentInsurance": "2025-11-08T13:36:46.4172507+01:00",
"reasonCodeForEndingAccidentInsurance": 32,
"endDateOfSocialInsurance": "2025-11-08T13:36:46.4172507+01:00",
"reasonCodeForEndingHealthInsurance": 34,
"nextPayoutAmount": 35.0,
"companyData": {
"companyName": "sample string 1",
"databaseName": "sample string 2"
}
}
application/xml, text/xml
Sample:
<ContractInsurance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiOptima_v._2._0.Models">
<alwaysCalculateFPandFGSP>24</alwaysCalculateFPandFGSP>
<amountOfTheFirstFee>20</amountOfTheFirstFee>
<companyData>
<companyName>sample string 1</companyName>
<databaseName>sample string 2</databaseName>
</companyData>
<compulsoryAccidentInsurance>9</compulsoryAccidentInsurance>
<compulsoryDisabilityInsurance>7</compulsoryDisabilityInsurance>
<compulsoryPensionInsurance>6</compulsoryPensionInsurance>
<compulsorySicknessInsurance>8</compulsorySicknessInsurance>
<contractNumber>sample string 2</contractNumber>
<dateOfDisabilityInsurance>2025-11-08T13:36:46.4172507+01:00</dateOfDisabilityInsurance>
<dateOfHealthInsurance>2025-11-08T13:36:46.4172507+01:00</dateOfHealthInsurance>
<dateOfPensionInsurance>2025-11-08T13:36:46.4172507+01:00</dateOfPensionInsurance>
<dateOfSicknessInsurance>2025-11-08T13:36:46.4172507+01:00</dateOfSicknessInsurance>
<dateOfSocialInsurance>2025-11-08T13:36:46.4172507+01:00</dateOfSocialInsurance>
<dateOfVoluntaryHealthInsurance>2025-11-08T13:36:46.4172507+01:00</dateOfVoluntaryHealthInsurance>
<employeeId>3</employeeId>
<endDateOfAccidentInsurance>2025-11-08T13:36:46.4172507+01:00</endDateOfAccidentInsurance>
<endDateOfDisabilityInsurance>2025-11-08T13:36:46.4172507+01:00</endDateOfDisabilityInsurance>
<endDateOfPensionInsurance>2025-11-08T13:36:46.4172507+01:00</endDateOfPensionInsurance>
<endDateOfSicknessInsurance>2025-11-08T13:36:46.4172507+01:00</endDateOfSicknessInsurance>
<endDateOfSocialInsurance>2025-11-08T13:36:46.4172507+01:00</endDateOfSocialInsurance>
<healthContributionLimitedToTaxAmount>23</healthContributionLimitedToTaxAmount>
<id>1</id>
<includeInTheSicknessBenefitBase>22</includeInTheSicknessBenefitBase>
<insuranceTitleAdditionalCode>sample string 5</insuranceTitleAdditionalCode>
<insuranceTitleCode>sample string 4</insuranceTitleCode>
<nextPayoutAmount>35</nextPayoutAmount>
<professionCode>sample string 21</professionCode>
<reasonCodeForEndingAccidentInsurance>32</reasonCodeForEndingAccidentInsurance>
<reasonCodeForEndingDisabilityInsurance>28</reasonCodeForEndingDisabilityInsurance>
<reasonCodeForEndingHealthInsurance>34</reasonCodeForEndingHealthInsurance>
<reasonCodeForEndingPensionInsurance>26</reasonCodeForEndingPensionInsurance>
<reasonCodeForEndingSicknessInsurance>30</reasonCodeForEndingSicknessInsurance>
<voluntaryDisabilityInsurance>14</voluntaryDisabilityInsurance>
<voluntaryHealthInsurance>18</voluntaryHealthInsurance>
<voluntaryPensionInsurance>12</voluntaryPensionInsurance>
<voluntarySicknessInsurance>16</voluntarySicknessInsurance>
</ContractInsurance>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.