GET api/v2/works/{workId}/workflows

Request

URI Parameters

NameDescriptionTypeAdditional information
workId

integer

Required

Response

WorkFlowBasic
NameDescriptionTypeAdditional information
Id

integer

WorkFlowStepFrom

WorkFlowStepBasic

WorkFlowStepTo

WorkFlowStepBasic

ResponsibleUser

UserBasic

ResponsibleServiceArea

ServiceAreaBasic

Conclusion

date

Execution

date

EstimatedWork

decimal number

AllowSamples

boolean

SampleStatus

SampleStatusBasic

Returned

boolean

CreateDateTime

date

ExecuteDateTime

date

Response Format

application/json, text/json

Sample:
{
  "Id": 1,
  "WorkFlowStepFrom": {
    "Id": 1,
    "Identification": "sample string 2",
    "Active": true
  },
  "WorkFlowStepTo": {
    "Id": 1,
    "Identification": "sample string 2",
    "Active": true
  },
  "ResponsibleUser": {
    "Active": true,
    "CultureId": "sample string 2",
    "Login": "sample string 3",
    "Email": "sample string 4",
    "ServiceCenter": {
      "Active": true,
      "PriceList": {
        "Active": true,
        "Expire": "2025-08-04T18:40:26.2932278Z",
        "ConsiderServiceCenterPriceListFromSampleOrWork": true,
        "Id": 3,
        "Identification": "sample string 4"
      },
      "Id": 2,
      "Identification": "sample string 3"
    },
    "ServiceArea": {
      "ServiceCenter": {
        "Active": true,
        "PriceList": {
          "Active": true,
          "Expire": "2025-08-04T18:40:26.2932278Z",
          "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"
    },
    "Account": {
      "Complement": "sample string 1",
      "ReferenceKey": "sample string 2",
      "AccountType": {
        "Active": true,
        "RequireRegistryNumber": true,
        "AccountTypeRegistryTypeId": 1,
        "Id": 3,
        "Identification": "sample string 4"
      },
      "PriceList": {
        "Active": true,
        "Expire": "2025-08-04T18:40:26.2932278Z",
        "ConsiderServiceCenterPriceListFromSampleOrWork": true,
        "Id": 3,
        "Identification": "sample string 4"
      },
      "Active": true,
      "RelatedAccountRequired": true,
      "RegistryNumber": "sample string 5",
      "CultureId": "sample string 6",
      "Id": 7,
      "Identification": "sample string 8"
    },
    "SignatureCertFileId": 1,
    "LicenseGroup": {
      "Id": 1,
      "Identification": "sample string 2",
      "UserReadOnlyAccessCount": 3,
      "UserEditableAccessCount": 4
    },
    "ReadOnlyAccess": true,
    "Reserved": true,
    "ServiceAreaId": 1,
    "ExternalUser": "sample string 5",
    "Id": 6,
    "Identification": "sample string 7"
  },
  "ResponsibleServiceArea": {
    "ServiceCenter": {
      "Active": true,
      "PriceList": {
        "Active": true,
        "Expire": "2025-08-04T18:40:26.2932278Z",
        "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"
  },
  "Conclusion": "2025-08-04T18:40:26.2932278Z",
  "Execution": "2025-08-04T18:40:26.2932278Z",
  "EstimatedWork": 1.1,
  "AllowSamples": true,
  "SampleStatus": {
    "Id": 1,
    "Identification": "sample string 2",
    "BeforeReceive": true,
    "AfterPublish": true,
    "PortalSampleStatus": true
  },
  "Returned": true,
  "CreateDateTime": "2025-08-04T18:40:26.2932278Z",
  "ExecuteDateTime": "2025-08-04T18:40:26.2932278Z"
}

text/html

Sample:
{"Id":1,"WorkFlowStepFrom":{"Id":1,"Identification":"sample string 2","Active":true},"WorkFlowStepTo":{"Id":1,"Identification":"sample string 2","Active":true},"ResponsibleUser":{"Active":true,"CultureId":"sample string 2","Login":"sample string 3","Email":"sample string 4","ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2025-08-04T18:40:26.2932278Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Id":2,"Identification":"sample string 3"},"ServiceArea":{"ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2025-08-04T18:40:26.2932278Z","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"},"Account":{"Complement":"sample string 1","ReferenceKey":"sample string 2","AccountType":{"Active":true,"RequireRegistryNumber":true,"AccountTypeRegistryTypeId":1,"Id":3,"Identification":"sample string 4"},"PriceList":{"Active":true,"Expire":"2025-08-04T18:40:26.2932278Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Active":true,"RelatedAccountRequired":true,"RegistryNumber":"sample string 5","CultureId":"sample string 6","Id":7,"Identification":"sample string 8"},"SignatureCertFileId":1,"LicenseGroup":{"Id":1,"Identification":"sample string 2","UserReadOnlyAccessCount":3,"UserEditableAccessCount":4},"ReadOnlyAccess":true,"Reserved":true,"ServiceAreaId":1,"ExternalUser":"sample string 5","Id":6,"Identification":"sample string 7"},"ResponsibleServiceArea":{"ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2025-08-04T18:40:26.2932278Z","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"},"Conclusion":"2025-08-04T18:40:26.2932278Z","Execution":"2025-08-04T18:40:26.2932278Z","EstimatedWork":1.1,"AllowSamples":true,"SampleStatus":{"Id":1,"Identification":"sample string 2","BeforeReceive":true,"AfterPublish":true,"PortalSampleStatus":true},"Returned":true,"CreateDateTime":"2025-08-04T18:40:26.2932278Z","ExecuteDateTime":"2025-08-04T18:40:26.2932278Z"}