GET api/v2/WorkTypes/GetWorkTypeByMasterId/{workTypeMasterId}

Request

URI Parameters

NameDescriptionTypeAdditional information
workTypeMasterId

integer

Required

Response

WorkTypeNewData
NameDescriptionTypeAdditional 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,
    "Version": 7,
    "Prefix": "sample string 8",
    "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,
      "RequiredPerformTime": true,
      "ResponsibleUserRoleId": 1,
      "ResponsibleUserRole": {
        "Id": 1,
        "Identification": "sample string 2",
        "Active": true
      },
      "Id": 7,
      "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": "2025-08-04T18:40:39.1957277Z",
            "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,
      "RequiredPerformTime": true,
      "ResponsibleUserRoleId": 1,
      "ResponsibleUserRole": {
        "Id": 1,
        "Identification": "sample string 2",
        "Active": true
      },
      "Id": 7,
      "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": "2025-08-04T18:40:39.1957277Z",
            "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,"Version":7,"Prefix":"sample string 8","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,"RequiredPerformTime":true,"ResponsibleUserRoleId":1,"ResponsibleUserRole":{"Id":1,"Identification":"sample string 2","Active":true},"Id":7,"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":"2025-08-04T18:40:39.1957277Z","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,"RequiredPerformTime":true,"ResponsibleUserRoleId":1,"ResponsibleUserRole":{"Id":1,"Identification":"sample string 2","Active":true},"Id":7,"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":"2025-08-04T18:40:39.1957277Z","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}