POST api/ProgressTrack?project={project}&model={model}&db={db}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
project

string

Required

model

string

Required

db

string

Required

Body Parameters

ProgressTrack
NameDescriptionTypeAdditional information
id

integer

None.

system

string

None.

tag

string

None.

area

string

None.

discipline

string

None.

parent

string

None.

refType

string

None.

stageGateTemplate

string

None.

description

string

None.

workpack

string

None.

jobcard

string

None.

stageGates

Collection of StageGate

None.

drawingNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "system": "sample string 2",
  "tag": "sample string 3",
  "area": "sample string 4",
  "discipline": "sample string 5",
  "parent": "sample string 6",
  "refType": "sample string 7",
  "stageGateTemplate": "sample string 8",
  "description": "sample string 9",
  "workpack": "sample string 10",
  "jobcard": "sample string 11",
  "stageGates": [
    {
      "order": 1,
      "startTime": 2,
      "finishTime": 3,
      "started": true,
      "finished": true,
      "startedBy": "sample string 6",
      "finishedBy": "sample string 7",
      "stageColor": "sample string 8",
      "skipStage": true,
      "stageGateName": "sample string 10",
      "stageName": "sample string 11",
      "comments": "sample string 12",
      "commentBy": "sample string 13",
      "commentOn": 14
    },
    {
      "order": 1,
      "startTime": 2,
      "finishTime": 3,
      "started": true,
      "finished": true,
      "startedBy": "sample string 6",
      "finishedBy": "sample string 7",
      "stageColor": "sample string 8",
      "skipStage": true,
      "stageGateName": "sample string 10",
      "stageName": "sample string 11",
      "comments": "sample string 12",
      "commentBy": "sample string 13",
      "commentOn": 14
    }
  ],
  "drawingNumber": "sample string 12"
}

text/xml

Sample:
<ProgressTrack xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Models">
  <area>sample string 4</area>
  <description>sample string 9</description>
  <discipline>sample string 5</discipline>
  <drawingNumber>sample string 12</drawingNumber>
  <id>1</id>
  <jobcard>sample string 11</jobcard>
  <parent>sample string 6</parent>
  <refType>sample string 7</refType>
  <stageGateTemplate>sample string 8</stageGateTemplate>
  <stageGates>
    <StageGate>
      <commentBy>sample string 13</commentBy>
      <commentOn>14</commentOn>
      <comments>sample string 12</comments>
      <finishTime>3</finishTime>
      <finished>true</finished>
      <finishedBy>sample string 7</finishedBy>
      <order>1</order>
      <skipStage>true</skipStage>
      <stageColor>sample string 8</stageColor>
      <stageGateName>sample string 10</stageGateName>
      <stageName>sample string 11</stageName>
      <startTime>2</startTime>
      <started>true</started>
      <startedBy>sample string 6</startedBy>
    </StageGate>
    <StageGate>
      <commentBy>sample string 13</commentBy>
      <commentOn>14</commentOn>
      <comments>sample string 12</comments>
      <finishTime>3</finishTime>
      <finished>true</finished>
      <finishedBy>sample string 7</finishedBy>
      <order>1</order>
      <skipStage>true</skipStage>
      <stageColor>sample string 8</stageColor>
      <stageGateName>sample string 10</stageGateName>
      <stageName>sample string 11</stageName>
      <startTime>2</startTime>
      <started>true</started>
      <startedBy>sample string 6</startedBy>
    </StageGate>
  </stageGates>
  <system>sample string 2</system>
  <tag>sample string 3</tag>
  <workpack>sample string 10</workpack>
</ProgressTrack>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>