POST V3/odata/EmployeeCompany

Inserts EmployeeCompany entity

Request Information

URI Parameters

None.

Body Parameters

QicsUnity.Api.Areas.V3.Models.EmployeeCompany
NameDescriptionTypeAdditional information
SupplierCustomerCompanyId

Gets or sets SupplierCustomerCompanyId

integer

64-bit signed integer

Nullable

HoursPerWeek

Gets or sets the hours per week

decimal number

Nullable

NormHoursPerWeek

Gets or sets the target hours per week

decimal number

Nullable

FirstName

Gets or sets the first name

string

Required

IsActive

Gets or sets a value indicating whether the employee is active

boolean

Required

LastName

Gets or sets the last name

string

Required

MiddleName

Gets or sets the middle name

string

Name

Gets or sets the name

string

EmailAddress

Gets or sets the email address

string

EmployeeId

Gets or sets EmployeeId

integer

64-bit signed integer

Nullable

EmployeeCompanyId

Gets or sets EmployeeCompanyId

integer

Required

64-bit signed integer

CompanyId

Gets or sets CompanyId

integer

64-bit signed integer

Nullable

EmployeeNumber

Gets or sets EmployeeNumber

integer

Required

DepartmentId

Gets or sets DepartmentId

integer

64-bit signed integer

Nullable

ManagerEmployeeCompanyId

Gets or sets ManagerEmployeeCompanyId

integer

64-bit signed integer

Nullable

CostCenterId

Gets or sets EmployeeCompany.CostCenterId

integer

64-bit signed integer

Nullable

FunctionId

Gets or sets FunctionId

integer

64-bit signed integer

Nullable

AssignedUserId

Gets or sets the assigned user id

integer

64-bit signed integer

Nullable

EmployeeHyperlinkCountsId

Gets or sets the EmployeeHyperlinkCountsId

integer

64-bit signed integer

Salutation

Gets or sets Salutation

string

Initials

Gets or sets Initials

string

Titles

Gets or sets Titles

string

Abbreviation

Gets or sets Abbreviation

string

EnlistmentDate

Gets or sets EnlistmentDate

date

date and time of day

Nullable

LeaveDate

Gets or sets LeaveDate

date

date and time of day

Nullable

EmployeeType

Gets or sets EmployeeType (nullable so it is not required, it is then prefilled on insert/update by default value)

QicsUnity.Api.Areas.V3.Models.EmployeeType

Nullable

VacationHours

Gets or sets VacationHours

decimal number

Nullable

Request Formats

application/json, text/json

Sample:
{
  "SupplierCustomerCompanyId": "1",
  "HoursPerWeek": "1",
  "NormHoursPerWeek": "1",
  "FirstName": "sample 1",
  "IsActive": true,
  "LastName": "sample 3",
  "MiddleName": "sample 4",
  "Name": "sample 5",
  "EmailAddress": "sample 6",
  "EmployeeId": "1",
  "EmployeeCompanyId": "7",
  "CompanyId": "1",
  "EmployeeNumber": "8",
  "DepartmentId": "1",
  "ManagerEmployeeCompanyId": "1",
  "CostCenterId": "1",
  "FunctionId": "1",
  "AssignedUserId": "1",
  "EmployeeHyperlinkCountsId": "9",
  "Salutation": "sample 10",
  "Initials": "sample 11",
  "Titles": "sample 12",
  "Abbreviation": "sample 13",
  "EnlistmentDate": "2024-12-22T18:00:47.7823499+00:00",
  "LeaveDate": "2024-12-22T18:00:47.7823499+00:00",
  "EmployeeType": "External",
  "VacationHours": "1"
}

application/xml, text/xml

Sample:
<EmployeeCompany xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V3.Models">
  <Abbreviation>sample 13</Abbreviation>
  <AssignedUserId>1</AssignedUserId>
  <CompanyId>1</CompanyId>
  <CostCenterId>1</CostCenterId>
  <DepartmentId>1</DepartmentId>
  <EmailAddress>sample 6</EmailAddress>
  <EmployeeCompanyId>7</EmployeeCompanyId>
  <EmployeeHyperlinkCountsId>9</EmployeeHyperlinkCountsId>
  <EmployeeId>1</EmployeeId>
  <EmployeeNumber>8</EmployeeNumber>
  <EmployeeType>External</EmployeeType>
  <EnlistmentDate>2024-12-22T18:00:47.7823499+00:00</EnlistmentDate>
  <FirstName>sample 1</FirstName>
  <FunctionId>1</FunctionId>
  <HoursPerWeek>1</HoursPerWeek>
  <Initials>sample 11</Initials>
  <IsActive>true</IsActive>
  <LastName>sample 3</LastName>
  <LeaveDate>2024-12-22T18:00:47.7823499+00:00</LeaveDate>
  <ManagerEmployeeCompanyId>1</ManagerEmployeeCompanyId>
  <MiddleName>sample 4</MiddleName>
  <Name>sample 5</Name>
  <NormHoursPerWeek>1</NormHoursPerWeek>
  <Salutation>sample 10</Salutation>
  <SupplierCustomerCompanyId>1</SupplierCustomerCompanyId>
  <Titles>sample 12</Titles>
  <VacationHours>1</VacationHours>
