GET PlanCare2Api/Timesheets/PCD/{timesheetId}
Retrieve a PCD timesheet
Requires 'Start' permission for function RegistrationOverview {2C05CECA-9B4D-4159-86C6-B39F4E167D86}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| timesheetId |
The Id of the PCD timesheet |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns the PCD timesheet instance
TimesheetPCD| Name | Description | Type | Additional information |
|---|---|---|---|
| ProjectId |
The id of the project |
string |
Required |
| Client |
References to the client |
Identity |
Required |
| ContractId |
References to the Contract |
integer |
Required |
| Identifier |
The Identifier of the timeregistration. Remarks: When using PlanCare2 identification: for new instance the Identifier should be 0 and Type should be PlanCare2Id. When using External identification: the Identifier should always be your own identifier and Type should be ExternalId. |
Identity |
Required |
| Employee |
References to the employee. |
Identity |
Required |
| ProductId |
References to the Product. |
integer |
Required |
| Start |
The start date and time. |
date |
Required |
| End |
The end date and time. |
date |
Required |
| EmploymentId |
References to the employment of the employee. |
integer |
Required |
| WorkTypeId |
References to an optional WorkType. |
integer |
None |
| Description |
The description of the timeregistration. |
string |
None |
| ClientAbsent |
Determines whether the client is absent. |
boolean |
None |
| ClientSigned |
Determines whether the client has signed. |
boolean |
None |
| CostTypeId |
The id of the costType. |
integer |
None |
| TravelMethodId |
The id of the travelMethod. |
integer |
None |
| Cost |
Amount of the cost. |
decimal number |
None |
| TravelDistance |
The travel distances in km. |
integer |
None |
| TravelDuration |
The travel duration in minutes. |
integer |
None |
| Location |
The address. |
Location |
None |
| OrganizationEntityId |
Refers to the organization entity id. |
Identity |
None |