GET api/v2/WorkTypes/{WorkTypeId}/FirstStep
Request
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| WorkTypeId | integer |
Required |
Response
WorkTypeFlowDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| WorkTypeId | integer | ||
| EditEstimatedTimes | boolean | ||
| EstimatedWork | decimal number | ||
| OwnerUserRoleId | integer | ||
| OwnerUserRole | UserRoleBasic | ||
| PriorityId | integer | ||
| Priority | PriorityBasic | ||
| PriorityRequired | boolean | ||
| RequiredConclusion | boolean | ||
| RequiredClass | boolean | ||
| RequiredSubclass | boolean | ||
| RequiredAccount | boolean | ||
| RequireAccountFields | boolean | ||
| RequiredPerformTime | boolean | ||
| ResponsibleUserRoleId | integer | ||
| ResponsibleUserRole | UserRoleBasic | ||
| Id | integer | ||
| WorkFlowStepFromId | integer | ||
| WorkFlowStepToId | integer | ||
| ExecutionTime | decimal number | ||
| ConclusionTime | decimal number | ||
| FinishWork | boolean | ||
| AllowSamples | boolean | ||
| SampleStatusId | integer | ||
| ServiceAreaId | integer | ||
| InstructionFileId | integer | ||
| InstructionFileVersion | integer | ||
| AllowEditTemplateSample | boolean | ||
| SampleStatus | SampleStatusBasic | ||
| ServiceArea | ServiceAreaBasic | ||
| WorkFlowStepFrom | WorkFlowStepBasic | ||
| WorkFlowStepTo | WorkFlowStepBasic |
Response Format
application/json, text/json
Sample:
{
"WorkTypeId": 1,
"EditEstimatedTimes": true,
"EstimatedWork": 1.1,
"OwnerUserRoleId": 1,
"OwnerUserRole": {
"Id": 1,
"Identification": "sample string 2",
"Active": true
},
"PriorityId": 1,
"Priority": {
"Active": true,
"Id": 2,
"Identification": "sample string 3"
},
"PriorityRequired": true,
"RequiredConclusion": true,
"RequiredClass": true,
"RequiredSubclass": true,
"RequiredAccount": true,
"RequireAccountFields": true,
"RequiredPerformTime": true,
"ResponsibleUserRoleId": 1,
"ResponsibleUserRole": {
"Id": 1,
"Identification": "sample string 2",
"Active": true
},
"Id": 8,
"WorkFlowStepFromId": 1,
"WorkFlowStepToId": 1,
"ExecutionTime": 1.1,
"ConclusionTime": 1.1,
"FinishWork": true,
"AllowSamples": true,
"SampleStatusId": 1,
"ServiceAreaId": 1,
"InstructionFileId": 1,
"InstructionFileVersion": 1,
"AllowEditTemplateSample": true,
"SampleStatus": {
"Id": 1,
"Identification": "sample string 2",
"BeforeReceive": true,
"AfterPublish": true,
"PortalSampleStatus": true
},
"ServiceArea": {
"ServiceCenter": {
"Active": true,
"PriceList": {
"Active": true,
"Expire": "2026-03-18T19:42:59.3992775Z",
"ConsiderServiceCenterPriceListFromSampleOrWork": true,
"Id": 3,
"Identification": "sample string 4"
},
"Id": 2,
"Identification": "sample string 3"
},
"ExtraTime": 1,
"ExternalServiceArea": true,
"Active": true,
"Id": 3,
"Identification": "sample string 4"
},
"WorkFlowStepFrom": {
"Id": 1,
"Identification": "sample string 2",
"Active": true
},
"WorkFlowStepTo": {
"Id": 1,
"Identification": "sample string 2",
"Active": true
}
}
text/html
Sample:
{"WorkTypeId":1,"EditEstimatedTimes":true,"EstimatedWork":1.1,"OwnerUserRoleId":1,"OwnerUserRole":{"Id":1,"Identification":"sample string 2","Active":true},"PriorityId":1,"Priority":{"Active":true,"Id":2,"Identification":"sample string 3"},"PriorityRequired":true,"RequiredConclusion":true,"RequiredClass":true,"RequiredSubclass":true,"RequiredAccount":true,"RequireAccountFields":true,"RequiredPerformTime":true,"ResponsibleUserRoleId":1,"ResponsibleUserRole":{"Id":1,"Identification":"sample string 2","Active":true},"Id":8,"WorkFlowStepFromId":1,"WorkFlowStepToId":1,"ExecutionTime":1.1,"ConclusionTime":1.1,"FinishWork":true,"AllowSamples":true,"SampleStatusId":1,"ServiceAreaId":1,"InstructionFileId":1,"InstructionFileVersion":1,"AllowEditTemplateSample":true,"SampleStatus":{"Id":1,"Identification":"sample string 2","BeforeReceive":true,"AfterPublish":true,"PortalSampleStatus":true},"ServiceArea":{"ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2026-03-18T19:42:59.3992775Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Id":2,"Identification":"sample string 3"},"ExtraTime":1,"ExternalServiceArea":true,"Active":true,"Id":3,"Identification":"sample string 4"},"WorkFlowStepFrom":{"Id":1,"Identification":"sample string 2","Active":true},"WorkFlowStepTo":{"Id":1,"Identification":"sample string 2","Active":true}}