GET v1_0/TaskLine/{Id}

Access method to a specified taskLine

Request Information

URI Parameters

NameDescriptionTypeAdditional information
IdTaskLine

The id of the task line

integer

Required

Body Parameters

None.

Response Information

Resource Description

The description of the task line and its outputs

TaskLineReaderServiceModel
NameDescriptionTypeAdditional information
IdTaskLine

Taskline identifier

integer

None.

IdAppProject

AppProject identifier related to this task line

integer

None.

Inputs

The list of the different inputs of this task line

Collection of string

None.

Tasks

The list of the different tasks related to this task line

Collection of TaskReaderServiceModel

None.

Response Formats

application/json, text/json

Sample:
{
  "IdTaskLine": 1,
  "IdAppProject": 2,
  "Inputs": [
    "sample string 1",
    "sample string 2"
  ],
  "Tasks": [
    {
      "IdTask": 1,
      "Outputs": {
        "1": "sample string 2",
        "3": "sample string 4"
      },
      "UpdateDate": "2024-03-28T21:11:41.980913+01:00"
    },
    {
      "IdTask": 1,
      "Outputs": {
        "1": "sample string 2",
        "3": "sample string 4"
      },
      "UpdateDate": "2024-03-28T21:11:41.980913+01:00"
    }
  ]
}

text/html

Sample:
{"IdTaskLine":1,"IdAppProject":2,"Inputs":["sample string 1","sample string 2"],"Tasks":[{"IdTask":1,"Outputs":{"1":"sample string 2","3":"sample string 4"},"UpdateDate":"2024-03-28T21:11:41.980913+01:00"},{"IdTask":1,"Outputs":{"1":"sample string 2","3":"sample string 4"},"UpdateDate":"2024-03-28T21:11:41.980913+01:00"}]}

application/xml, text/xml

Sample:
<TaskLineReaderServiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Wirk.Api.Models.TaskLine">
  <IdAppProject>2</IdAppProject>
  <IdTaskLine>1</IdTaskLine>
  <Inputs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Inputs>
  <Tasks>
    <TaskReaderServiceModel>
      <IdTask>1</IdTask>
      <Outputs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfintstring>
          <d4p1:Key>1</d4p1:Key>
          <d4p1:Value>sample string 2</d4p1:Value>
        </d4p1:KeyValueOfintstring>
        <d4p1:KeyValueOfintstring>
          <d4p1:Key>3</d4p1:Key>
          <d4p1:Value>sample string 4</d4p1:Value>
        </d4p1:KeyValueOfintstring>
      </Outputs>
      <UpdateDate>2024-03-28T21:11:41.980913+01:00</UpdateDate>
    </TaskReaderServiceModel>
    <TaskReaderServiceModel>
      <IdTask>1</IdTask>
      <Outputs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfintstring>
          <d4p1:Key>1</d4p1:Key>
          <d4p1:Value>sample string 2</d4p1:Value>
        </d4p1:KeyValueOfintstring>
        <d4p1:KeyValueOfintstring>
          <d4p1:Key>3</d4p1:Key>
          <d4p1:Value>sample string 4</d4p1:Value>
        </d4p1:KeyValueOfintstring>
      </Outputs>
      <UpdateDate>2024-03-28T21:11:41.980913+01:00</UpdateDate>
    </TaskReaderServiceModel>
  </Tasks>
</TaskLineReaderServiceModel>