GET api/Workflow/GetDetail?projectId={projectId}&projectType={projectType}&workflowId={workflowId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

integer

Required

projectType

integer

Required

workflowId

integer

Required

Body Parameters

None.

Response Information

Resource Description

API_Data_WorkflowInfo
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

WorkflowInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": {
    "States": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "IsClosed": 3,
        "Gui": {
          "Id": 1,
          "X": 2,
          "Y": 3,
          "Z": 4,
          "Width": 5,
          "Height": 6,
          "Shape": 7,
          "BorderColor": "sample string 8",
          "FillColor": "sample string 9",
          "FillColor1": "sample string 10",
          "TextColor": "sample string 11",
          "nBorderColor": 12,
          "nFillColor": 13,
          "nFillColor1": 14,
          "nTextColor": 15
        }
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "IsClosed": 3,
        "Gui": {
          "Id": 1,
          "X": 2,
          "Y": 3,
          "Z": 4,
          "Width": 5,
          "Height": 6,
          "Shape": 7,
          "BorderColor": "sample string 8",
          "FillColor": "sample string 9",
          "FillColor1": "sample string 10",
          "TextColor": "sample string 11",
          "nBorderColor": 12,
          "nFillColor": 13,
          "nFillColor1": 14,
          "nTextColor": 15
        }
      }
    ],
    "Transitions": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "StateFrom": 3,
        "StateTo": 4,
        "Gui": {
          "Id": 1,
          "Z": 2,
          "SourceAnchor": "sample string 3",
          "TargetAnchor": "sample string 4",
          "TextPosition": "sample string 5",
          "Vertices": "sample string 6",
          "StrokeColor": "sample string 7",
          "TextColor": "sample string 8",
          "nStrokeColor": 9,
          "nTextColor": 10
        }
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "StateFrom": 3,
        "StateTo": 4,
        "Gui": {
          "Id": 1,
          "Z": 2,
          "SourceAnchor": "sample string 3",
          "TargetAnchor": "sample string 4",
          "TextPosition": "sample string 5",
          "Vertices": "sample string 6",
          "StrokeColor": "sample string 7",
          "TextColor": "sample string 8",
          "nStrokeColor": 9,
          "nTextColor": 10
        }
      }
    ],
    "ProjectId": 1,
    "ProjectType": 2,
    "Id": 3,
    "Name": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<API_Data_WorkflowInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Workflow">
    <d2p1:Id>3</d2p1:Id>
    <d2p1:Name>sample string 4</d2p1:Name>
    <d2p1:ProjectId>1</d2p1:ProjectId>
    <d2p1:ProjectType>2</d2p1:ProjectType>
    <d2p1:States>
      <d2p1:WorkflowState>
        <d2p1:Gui>
          <d2p1:BorderColor>sample string 8</d2p1:BorderColor>
          <d2p1:FillColor>sample string 9</d2p1:FillColor>
          <d2p1:FillColor1>sample string 10</d2p1:FillColor1>
          <d2p1:Height>6</d2p1:Height>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:Shape>7</d2p1:Shape>
          <d2p1:TextColor>sample string 11</d2p1:TextColor>
          <d2p1:Width>5</d2p1:Width>
          <d2p1:X>2</d2p1:X>
          <d2p1:Y>3</d2p1:Y>
          <d2p1:Z>4</d2p1:Z>
          <d2p1:nBorderColor>12</d2p1:nBorderColor>
          <d2p1:nFillColor>13</d2p1:nFillColor>
          <d2p1:nFillColor1>14</d2p1:nFillColor1>
          <d2p1:nTextColor>15</d2p1:nTextColor>
        </d2p1:Gui>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:IsClosed>3</d2p1:IsClosed>
        <d2p1:Name>sample string 2</d2p1:Name>
      </d2p1:WorkflowState>
      <d2p1:WorkflowState>
        <d2p1:Gui>
          <d2p1:BorderColor>sample string 8</d2p1:BorderColor>
          <d2p1:FillColor>sample string 9</d2p1:FillColor>
          <d2p1:FillColor1>sample string 10</d2p1:FillColor1>
          <d2p1:Height>6</d2p1:Height>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:Shape>7</d2p1:Shape>
          <d2p1:TextColor>sample string 11</d2p1:TextColor>
          <d2p1:Width>5</d2p1:Width>
          <d2p1:X>2</d2p1:X>
          <d2p1:Y>3</d2p1:Y>
          <d2p1:Z>4</d2p1:Z>
          <d2p1:nBorderColor>12</d2p1:nBorderColor>
          <d2p1:nFillColor>13</d2p1:nFillColor>
          <d2p1:nFillColor1>14</d2p1:nFillColor1>
          <d2p1:nTextColor>15</d2p1:nTextColor>
        </d2p1:Gui>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:IsClosed>3</d2p1:IsClosed>
        <d2p1:Name>sample string 2</d2p1:Name>
      </d2p1:WorkflowState>
    </d2p1:States>
    <d2p1:Transitions>
      <d2p1:WorkflowTransition>
        <d2p1:Gui>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:SourceAnchor>sample string 3</d2p1:SourceAnchor>
          <d2p1:StrokeColor>sample string 7</d2p1:StrokeColor>
          <d2p1:TargetAnchor>sample string 4</d2p1:TargetAnchor>
          <d2p1:TextColor>sample string 8</d2p1:TextColor>
          <d2p1:TextPosition>sample string 5</d2p1:TextPosition>
          <d2p1:Vertices>sample string 6</d2p1:Vertices>
          <d2p1:Z>2</d2p1:Z>
          <d2p1:nStrokeColor>9</d2p1:nStrokeColor>
          <d2p1:nTextColor>10</d2p1:nTextColor>
        </d2p1:Gui>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:Name>sample string 2</d2p1:Name>
        <d2p1:StateFrom>3</d2p1:StateFrom>
        <d2p1:StateTo>4</d2p1:StateTo>
      </d2p1:WorkflowTransition>
      <d2p1:WorkflowTransition>
        <d2p1:Gui>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:SourceAnchor>sample string 3</d2p1:SourceAnchor>
          <d2p1:StrokeColor>sample string 7</d2p1:StrokeColor>
          <d2p1:TargetAnchor>sample string 4</d2p1:TargetAnchor>
          <d2p1:TextColor>sample string 8</d2p1:TextColor>
          <d2p1:TextPosition>sample string 5</d2p1:TextPosition>
          <d2p1:Vertices>sample string 6</d2p1:Vertices>
          <d2p1:Z>2</d2p1:Z>
          <d2p1:nStrokeColor>9</d2p1:nStrokeColor>
          <d2p1:nTextColor>10</d2p1:nTextColor>
        </d2p1:Gui>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:Name>sample string 2</d2p1:Name>
        <d2p1:StateFrom>3</d2p1:StateFrom>
        <d2p1:StateTo>4</d2p1:StateTo>
      </d2p1:WorkflowTransition>
    </d2p1:Transitions>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_WorkflowInfo>