PUT V2/odata/TimeExpenseEntry({key})
Updates TimeExpenseEntry entity
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| key |
EntryId from TimeExpenseEntry entity |
integer |
Required |
Body Parameters
QicsUnity.Api.Areas.V2.Models.TimeExpenseEntry| Name | Description | Type | Additional information |
|---|---|---|---|
| EntryId |
Gets or sets the PK |
integer |
Required 64-bit signed integer |
| ProjectId |
Gets or sets a reference to Project |
integer |
64-bit signed integer Nullable |
| ProjectTaskId |
Gets or sets a reference to ProjectTask |
integer |
64-bit signed integer Nullable |
| IsTaskMandatoryOnTimeEntry |
Gets or sets a value indicating whether task is mandatory for entry project |
boolean |
Required |
| EmployeeId |
Gets or sets Resource.ResourceId |
integer |
Required 64-bit signed integer |
| ItemId |
Gets or sets ItemCompany.ItemId |
integer |
64-bit signed integer Nullable |
| State |
Gets or sets State |
QicsUnity.Api.Areas.V2.Models.TimesheetEntryState |
Required |
| Quantity |
Gets or sets Quantity |
decimal number |
Required |
| Type |
Gets or sets Type |
QicsUnity.Api.Areas.V2.Models.TimesheetEntryTypeV2 |
Required |
| Date |
Gets or sets time entry Date |
date |
Required date and time of day, relative to Coordinated Universal Time (UTC) |
| StartTime |
Gets or sets a time when time entry starts |
time interval |
Nullable |
| Description |
Gets or sets Description |
string | |
| LongDescription |
Gets or sets LongDescription |
string | |
| RejectionReason |
Gets or sets RejectionReason |
string | |
| CostRate |
Gets or sets CostRate |
decimal number |
Nullable |
| SalesRate |
Gets or sets SalesRate |
decimal number |
Nullable |
| IrregularityPercentage |
Gets or sets IrregularityPercentage |
decimal number |
Nullable |
| IrregularityPercentageId |
Gets or sets IrregularityPercentageId |
integer |
64-bit signed integer Nullable |
| UseCustomSalesRate |
Gets or sets a value indicating whether a custom sales rate is used Represents UseCustomSalesRate field |
boolean |
Required |
| WillBeInvoiced |
Gets or sets a value indicating whether entry appears on invoices. Represents TimesheetEntry.WillBeInvoiced |
boolean |
Nullable |
| IsBillable |
Gets or sets a value indicating whether IsBillable is true |
boolean |
Required |
| AssignmentId |
Gets or sets the id of assignment the entry was created based on |
integer |
64-bit signed integer Nullable |
| InvoiceMutationReasonId |
Gets or sets InvoiceMutationReasonId |
integer |
64-bit signed integer Nullable |
| InvoiceAfter |
Gets or sets InvoiceAfter - null if it is the same as Date |
date |
date and time of day Nullable |
| ProjectContractId |
Gets or sets ProjectContractId |
integer |
64-bit signed integer Nullable |
Request Formats
application/json, text/json, application/scim+json
{
"EntryId": "1",
"ProjectId": "1",
"ProjectTaskId": "1",
"IsTaskMandatoryOnTimeEntry": true,
"EmployeeId": "3",
"ItemId": "1",
"State": "Open",
"Quantity": "4",
"Type": "Hour",
"Date": "2025-10-24T01:41:09.9400577+00:00",
"StartTime": "00:00:00.1234567",
"Description": "sample 6",
"LongDescription": "sample 7",
"RejectionReason": "sample 8",
"CostRate": "1",
"SalesRate": "1",
"IrregularityPercentage": "1",
"IrregularityPercentageId": "1",
"UseCustomSalesRate": true,
"WillBeInvoiced": true,
"IsBillable": true,
"AssignmentId": "1",
"InvoiceMutationReasonId": "1",
"InvoiceAfter": "2025-10-24T01:41:09.9400577+00:00",
"ProjectContractId": "1"
}
application/xml, text/xml
<TimeExpenseEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V2.Models">
<AssignmentId>1</AssignmentId>
<CostRate>1</CostRate>
<Date xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-10-24T01:41:09.9400577Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</Date>
<Description>sample 6</Description>
<EmployeeId>3</EmployeeId>
<EntryId>1</EntryId>
<InvoiceAfter>2025-10-24T01:41:09.9400577+00:00</InvoiceAfter>
<InvoiceMutationReasonId>1</InvoiceMutationReasonId>
<IrregularityPercentage>1</IrregularityPercentage>
<IrregularityPercentageId>1</IrregularityPercentageId>
<IsBillable>true</IsBillable>
<IsTaskMandatoryOnTimeEntry>true</IsTaskMandatoryOnTimeEntry>
<ItemId>1</ItemId>
<LongDescription>sample 7</LongDescription>
<ProjectContractId>1</ProjectContractId>
<ProjectId>1</ProjectId>
<ProjectTaskId>1</ProjectTaskId>
<Quantity>4</Quantity>
<RejectionReason>sample 8</RejectionReason>
<SalesRate>1</SalesRate>
<StartTime>PT0.1234567S</StartTime>
<State>Open</State>
<Type>Hour</Type>
<UseCustomSalesRate>true</UseCustomSalesRate>
<WillBeInvoiced>true</WillBeInvoiced>
</TimeExpenseEntry>
Response Information
Resource Description
QicsUnity.Api.Areas.V2.Models.TimeExpenseEntry| Name | Description | Type | Additional information |
|---|---|---|---|
| EntryId |
Gets or sets the PK |
integer |
Required 64-bit signed integer |
| ProjectId |
Gets or sets a reference to Project |
integer |
64-bit signed integer Nullable |
| ProjectTaskId |
Gets or sets a reference to ProjectTask |
integer |
64-bit signed integer Nullable |
| IsTaskMandatoryOnTimeEntry |
Gets or sets a value indicating whether task is mandatory for entry project |
boolean |
Required |
| EmployeeId |
Gets or sets Resource.ResourceId |
integer |
Required 64-bit signed integer |
| ItemId |
Gets or sets ItemCompany.ItemId |
integer |
64-bit signed integer Nullable |
| State |
Gets or sets State |
QicsUnity.Api.Areas.V2.Models.TimesheetEntryState |
Required |
| Quantity |
Gets or sets Quantity |
decimal number |
Required |
| Type |
Gets or sets Type |
QicsUnity.Api.Areas.V2.Models.TimesheetEntryTypeV2 |
Required |
| Date |
Gets or sets time entry Date |
date |
Required date and time of day, relative to Coordinated Universal Time (UTC) |
| StartTime |
Gets or sets a time when time entry starts |
time interval |
Nullable |
| Description |
Gets or sets Description |
string | |
| LongDescription |
Gets or sets LongDescription |
string | |
| RejectionReason |
Gets or sets RejectionReason |
string | |
| CostRate |
Gets or sets CostRate |
decimal number |
Nullable |
| SalesRate |
Gets or sets SalesRate |
decimal number |
Nullable |
| IrregularityPercentage |
Gets or sets IrregularityPercentage |
decimal number |
Nullable |
| IrregularityPercentageId |
Gets or sets IrregularityPercentageId |
integer |
64-bit signed integer Nullable |
| UseCustomSalesRate |
Gets or sets a value indicating whether a custom sales rate is used Represents UseCustomSalesRate field |
boolean |
Required |
| WillBeInvoiced |
Gets or sets a value indicating whether entry appears on invoices. Represents TimesheetEntry.WillBeInvoiced |
boolean |
Nullable |
| IsBillable |
Gets or sets a value indicating whether IsBillable is true |
boolean |
Required |
| AssignmentId |
Gets or sets the id of assignment the entry was created based on |
integer |
64-bit signed integer Nullable |
| InvoiceMutationReasonId |
Gets or sets InvoiceMutationReasonId |
integer |
64-bit signed integer Nullable |
| InvoiceAfter |
Gets or sets InvoiceAfter - null if it is the same as Date |
date |
date and time of day Nullable |
| ProjectContractId |
Gets or sets ProjectContractId |
integer |
64-bit signed integer Nullable |
Response Formats
application/json, text/json, application/scim+json
{
"EntryId": "1",
"ProjectId": "1",
"ProjectTaskId": "1",
"IsTaskMandatoryOnTimeEntry": true,
"EmployeeId": "3",
"ItemId": "1",
"State": "Open",
"Quantity": "4",
"Type": "Hour",
"Date": "2025-10-24T01:41:09.9400577+00:00",
"StartTime": "00:00:00.1234567",
"Description": "sample 6",
"LongDescription": "sample 7",
"RejectionReason": "sample 8",
"CostRate": "1",
"SalesRate": "1",
"IrregularityPercentage": "1",
"IrregularityPercentageId": "1",
"UseCustomSalesRate": true,
"WillBeInvoiced": true,
"IsBillable": true,
"AssignmentId": "1",
"InvoiceMutationReasonId": "1",
"InvoiceAfter": "2025-10-24T01:41:09.9400577+00:00",
"ProjectContractId": "1"
}
application/xml, text/xml
<TimeExpenseEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V2.Models">
<AssignmentId>1</AssignmentId>
<CostRate>1</CostRate>
<Date xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-10-24T01:41:09.9400577Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</Date>
<Description>sample 6</Description>
<EmployeeId>3</EmployeeId>
<EntryId>1</EntryId>
<InvoiceAfter>2025-10-24T01:41:09.9400577+00:00</InvoiceAfter>
<InvoiceMutationReasonId>1</InvoiceMutationReasonId>
<IrregularityPercentage>1</IrregularityPercentage>
<IrregularityPercentageId>1</IrregularityPercentageId>
<IsBillable>true</IsBillable>
<IsTaskMandatoryOnTimeEntry>true</IsTaskMandatoryOnTimeEntry>
<ItemId>1</ItemId>
<LongDescription>sample 7</LongDescription>
<ProjectContractId>1</ProjectContractId>
<ProjectId>1</ProjectId>
<ProjectTaskId>1</ProjectTaskId>
<Quantity>4</Quantity>
<RejectionReason>sample 8</RejectionReason>
<SalesRate>1</SalesRate>
<StartTime>PT0.1234567S</StartTime>
<State>Open</State>
<Type>Hour</Type>
<UseCustomSalesRate>true</UseCustomSalesRate>
<WillBeInvoiced>true</WillBeInvoiced>
</TimeExpenseEntry>