GET api/v2/WorkTypes/GetWorkTypeByMasterId/{workTypeMasterId}
Request
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| workTypeMasterId | integer |
Required |
Response
WorkTypeNewData| Name | Description | Type | Additional information |
|---|---|---|---|
| WorkType | WorkTypeBasic | ||
| FirstSteps | Collection of WorkTypeFlowDetail | ||
| RequestExchangeRate | boolean |
Response Format
application/json, text/json
Sample:
{
"WorkType": {
"Id": 1,
"MasterId": 2,
"Identification": "sample string 3",
"Active": true,
"Confidential": true,
"LastVersion": true,
"BlockLimitAmount": true,
"Version": 8,
"Prefix": "sample string 9",
"SectionConfigs": [
{
"SectionId": 1,
"Order": 2,
"Visible": true
},
{
"SectionId": 1,
"Order": 2,
"Visible": true
}
]
},
"FirstSteps": [
{
"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-02-02T21:23:31.0903146Z",
"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
}
},
{
"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-02-02T21:23:31.0903146Z",
"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
}
}
],
"RequestExchangeRate": true
}
text/html
Sample:
{"WorkType":{"Id":1,"MasterId":2,"Identification":"sample string 3","Active":true,"Confidential":true,"LastVersion":true,"BlockLimitAmount":true,"Version":8,"Prefix":"sample string 9","SectionConfigs":[{"SectionId":1,"Order":2,"Visible":true},{"SectionId":1,"Order":2,"Visible":true}]},"FirstSteps":[{"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-02-02T21:23:31.0903146Z","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}},{"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-02-02T21:23:31.0903146Z","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}}],"RequestExchangeRate":true}