POST V2/odata/Employee
Inserts Employee entity
Request Information
URI Parameters
None.
Body Parameters
QicsUnity.Api.Areas.V2.Models.EmployeeName | Description | Type | Additional information |
---|---|---|---|
Address1 |
Gets or sets the first address line |
string | |
Address2 |
Gets or sets the second address line |
string | |
City |
Gets or sets the city |
string | |
ContactPerson |
Gets or sets the contact person |
string | |
Country |
Gets or sets the country |
string | |
County |
Gets or sets the county |
string | |
EmailAddress |
Gets or sets the email address |
string | |
PhoneNumber |
Gets or sets the phone number |
string | |
ZipCode |
Gets or sets the zip code |
string | |
SupplierCustomerCompanyId |
Gets or sets SupplierCustomerCompanyId |
integer |
64-bit signed integer Nullable |
HoursPerWeek |
Gets or sets the hours per week |
decimal number |
Nullable |
NormBillableHoursPerWeek |
Gets or sets the target billable hours per week |
decimal number |
Nullable |
NormBillableHoursPerYear |
Gets or sets the target billable hours per year |
decimal number |
Nullable |
NormHoursPerWeek |
Gets or sets the target hours per week |
decimal number |
Nullable |
NormHoursPerYear |
Gets or sets the target hours per year |
decimal number |
Nullable |
NormProductivePerWeek |
Gets or sets the target productive hours per week |
decimal number |
Nullable |
NormProductivePerYear |
Gets or sets the target productive hours per year |
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 | |
ResourceId |
Gets or sets ResourceId |
integer |
64-bit signed integer Nullable |
ResourceCompanyId |
Gets or sets ResourceCompanyId |
integer |
Required 64-bit signed integer |
CompanyId |
Gets or sets CompanyId |
integer |
64-bit signed integer Nullable |
ResourceNumber |
Gets or sets ResourceNumber |
integer |
Required |
DepartmentId |
Gets or sets DepartmentId |
integer |
64-bit signed integer Nullable |
ManagerResourceCompanyId |
Gets or sets ManagerResourceCompanyId |
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 |
UseEmployeeItems |
Gets or sets a value indicating whether to use employee items |
boolean |
Required |
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.V2.Models.EmployeeType |
Nullable |
VacationHours |
Gets or sets VacationHours |
decimal number |
Nullable |
VacationFromPreviousYear |
Gets or sets VacationFromPreviousYear |
decimal number |
Nullable |
Request Formats
application/json, text/json
{ "Address1": "sample 1", "Address2": "sample 2", "City": "sample 3", "ContactPerson": "sample 4", "Country": "sample 5", "County": "sample 6", "EmailAddress": "sample 7", "PhoneNumber": "sample 8", "ZipCode": "sample 9", "SupplierCustomerCompanyId": "1", "HoursPerWeek": "1", "NormBillableHoursPerWeek": "1", "NormBillableHoursPerYear": "1", "NormHoursPerWeek": "1", "NormHoursPerYear": "1", "NormProductivePerWeek": "1", "NormProductivePerYear": "1", "FirstName": "sample 10", "IsActive": true, "LastName": "sample 12", "MiddleName": "sample 13", "Name": "sample 14", "ResourceId": "1", "ResourceCompanyId": "15", "CompanyId": "1", "ResourceNumber": "16", "DepartmentId": "1", "ManagerResourceCompanyId": "1", "CostCenterId": "1", "FunctionId": "1", "AssignedUserId": "1", "UseEmployeeItems": true, "EmployeeHyperlinkCountsId": "18", "Salutation": "sample 19", "Initials": "sample 20", "Titles": "sample 21", "Abbreviation": "sample 22", "EnlistmentDate": "2024-12-22T22:43:44.5395224+00:00", "LeaveDate": "2024-12-22T22:43:44.5395224+00:00", "EmployeeType": "External", "VacationHours": "1", "VacationFromPreviousYear": "1" }
application/xml, text/xml
<Employee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V2.Models"> <Abbreviation>sample 22</Abbreviation> <Address1>sample 1</Address1> <Address2>sample 2</Address2> <AssignedUserId>1</AssignedUserId> <City>sample 3</City> <CompanyId>1</CompanyId> <ContactPerson>sample 4</ContactPerson> <CostCenterId>1</CostCenterId> <Country>sample 5</Country> <County>sample 6</County> <DepartmentId>1</DepartmentId> <EmailAddress>sample 7</EmailAddress> <EmployeeHyperlinkCountsId>18</EmployeeHyperlinkCountsId> <EmployeeType>External</EmployeeType> <EnlistmentDate>2024-12-22T22:43:44.5395224+00:00</EnlistmentDate> <FirstName>sample 10</FirstName> <FunctionId>1</FunctionId> <HoursPerWeek>1</HoursPerWeek> <Initials>sample 20</Initials> <IsActive>true</IsActive> <LastName>sample 12</LastName> <LeaveDate>2024-12-22T22:43:44.5395224+00:00</LeaveDate> <ManagerResourceCompanyId>1</ManagerResourceCompanyId> <MiddleName>sample 13</MiddleName> <Name>sample 14</Name> <NormBillableHoursPerWeek>1</NormBillableHoursPerWeek> <NormBillableHoursPerYear>1</NormBillableHoursPerYear> <NormHoursPerWeek>1</NormHoursPerWeek> <NormHoursPerYear>1</NormHoursPerYear> <NormProductivePerWeek>1</NormProductivePerWeek> <NormProductivePerYear>1</NormProductivePerYear> <PhoneNumber>sample 8</PhoneNumber> <ResourceCompanyId>15</ResourceCompanyId> <ResourceId>1</ResourceId> <ResourceNumber>16</ResourceNumber> <Salutation>sample 19</Salutation> <SupplierCustomerCompanyId>1</SupplierCustomerCompanyId> <Titles>sample 21</Titles> <UseEmployeeItems>true</UseEmployeeItems> <VacationFromPreviousYear>1</VacationFromPreviousYear> <VacationHours>1</VacationHours> <ZipCode>sample 9</ZipCode> </Employee>
Response Information
Resource Description
QicsUnity.Api.Areas.V2.Models.EmployeeName | Description | Type | Additional information |
---|---|---|---|
Address1 |
Gets or sets the first address line |
string | |
Address2 |
Gets or sets the second address line |
string | |
City |
Gets or sets the city |
string | |
ContactPerson |
Gets or sets the contact person |
string | |
Country |
Gets or sets the country |
string | |
County |
Gets or sets the county |
string | |
EmailAddress |
Gets or sets the email address |
string | |
PhoneNumber |
Gets or sets the phone number |
string | |
ZipCode |
Gets or sets the zip code |
string | |
SupplierCustomerCompanyId |
Gets or sets SupplierCustomerCompanyId |
integer |
64-bit signed integer Nullable |
HoursPerWeek |
Gets or sets the hours per week |
decimal number |
Nullable |
NormBillableHoursPerWeek |
Gets or sets the target billable hours per week |
decimal number |
Nullable |
NormBillableHoursPerYear |
Gets or sets the target billable hours per year |
decimal number |
Nullable |
NormHoursPerWeek |
Gets or sets the target hours per week |
decimal number |
Nullable |
NormHoursPerYear |
Gets or sets the target hours per year |
decimal number |
Nullable |
NormProductivePerWeek |
Gets or sets the target productive hours per week |
decimal number |
Nullable |
NormProductivePerYear |
Gets or sets the target productive hours per year |
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 | |
ResourceId |
Gets or sets ResourceId |
integer |
64-bit signed integer Nullable |
ResourceCompanyId |
Gets or sets ResourceCompanyId |
integer |
Required 64-bit signed integer |
CompanyId |
Gets or sets CompanyId |
integer |
64-bit signed integer Nullable |
ResourceNumber |
Gets or sets ResourceNumber |
integer |
Required |
DepartmentId |
Gets or sets DepartmentId |
integer |
64-bit signed integer Nullable |
ManagerResourceCompanyId |
Gets or sets ManagerResourceCompanyId |
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 |
UseEmployeeItems |
Gets or sets a value indicating whether to use employee items |
boolean |
Required |
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.V2.Models.EmployeeType |
Nullable |
VacationHours |
Gets or sets VacationHours |
decimal number |
Nullable |
VacationFromPreviousYear |
Gets or sets VacationFromPreviousYear |
decimal number |
Nullable |
Response Formats
application/json, text/json
{ "Address1": "sample 1", "Address2": "sample 2", "City": "sample 3", "ContactPerson": "sample 4", "Country": "sample 5", "County": "sample 6", "EmailAddress": "sample 7", "PhoneNumber": "sample 8", "ZipCode": "sample 9", "SupplierCustomerCompanyId": "1", "HoursPerWeek": "1", "NormBillableHoursPerWeek": "1", "NormBillableHoursPerYear": "1", "NormHoursPerWeek": "1", "NormHoursPerYear": "1", "NormProductivePerWeek": "1", "NormProductivePerYear": "1", "FirstName": "sample 10", "IsActive": true, "LastName": "sample 12", "MiddleName": "sample 13", "Name": "sample 14", "ResourceId": "1", "ResourceCompanyId": "15", "CompanyId": "1", "ResourceNumber": "16", "DepartmentId": "1", "ManagerResourceCompanyId": "1", "CostCenterId": "1", "FunctionId": "1", "AssignedUserId": "1", "UseEmployeeItems": true, "EmployeeHyperlinkCountsId": "18", "Salutation": "sample 19", "Initials": "sample 20", "Titles": "sample 21", "Abbreviation": "sample 22", "EnlistmentDate": "2024-12-22T22:43:44.5695923+00:00", "LeaveDate": "2024-12-22T22:43:44.5695923+00:00", "EmployeeType": "External", "VacationHours": "1", "VacationFromPreviousYear": "1" }
application/xml, text/xml
<Employee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V2.Models"> <Abbreviation>sample 22</Abbreviation> <Address1>sample 1</Address1> <Address2>sample 2</Address2> <AssignedUserId>1</AssignedUserId> <City>sample 3</City> <CompanyId>1</CompanyId> <ContactPerson>sample 4</ContactPerson> <CostCenterId>1</CostCenterId> <Country>sample 5</Country> <County>sample 6</County> <DepartmentId>1</DepartmentId> <EmailAddress>sample 7</EmailAddress> <EmployeeHyperlinkCountsId>18</EmployeeHyperlinkCountsId> <EmployeeType>External</EmployeeType> <EnlistmentDate>2024-12-22T22:43:44.5695923+00:00</EnlistmentDate> <FirstName>sample 10</FirstName> <FunctionId>1</FunctionId> <HoursPerWeek>1</HoursPerWeek> <Initials>sample 20</Initials> <IsActive>true</IsActive> <LastName>sample 12</LastName> <LeaveDate>2024-12-22T22:43:44.5695923+00:00</LeaveDate> <ManagerResourceCompanyId>1</ManagerResourceCompanyId> <MiddleName>sample 13</MiddleName> <Name>sample 14</Name> <NormBillableHoursPerWeek>1</NormBillableHoursPerWeek> <NormBillableHoursPerYear>1</NormBillableHoursPerYear> <NormHoursPerWeek>1</NormHoursPerWeek> <NormHoursPerYear>1</NormHoursPerYear> <NormProductivePerWeek>1</NormProductivePerWeek> <NormProductivePerYear>1</NormProductivePerYear> <PhoneNumber>sample 8</PhoneNumber> <ResourceCompanyId>15</ResourceCompanyId> <ResourceId>1</ResourceId> <ResourceNumber>16</ResourceNumber> <Salutation>sample 19</Salutation> <SupplierCustomerCompanyId>1</SupplierCustomerCompanyId> <Titles>sample 21</Titles> <UseEmployeeItems>true</UseEmployeeItems> <VacationFromPreviousYear>1</VacationFromPreviousYear> <VacationHours>1</VacationHours> <ZipCode>sample 9</ZipCode> </Employee>