GET Api/UserTasks/{id}
Wyszukuje object UserTask po jego identyfikatorze
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
unikalny identyfikator obiektu |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
obiekt UserTask posiadajÄ…cy wybrany identyfikator
UserTaskDtoName | Description | Type | Additional information |
---|---|---|---|
UserTaskId | integer |
Required |
|
Title | string |
Required |
|
Description | string |
None. |
|
ProcessStepId | integer |
Required |
|
Sequence | integer |
Required |
|
Priority | integer |
None. |
|
Hours | decimal number |
None. |
|
RequiedHours | decimal number |
None. |
|
AdditionalCosts | decimal number |
None. |
|
VatId | integer |
None. |
|
OrganizationalUnitId | integer |
None. |
|
ServiceId | integer |
None. |
|
SubscriptionId | integer |
None. |
|
CreationDate | date |
Required |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
Author | string |
None. |
|
ProfileId | string |
None. |
|
TaskCategoryId | integer |
None. |
|
ProcessStepName | string |
None. |
|
BusinessProcessId | integer |
None. |
|
TaskComments | Collection of TaskComment |
None. |
|
Canceled | boolean |
None. |
|
ContactId | integer |
None. |
|
CompanyInfoId | integer |
None. |
|
ContactName | string |
None. |
|
CompanyInfoName | string |
None. |
|
AdditionalProfileId | string |
None. |
|
AvgNumberOfEmployeesInMonth | decimal number |
None. |
|
AvgNumberOfHoursInMonth | decimal number |
None. |
|
RatePerManHour | decimal number |
None. |
|
MarginPerManHour | decimal number |
None. |
|
BonusRateForPrimaryUser | integer |
None. |
|
CancellationComment | string |
None. |
|
PeriodicServiceId | integer |
None. |
|
Files | Collection of ElementUserTaskDocumentStruct |
None. |
|
CalcFormTasks | Collection of CalcFormTask |
None. |
Response Formats
application/json, text/json
Sample:
{ "userTaskId": 1, "title": "sample string 2", "description": "sample string 3", "processStepId": 4, "sequence": 5, "priority": 1, "hours": 1.0, "requiedHours": 1.0, "additionalCosts": 1.0, "vatId": 1, "organizationalUnitId": 1, "serviceId": 1, "subscriptionId": 1, "creationDate": "2024-05-18T06:39:43.0466936+00:00", "startDate": "2024-05-18T06:39:43.0466936+00:00", "endDate": "2024-05-18T06:39:43.0466936+00:00", "author": "sample string 7", "profileId": "sample string 8", "taskCategoryId": 1, "processStepName": "sample string 9", "businessProcessId": 10, "taskComments": [ { "taskCommentId": 1, "profileId": "sample string 2", "userTaskId": 3, "parentTaskCommentId": 1, "content": "sample string 4", "creationDate": "2024-05-18T06:39:43.0466936+00:00" }, { "taskCommentId": 1, "profileId": "sample string 2", "userTaskId": 3, "parentTaskCommentId": 1, "content": "sample string 4", "creationDate": "2024-05-18T06:39:43.0466936+00:00" } ], "canceled": true, "contactId": 1, "companyInfoId": 1, "contactName": "sample string 12", "companyInfoName": "sample string 13", "additionalProfileId": "sample string 14", "avgNumberOfEmployeesInMonth": 1.0, "avgNumberOfHoursInMonth": 1.0, "ratePerManHour": 1.0, "marginPerManHour": 1.0, "bonusRateForPrimaryUser": 15, "cancellationComment": "sample string 16", "periodicServiceId": 1, "files": [ { "fileName": "sample string 1", "fileCategoryId": 1 }, { "fileName": "sample string 1", "fileCategoryId": 1 } ], "calcFormTasks": [ { "priceFactorId": 1, "value": 1.0 }, { "priceFactorId": 1, "value": 1.0 } ] }
multipart/form-data
Sample:
{"userTaskId":1,"title":"sample string 2","description":"sample string 3","processStepId":4,"sequence":5,"priority":1,"hours":1.0,"requiedHours":1.0,"additionalCosts":1.0,"vatId":1,"organizationalUnitId":1,"serviceId":1,"subscriptionId":1,"creationDate":"2024-05-18T06:39:43.0466936+00:00","startDate":"2024-05-18T06:39:43.0466936+00:00","endDate":"2024-05-18T06:39:43.0466936+00:00","author":"sample string 7","profileId":"sample string 8","taskCategoryId":1,"processStepName":"sample string 9","businessProcessId":10,"taskComments":[{"taskCommentId":1,"profileId":"sample string 2","userTaskId":3,"parentTaskCommentId":1,"content":"sample string 4","creationDate":"2024-05-18T06:39:43.0466936+00:00"},{"taskCommentId":1,"profileId":"sample string 2","userTaskId":3,"parentTaskCommentId":1,"content":"sample string 4","creationDate":"2024-05-18T06:39:43.0466936+00:00"}],"canceled":true,"contactId":1,"companyInfoId":1,"contactName":"sample string 12","companyInfoName":"sample string 13","additionalProfileId":"sample string 14","avgNumberOfEmployeesInMonth":1.0,"avgNumberOfHoursInMonth":1.0,"ratePerManHour":1.0,"marginPerManHour":1.0,"bonusRateForPrimaryUser":15,"cancellationComment":"sample string 16","periodicServiceId":1,"files":[{"fileName":"sample string 1","fileCategoryId":1},{"fileName":"sample string 1","fileCategoryId":1}],"calcFormTasks":[{"priceFactorId":1,"value":1.0},{"priceFactorId":1,"value":1.0}]}