PUT V3/odata/TimeExpenseEntry({key})
Updates TimeExpenseEntry entity
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
key |
TimeExpenseEntryId from TimeExpenseEntry entity |
integer |
Required |
Body Parameters
QicsUnity.Api.Areas.V3.Models.TimeExpenseEntryName | Description | Type | Additional information |
---|---|---|---|
TimeExpenseEntryId |
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 |
BudgetId |
Gets or sets a reference to Budget |
integer |
64-bit signed integer Nullable |
IsBudgetMandatoryOnTimeEntry |
Gets or sets a value indicating whether budget 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.V3.Models.TimesheetEntryState |
Required |
Quantity |
Gets or sets Quantity |
decimal number |
Required |
Type |
Gets or sets Type |
QicsUnity.Api.Areas.V3.Models.TimesheetEntryTypeV3 |
Required |
Date |
Gets or sets time entry Date |
date |
Required date and time of day |
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 |
ExtraChargePercentageValue |
Gets or sets ExtraChargePercentageValue |
decimal number |
Nullable |
ExtraChargePercentageId |
Gets or sets ExtraChargePercentageId |
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 |
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 |
Group |
Gets or sets timesheet entry group |
globally unique identifier |
Nullable |
GroupCreatedOn |
Gets or sets the time when group was created. Current implementation only supports to set the value only on insert. |
date |
date and time of day, relative to Coordinated Universal Time (UTC) Nullable |
ProjectContractId |
Gets or sets ProjectContractId |
integer |
64-bit signed integer Nullable |
Request Formats
application/json, text/json
{ "TimeExpenseEntryId": "1", "ProjectId": "1", "BudgetId": "1", "IsBudgetMandatoryOnTimeEntry": true, "EmployeeId": "3", "ItemId": "1", "State": "Concept", "Quantity": "4", "Type": "Hour", "Date": "2024-12-22T17:46:27.5631878+00:00", "StartTime": "00:00:00.1234567", "Description": "sample 6", "LongDescription": "sample 7", "RejectionReason": "sample 8", "CostRate": "1", "SalesRate": "1", "ExtraChargePercentageValue": "1", "ExtraChargePercentageId": "1", "UseCustomSalesRate": true, "WillBeInvoiced": true, "IsBillable": true, "InvoiceMutationReasonId": "1", "InvoiceAfter": "2024-12-22T17:46:27.5631878+00:00", "Group": "dd0400c1-616b-4fda-a137-0f04443a6fbd", "GroupCreatedOn": "2024-12-22T17:46:27.5631878+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.V3.Models"> <BudgetId>1</BudgetId> <CostRate>1</CostRate> <Date>2024-12-22T17:46:27.5631878+00:00</Date> <Description>sample 6</Description> <EmployeeId>3</EmployeeId> <ExtraChargePercentageId>1</ExtraChargePercentageId> <ExtraChargePercentageValue>1</ExtraChargePercentageValue> <Group>dd0400c1-616b-4fda-a137-0f04443a6fbd</Group> <GroupCreatedOn xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2024-12-22T17:46:27.5631878Z</d2p1:DateTime> <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes> </GroupCreatedOn> <InvoiceAfter>2024-12-22T17:46:27.5631878+00:00</InvoiceAfter> <InvoiceMutationReasonId>1</InvoiceMutationReasonId> <IsBillable>true</IsBillable> <IsBudgetMandatoryOnTimeEntry>true</IsBudgetMandatoryOnTimeEntry> <ItemId>1</ItemId> <LongDescription>sample 7</LongDescription> <ProjectContractId>1</ProjectContractId> <ProjectId>1</ProjectId> <Quantity>4</Quantity> <RejectionReason>sample 8</RejectionReason> <SalesRate>1</SalesRate> <StartTime>PT0.1234567S</StartTime> <State>Concept</State> <TimeExpenseEntryId>1</TimeExpenseEntryId> <Type>Hour</Type> <UseCustomSalesRate>true</UseCustomSalesRate> <WillBeInvoiced>true</WillBeInvoiced> </TimeExpenseEntry>
Response Information
Resource Description
QicsUnity.Api.Areas.V3.Models.TimeExpenseEntryName | Description | Type | Additional information |
---|---|---|---|
TimeExpenseEntryId |
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 |
BudgetId |
Gets or sets a reference to Budget |
integer |
64-bit signed integer Nullable |
IsBudgetMandatoryOnTimeEntry |
Gets or sets a value indicating whether budget 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.V3.Models.TimesheetEntryState |
Required |
Quantity |
Gets or sets Quantity |
decimal number |
Required |
Type |
Gets or sets Type |
QicsUnity.Api.Areas.V3.Models.TimesheetEntryTypeV3 |
Required |
Date |
Gets or sets time entry Date |
date |
Required date and time of day |
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 |
ExtraChargePercentageValue |
Gets or sets ExtraChargePercentageValue |
decimal number |
Nullable |
ExtraChargePercentageId |
Gets or sets ExtraChargePercentageId |
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 |
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 |
Group |
Gets or sets timesheet entry group |
globally unique identifier |
Nullable |
GroupCreatedOn |
Gets or sets the time when group was created. Current implementation only supports to set the value only on insert. |
date |
date and time of day, relative to Coordinated Universal Time (UTC) Nullable |
ProjectContractId |
Gets or sets ProjectContractId |
integer |
64-bit signed integer Nullable |
Response Formats
application/json, text/json
{ "TimeExpenseEntryId": "1", "ProjectId": "1", "BudgetId": "1", "IsBudgetMandatoryOnTimeEntry": true, "EmployeeId": "3", "ItemId": "1", "State": "Concept", "Quantity": "4", "Type": "Hour", "Date": "2024-12-22T17:46:27.5631878+00:00", "StartTime": "00:00:00.1234567", "Description": "sample 6", "LongDescription": "sample 7", "RejectionReason": "sample 8", "CostRate": "1", "SalesRate": "1", "ExtraChargePercentageValue": "1", "ExtraChargePercentageId": "1", "UseCustomSalesRate": true, "WillBeInvoiced": true, "IsBillable": true, "InvoiceMutationReasonId": "1", "InvoiceAfter": "2024-12-22T17:46:27.5631878+00:00", "Group": "37ea75d3-7ba8-44a0-b7e5-58332909c6c5", "GroupCreatedOn": "2024-12-22T17:46:27.5631878+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.V3.Models"> <BudgetId>1</BudgetId> <CostRate>1</CostRate> <Date>2024-12-22T17:46:27.5631878+00:00</Date> <Description>sample 6</Description> <EmployeeId>3</EmployeeId> <ExtraChargePercentageId>1</ExtraChargePercentageId> <ExtraChargePercentageValue>1</ExtraChargePercentageValue> <Group>37ea75d3-7ba8-44a0-b7e5-58332909c6c5</Group> <GroupCreatedOn xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2024-12-22T17:46:27.5631878Z</d2p1:DateTime> <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes> </GroupCreatedOn> <InvoiceAfter>2024-12-22T17:46:27.5631878+00:00</InvoiceAfter> <InvoiceMutationReasonId>1</InvoiceMutationReasonId> <IsBillable>true</IsBillable> <IsBudgetMandatoryOnTimeEntry>true</IsBudgetMandatoryOnTimeEntry> <ItemId>1</ItemId> <LongDescription>sample 7</LongDescription> <ProjectContractId>1</ProjectContractId> <ProjectId>1</ProjectId> <Quantity>4</Quantity> <RejectionReason>sample 8</RejectionReason> <SalesRate>1</SalesRate> <StartTime>PT0.1234567S</StartTime> <State>Concept</State> <TimeExpenseEntryId>1</TimeExpenseEntryId> <Type>Hour</Type> <UseCustomSalesRate>true</UseCustomSalesRate> <WillBeInvoiced>true</WillBeInvoiced> </TimeExpenseEntry>