</EmployeeCompany>

Response Information

Resource Description

QicsUnity.Api.Areas.V3.Models.EmployeeCompany
NameDescriptionTypeAdditional information
SupplierCustomerCompanyId

Gets or sets SupplierCustomerCompanyId

integer

64-bit signed integer

Nullable

HoursPerWeek

Gets or sets the hours per week

decimal number

Nullable

NormHoursPerWeek

Gets or sets the target hours per week

decimal number

Nullable

FirstName

Gets or sets the first name

string

Required

IsActive

Gets or sets a value indicating whether the employee is active

boolean

Required

LastName

Gets or sets the last name

string

Required

MiddleName

Gets or sets the middle name

string

Name

Gets or sets the name

string

EmailAddress

Gets or sets the email address

string

EmployeeId

Gets or sets EmployeeId

integer

64-bit signed integer

Nullable

EmployeeCompanyId

Gets or sets EmployeeCompanyId

integer

Required

64-bit signed integer

CompanyId

Gets or sets CompanyId

integer

64-bit signed integer

Nullable

EmployeeNumber

Gets or sets EmployeeNumber

integer

Required

DepartmentId

Gets or sets DepartmentId

integer

64-bit signed integer

Nullable

ManagerEmployeeCompanyId

Gets or sets ManagerEmployeeCompanyId

integer

64-bit signed integer

Nullable

CostCenterId

Gets or sets EmployeeCompany.CostCenterId

integer

64-bit signed integer

Nullable

FunctionId

Gets or sets FunctionId

integer

64-bit signed integer

Nullable

AssignedUserId

Gets or sets the assigned user id

integer

64-bit signed integer

Nullable

EmployeeHyperlinkCountsId

Gets or sets the EmployeeHyperlinkCountsId

integer

64-bit signed integer

Salutation

Gets or sets Salutation

string

Initials

Gets or sets Initials

string

Titles

Gets or sets Titles

string

Abbreviation

Gets or sets Abbreviation

string

EnlistmentDate

Gets or sets EnlistmentDate

date

date and time of day

Nullable

LeaveDate

Gets or sets LeaveDate

date

date and time of day

Nullable

EmployeeType

Gets or sets EmployeeType (nullable so it is not required, it is then prefilled on insert/update by default value)

QicsUnity.Api.Areas.V3.Models.EmployeeType

Nullable

VacationHours

Gets or sets VacationHours

decimal number

Nullable

Response Formats

application/json, text/json

Sample:
{
  "SupplierCustomerCompanyId": "1",
  "HoursPerWeek": "1",
  "NormHoursPerWeek": "1",
  "FirstName": "sample 1",
  "IsActive": true,
  "LastName": "sample 3",
  "MiddleName": "sample 4",
  "Name": "sample 5",
  "EmailAddress": "sample 6",
  "EmployeeId": "1",
  "EmployeeCompanyId": "7",
  "CompanyId": "1",
  "EmployeeNumber": "8",
  "DepartmentId": "1",
  "ManagerEmployeeCompanyId": "1",
  "CostCenterId": "1",
  "FunctionId": "1",
  "AssignedUserId": "1",
  "EmployeeHyperlinkCountsId": "9",
  "Salutation": "sample 10",
  "Initials": "sample 11",
  "Titles": "sample 12",
  "Abbreviation": "sample 13",
  "EnlistmentDate": "2024-12-22T18:00:47.7823499+00:00",
  "LeaveDate": "2024-12-22T18:00:47.7823499+00:00",
  "EmployeeType": "External",
  "VacationHours": "1"
}

application/xml, text/xml

Sample:
<EmployeeCompany xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V3.Models">
  <Abbreviation>sample 13</Abbreviation>
  <AssignedUserId>1</AssignedUserId>
  <CompanyId>1</CompanyId>
  <CostCenterId>1</CostCenterId>
  <DepartmentId>1</DepartmentId>
  <EmailAddress>sample 6</EmailAddress>
  <EmployeeCompanyId>7</EmployeeCompanyId>
  <EmployeeHyperlinkCountsId>9</EmployeeHyperlinkCountsId>
  <EmployeeId>1</EmployeeId>
  <EmployeeNumber>8</EmployeeNumber>
  <EmployeeType>External</EmployeeType>
  <EnlistmentDate>2024-12-22T18:00:47.7823499+00:00</EnlistmentDate>
  <FirstName>sample 1</FirstName>
  <FunctionId>1</FunctionId>
  <HoursPerWeek>1</HoursPerWeek>
  <Initials>sample 11</Initials>
  <IsActive>true</IsActive>
  <LastName>sample 3</LastName>
  <LeaveDate>2024-12-22T18:00:47.7823499+00:00</LeaveDate>
  <ManagerEmployeeCompanyId>1</ManagerEmployeeCompanyId>
  <MiddleName>sample 4</MiddleName>
  <Name>sample 5</Name>
  <NormHoursPerWeek>1</NormHoursPerWeek>
  <Salutation>sample 10</Salutation>
  <SupplierCustomerCompanyId>1</SupplierCustomerCompanyId>
  <Titles>sample 12</Titles>
  <VacationHours>1</VacationHours>
</EmployeeCompany>