POST api/company/{companyId}/workforceinformation

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyId

integer

Required

Body Parameters

CompanyWorkforceInformationSubModel
NameDescriptionTypeAdditional information
WorksCouncilPresence

boolean

None.

UnionWorkerId

integer

None.

CollectiveBargainingAgreements

string

None.

InformationCurrentAsOf

date

None.

NumberEmployees

integer

None.

AverageAge

decimal number

None.

AverageService

decimal number

None.

CurrencyId

integer

None.

TotalAnnualBaseSalary

decimal number

None.

TotalSocialChargesEmployer

decimal number

None.

TotalSocialChargesEmployee

decimal number

None.

RetireesPlanMember

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "WorksCouncilPresence": true,
  "UnionWorkerId": 1,
  "CollectiveBargainingAgreements": "sample string 1",
  "InformationCurrentAsOf": "2024-12-14T22:33:46.5096649+00:00",
  "NumberEmployees": 1,
  "AverageAge": 1.0,
  "AverageService": 1.0,
  "CurrencyId": 1,
  "TotalAnnualBaseSalary": 1.0,
  "TotalSocialChargesEmployer": 1.0,
  "TotalSocialChargesEmployee": 1.0,
  "RetireesPlanMember": 1
}

application/xml, text/xml

Sample:
<CompanyWorkforceInformationSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALTAMBS.Business.Entities.SubModels">
  <AverageAge>1</AverageAge>
  <AverageService>1</AverageService>
  <CollectiveBargainingAgreements>sample string 1</CollectiveBargainingAgreements>
  <CurrencyId>1</CurrencyId>
  <InformationCurrentAsOf>2024-12-14T22:33:46.5096649+00:00</InformationCurrentAsOf>
  <NumberEmployees>1</NumberEmployees>
  <RetireesPlanMember>1</RetireesPlanMember>
  <TotalAnnualBaseSalary>1</TotalAnnualBaseSalary>
  <TotalSocialChargesEmployee>1</TotalSocialChargesEmployee>
  <TotalSocialChargesEmployer>1</TotalSocialChargesEmployer>
  <UnionWorkerId>1</UnionWorkerId>
  <WorksCouncilPresence>true</WorksCouncilPresence>
</CompanyWorkforceInformationSubModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CompanyWorkforceInformationSubModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.