PUT {repositoryId}/HumanTask/{id}

Updates a HumanTask resource.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of the HumanTask resource.

string

Required

repositoryId

ID of the resource repository (optional).

string

Default value is

Body Parameters

Data to update the HumanTask resource.

HumanTask
NameDescriptionTypeAdditional information
RepositoryId

string

None.

Id

string

None.

TaskType

TaskType

None.

Abstract

boolean

None.

Skippable

boolean

None.

Priority

Priority

None.

CompletionCondition

FilterBase

None.

Deadlines

Collection of Deadline

None.

Escalations

Collection of Escalation

None.

Outcomes

Collection of Outcome

None.

OutcomeCode

string

None.

OutcomeName

string

None.

ModelReference

NamedReference

None.

Fields

Dictionary of Object [key] and Object [value]

None.

ParentReference

NamedReference

None.

ParentType

TaskType

None.

PredecessorReference

NamedReference

None.

TaskInitiator

NamedReference

None.

ActualOwners

Collection of ActualOwner

None.

CurrentOwner

ChangeStatusInformation

None.

CallbackReference

NamedReference

None.

Created

ChangeStatusInformation

None.

Activated

ChangeStatusInformation

None.

LastUpdated

ChangeStatusInformation

None.

Status

Status

None.

StatusInfo

ChangeStatusInformation

None.

PreviousStatus

Status

None.

PreviousStatusInfo

ChangeStatusInformation

None.

ResourceReferences

Collection of WorkingData

None.

SuspendTimeOut

date

None.

DisabledActions

Collection of ActionTypes

None.

LeanTask

boolean

None.

SaveOutcomes

boolean

None.

CompletionEnablingCondition

FilterBase

None.

AttachmentInfoList

Collection of AttachmentInfo

None.

StructureHash

string

None.

Name

string

None.

Description

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RepositoryId": "sample string 1",
  "Id": "sample string 2",
  "TaskType": 0,
  "Abstract": true,
  "Skippable": true,
  "Priority": 0,
  "CompletionCondition": null,
  "Deadlines": [
    {
      "Id": "sample string 1",
      "OwnerId": "sample string 2",
      "Code": "sample string 3",
      "Description": "sample string 4",
      "Name": "sample string 5",
      "EnablingCondition": null,
      "StartingAction": 0,
      "Repeatable": true,
      "Duration": "sample string 7",
      "DisablingActions": [
        0,
        0
      ],
      "DeadlineStatus": 0,
      "ScheduleId": "sample string 8"
    },
    {
      "Id": "sample string 1",
      "OwnerId": "sample string 2",
      "Code": "sample string 3",
      "Description": "sample string 4",
      "Name": "sample string 5",
      "EnablingCondition": null,
      "StartingAction": 0,
      "Repeatable": true,
      "Duration": "sample string 7",
      "DisablingActions": [
        0,
        0
      ],
      "DeadlineStatus": 0,
      "ScheduleId": "sample string 8"
    }
  ],
  "Escalations": [
    {
      "Id": "sample string 1",
      "OwnerId": "sample string 2",
      "Code": "sample string 3",
      "Description": "sample string 4",
      "Name": "sample string 5",
      "Manual": true,
      "DeadlineCode": "sample string 7",
      "UserDescription": "sample string 8"
    },
    {
      "Id": "sample string 1",
      "OwnerId": "sample string 2",
      "Code": "sample string 3",
      "Description": "sample string 4",
      "Name": "sample string 5",
      "Manual": true,
      "DeadlineCode": "sample string 7",
      "UserDescription": "sample string 8"
    }
  ],
  "Outcomes": [
    {
      "Id": "sample string 1",
      "OwnerId": "sample string 2",
      "Code": "sample string 3",
      "Description": "sample string 4",
      "Name": "sample string 5",
      "UserDescription": "sample string 6"
    },
    {
      "Id": "sample string 1",
      "OwnerId": "sample string 2",
      "Code": "sample string 3",
      "Description": "sample string 4",
      "Name": "sample string 5",
      "UserDescription": "sample string 6"
    }
  ],
  "OutcomeCode": "sample string 5",
  "OutcomeName": "sample string 6",
  "ModelReference": {
    "Name": "sample string 1",
    "Url": "sample string 2",
    "Type": 0
  },
  "Fields": null,
  "ParentReference": {
    "Name": "sample string 1",
    "Url": "sample string 2",
    "Type": 0
  },
  "ParentType": 0,
  "PredecessorReference": {
    "Name": "sample string 1",
    "Url": "sample string 2",
    "Type": 0
  },
  "TaskInitiator": {
    "Name": "sample string 1",
    "Url": "sample string 2",
    "Type": 0
  },
  "ActualOwners": [
    {
      "Id": "sample string 1",
      "OwnerId": "sample string 2",
      "Info": {
        "IdentityReference": {
          "Name": "sample string 1",
          "Url": "sample string 2",
          "Type": 0
        },
        "PositionReference": {
          "Name": "sample string 1",
          "Url": "sample string 2",
          "Type": 0
        },
        "Date": "2024-11-22T08:16:20.2956682+01:00"
      }
    },
    {
      "Id": "sample string 1",
      "OwnerId": "sample string 2",
      "Info": {
        "IdentityReference": {
          "Name": "sample string 1",
          "Url": "sample string 2",
          "Type": 0
        },
        "PositionReference": {
          "Name": "sample string 1",
          "Url": "sample string 2",
          "Type": 0
        },
        "Date": "2024-11-22T08:16:20.2956682+01:00"
      }
    }
  ],
  "CurrentOwner": {
    "IdentityReference": {
      "Name": "sample string 1",
      "Url": "sample string 2",
      "Type": 0
    },
    "PositionReference": {
      "Name": "sample string 1",
      "Url": "sample string 2",
      "Type": 0
    },
    "Date": "2024-11-22T08:16:20.2956682+01:00"
  },
  "CallbackReference": {
    "Name": "sample string 1",
    "Url": "sample string 2",
    "Type": 0
  },
  "Created": {
    "IdentityReference": {
      "Name": "sample string 1",
      "Url": "sample string 2",
      "Type": 0
    },
    "PositionReference": {
      "Name": "sample string 1",
      "Url": "sample string 2",
      "Type": 0
    },
    "Date": "2024-11-22T08:16:20.2956682+01:00"
  },
  "Activated": {
    "IdentityReference": {
      "Name": "sample string 1",
      "Url": "sample string 2",
      "Type": 0
    },
    "PositionReference": {
      "Name": "sample string 1",
      "Url": "sample string 2",
      "Type": 0
    },
    "Date": "2024-11-22T08:16:20.2956682+01:00"
  },
  "LastUpdated": {
    "IdentityReference": {
      "Name": "sample string 1",
      "Url": "sample string 2",
      "Type": 0
    },
    "PositionReference": {
      "Name": "sample string 1",
      "Url": "sample string 2",
      "Type": 0
    },
    "Date": "2024-11-22T08:16:20.2956682+01:00"
  },
  "Status": 0,
  "StatusInfo": {
    "IdentityReference": {
      "Name": "sample string 1",
      "Url": "sample string 2",
      "Type": 0
    },
    "PositionReference": {
      "Name": "sample string 1",
      "Url": "sample string 2",
      "Type": 0
    },
    "Date": "2024-11-22T08:16:20.2956682+01:00"
  },
  "PreviousStatus": 0,
  "PreviousStatusInfo": {
    "IdentityReference": {
      "Name": "sample string 1",
      "Url": "sample string 2",
      "Type": 0
    },
    "PositionReference": {
      "Name": "sample string 1",
      "Url": "sample string 2",
      "Type": 0
    },
    "Date": "2024-11-22T08:16:20.2956682+01:00"
  },
  "ResourceReferences": [
    {
      "Id": "sample string 1",
      "OwnerId": "sample string 2",
      "ResourceRepositoryReference": {
        "Name": "sample string 1",
        "Url": "sample string 2",
        "Type": 0
      },
      "ResourceModelReference": {
        "Name": "sample string 1",
        "Url": "sample string 2",
        "Type": 0
      },
      "ResourceReference": {
        "Name": "sample string 1",
        "Url": "sample string 2",
        "Type": 0
      }
    },
    {
      "Id": "sample string 1",
      "OwnerId": "sample string 2",
      "ResourceRepositoryReference": {
        "Name": "sample string 1",
        "Url": "sample string 2",
        "Type": 0
      },
      "ResourceModelReference": {
        "Name": "sample string 1",
        "Url": "sample string 2",
        "Type": 0
      },
      "ResourceReference": {
        "Name": "sample string 1",
        "Url": "sample string 2",
        "Type": 0
      }
    }
  ],
  "SuspendTimeOut": "2024-11-22T08:16:20.2956682+01:00",
  "DisabledActions": [
    0,
    0
  ],
  "LeanTask": true,
  "SaveOutcomes": true,
  "CompletionEnablingCondition": null,
  "AttachmentInfoList": [
    {
      "RepositoryId": "sample string 1",
      "Id": "sample string 2",
      "OwnerType": 0,
      "AttachmentId": "sample string 3",
      "FileName": "sample string 4",
      "FileExtension": "sample string 5",
      "FileLength": 6,
      "System": true,
      "Created": {
        "IdentityReference": {
          "Name": "sample string 1",
          "Url": "sample string 2",
          "Type": 0
        },
        "PositionReference": {
          "Name": "sample string 1",
          "Url": "sample string 2",
          "Type": 0
        },
        "Date": "2024-11-22T08:16:20.2956682+01:00"
      },
      "LastUpdated": {
        "IdentityReference": {
          "Name": "sample string 1",
          "Url": "sample string 2",
          "Type": 0
        },
        "PositionReference": {
          "Name": "sample string 1",
          "Url": "sample string 2",
          "Type": 0
        },
        "Date": "2024-11-22T08:16:20.2956682+01:00"
      },
      "Operation": 0,
      "Tags": [
        "sample string 1",
        "sample string 2"
      ],
      "Tag": "sample string 8"
    },
    {
      "RepositoryId": "sample string 1",
      "Id": "sample string 2",
      "OwnerType": 0,
      "AttachmentId": "sample string 3",
      "FileName": "sample string 4",
      "FileExtension": "sample string 5",
      "FileLength": 6,
      "System": true,
      "Created": {
        "IdentityReference": {
          "Name": "sample string 1",
          "Url": "sample string 2",
          "Type": 0
        },
        "PositionReference": {
          "Name": "sample string 1",
          "Url": "sample string 2",
          "Type": 0
        },
        "Date": "2024-11-22T08:16:20.2956682+01:00"
      },
      "LastUpdated": {
        "IdentityReference": {
          "Name": "sample string 1",
          "Url": "sample string 2",
          "Type": 0
        },
        "PositionReference": {
          "Name": "sample string 1",
          "Url": "sample string 2",
          "Type": 0
        },
        "Date": "2024-11-22T08:16:20.2956682+01:00"
      },
      "Operation": 0,
      "Tags": [
        "sample string 1",
        "sample string 2"
      ],
      "Tag": "sample string 8"
    }
  ],
  "StructureHash": "sample string 9",
  "Name": "sample string 10",
  "Description": "sample string 11"
}

application/xml, text/xml

Sample:
<HumanTask xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.openworkbpm.com/schema">
  <Description>sample string 11</Description>
  <Name>sample string 10</Name>
  <Abstract>true</Abstract>
  <Activated>
    <Date>2024-11-22T08:16:20.2956682+01:00</Date>
    <IdentityReference>
      <Type>Undefined</Type>
      <Url>sample string 2</Url>
      <Name>sample string 1</Name>
    </IdentityReference>
    <PositionReference>
      <Type>Undefined</Type>
      <Url>sample string 2</Url>
      <Name>sample string 1</Name>
    </PositionReference>
  </Activated>
  <ActualOwners>
    <ActualOwner>
      <Id>sample string 1</Id>
      <Info>
        <Date>2024-11-22T08:16:20.2956682+01:00</Date>
        <IdentityReference>
          <Type>Undefined</Type>
          <Url>sample string 2</Url>
          <Name>sample string 1</Name>
        </IdentityReference>
        <PositionReference>
          <Type>Undefined</Type>
          <Url>sample string 2</Url>
          <Name>sample string 1</Name>
        </PositionReference>
      </Info>
      <OwnerId>sample string 2</OwnerId>
    </ActualOwner>
    <ActualOwner>
      <Id>sample string 1</Id>
      <Info>
        <Date>2024-11-22T08:16:20.2956682+01:00</Date>
        <IdentityReference>
          <Type>Undefined</Type>
          <Url>sample string 2</Url>
          <Name>sample string 1</Name>
        </IdentityReference>
        <PositionReference>
          <Type>Undefined</Type>
          <Url>sample string 2</Url>
          <Name>sample string 1</Name>
        </PositionReference>
      </Info>
      <OwnerId>sample string 2</OwnerId>
    </ActualOwner>
  </ActualOwners>
  <AttachmentInfoList>
    <AttachmentInfo>
      <AttachmentId>sample string 3</AttachmentId>
      <Created>
        <Date>2024-11-22T08:16:20.2956682+01:00</Date>
        <IdentityReference>
          <Type>Undefined</Type>
          <Url>sample string 2</Url>
          <Name>sample string 1</Name>
        </IdentityReference>
        <PositionReference>
          <Type>Undefined</Type>
          <Url>sample string 2</Url>
          <Name>sample string 1</Name>
        </PositionReference>
      </Created>
      <FileExtension>sample string 5</FileExtension>
      <FileLength>6</FileLength>
      <FileName>sample string 4</FileName>
      <Id>sample string 2</Id>
      <LastUpdated>
        <Date>2024-11-22T08:16:20.2956682+01:00</Date>
        <IdentityReference>
          <Type>Undefined</Type>
          <Url>sample string 2</Url>
          <Name>sample string 1</Name>
        </IdentityReference>
        <PositionReference>
          <Type>Undefined</Type>
          <Url>sample string 2</Url>
          <Name>sample string 1</Name>
        </PositionReference>
      </LastUpdated>
      <Operation>None</Operation>
      <OwnerType>Undefined</OwnerType>
      <RepositoryId>sample string 1</RepositoryId>
      <System>true</System>
      <Tags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Tags>
      <Tag>sample string 8</Tag>
    </AttachmentInfo>
    <AttachmentInfo>
      <AttachmentId>sample string 3</AttachmentId>
      <Created>
        <Date>2024-11-22T08:16:20.2956682+01:00</Date>
        <IdentityReference>
          <Type>Undefined</Type>
          <Url>sample string 2</Url>
          <Name>sample string 1</Name>
        </IdentityReference>
        <PositionReference>
          <Type>Undefined</Type>
          <Url>sample string 2</Url>
          <Name>sample string 1</Name>
        </PositionReference>
      </Created>
      <FileExtension>sample string 5</FileExtension>
      <FileLength>6</FileLength>
      <FileName>sample string 4</FileName>
      <Id>sample string 2</Id>
      <LastUpdated>
        <Date>2024-11-22T08:16:20.2956682+01:00</Date>
        <IdentityReference>
          <Type>Undefined</Type>
          <Url>sample string 2</Url>
          <Name>sample string 1</Name>
        </IdentityReference>
        <PositionReference>
          <Type>Undefined</Type>
          <Url>sample string 2</Url>
          <Name>sample string 1</Name>
        </PositionReference>
      </LastUpdated>
      <Operation>None</Operation>
      <OwnerType>Undefined</OwnerType>
      <RepositoryId>sample string 1</RepositoryId>
      <System>true</System>
      <Tags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Tags>
      <Tag>sample string 8</Tag>
    </AttachmentInfo>
  </AttachmentInfoList>
  <CallbackReference>
    <Type>Undefined</Type>
    <Url>sample string 2</Url>
    <Name>sample string 1</Name>
  </CallbackReference>
  <CompletionCondition i:nil="true" />
  <CompletionEnablingCondition i:nil="true" />
  <Created>
    <Date>2024-11-22T08:16:20.2956682+01:00</Date>
    <IdentityReference>
      <Type>Undefined</Type>
      <Url>sample string 2</Url>
      <Name>sample string 1</Name>
    </IdentityReference>
    <PositionReference>
      <Type>Undefined</Type>
      <Url>sample string 2</Url>
      <Name>sample string 1</Name>
    </PositionReference>
  </Created>
  <CurrentOwner>
    <Date>2024-11-22T08:16:20.2956682+01:00</Date>
    <IdentityReference>
      <Type>Undefined</Type>
      <Url>sample string 2</Url>
      <Name>sample string 1</Name>
    </IdentityReference>
    <PositionReference>
      <Type>Undefined</Type>
      <Url>sample string 2</Url>
      <Name>sample string 1</Name>
    </PositionReference>
  </CurrentOwner>
  <Deadlines>
    <Deadline>
      <Code>sample string 3</Code>
      <DeadlineStatus>Inactive</DeadlineStatus>
      <Description>sample string 4</Description>
      <DisablingActions>
        <ActionTypes>None</ActionTypes>
        <ActionTypes>None</ActionTypes>
      </DisablingActions>
      <Duration>sample string 7</Duration>
      <EnablingCondition i:nil="true" />
      <Id>sample string 1</Id>
      <Name>sample string 5</Name>
      <OwnerId>sample string 2</OwnerId>
      <Repeatable>true</Repeatable>
      <ScheduleId>sample string 8</ScheduleId>
      <StartingAction>None</StartingAction>
    </Deadline>
    <Deadline>
      <Code>sample string 3</Code>
      <DeadlineStatus>Inactive</DeadlineStatus>
      <Description>sample string 4</Description>
      <DisablingActions>
        <ActionTypes>None</ActionTypes>
        <ActionTypes>None</ActionTypes>
      </DisablingActions>
      <Duration>sample string 7</Duration>
      <EnablingCondition i:nil="true" />
      <Id>sample string 1</Id>
      <Name>sample string 5</Name>
      <OwnerId>sample string 2</OwnerId>
      <Repeatable>true</Repeatable>
      <ScheduleId>sample string 8</ScheduleId>
      <StartingAction>None</StartingAction>
    </Deadline>
  </Deadlines>
  <DisabledActions>
    <ActionTypes>None</ActionTypes>
    <ActionTypes>None</ActionTypes>
  </DisabledActions>
  <Escalations>
    <Escalation>
      <Code>sample string 3</Code>
      <DeadlineCode>sample string 7</DeadlineCode>
      <Description>sample string 4</Description>
      <Id>sample string 1</Id>
      <Manual>true</Manual>
      <Name>sample string 5</Name>
      <OwnerId>sample string 2</OwnerId>
      <UserDescription>sample string 8</UserDescription>
    </Escalation>
    <Escalation>
      <Code>sample string 3</Code>
      <DeadlineCode>sample string 7</DeadlineCode>
      <Description>sample string 4</Description>
      <Id>sample string 1</Id>
      <Manual>true</Manual>
      <Name>sample string 5</Name>
      <OwnerId>sample string 2</OwnerId>
      <UserDescription>sample string 8</UserDescription>
    </Escalation>
  </Escalations>
  <Fields i:nil="true" />
  <Id>sample string 2</Id>
  <LastUpdated>
    <Date>2024-11-22T08:16:20.2956682+01:00</Date>
    <IdentityReference>
      <Type>Undefined</Type>
      <Url>sample string 2</Url>
      <Name>sample string 1</Name>
    </IdentityReference>
    <PositionReference>
      <Type>Undefined</Type>
      <Url>sample string 2</Url>
      <Name>sample string 1</Name>
    </PositionReference>
  </LastUpdated>
  <LeanTask>true</LeanTask>
  <ModelReference>
    <Type>Undefined</Type>
    <Url>sample string 2</Url>
    <Name>sample string 1</Name>
  </ModelReference>
  <OutcomeCode>sample string 5</OutcomeCode>
  <OutcomeName>sample string 6</OutcomeName>
  <Outcomes>
    <Outcome>
      <Code>sample string 3</Code>
      <Description>sample string 4</Description>
      <Id>sample string 1</Id>
      <Name>sample string 5</Name>
      <OwnerId>sample string 2</OwnerId>
      <UserDescription>sample string 6</UserDescription>
    </Outcome>
    <Outcome>
      <Code>sample string 3</Code>
      <Description>sample string 4</Description>
      <Id>sample string 1</Id>
      <Name>sample string 5</Name>
      <OwnerId>sample string 2</OwnerId>
      <UserDescription>sample string 6</UserDescription>
    </Outcome>
  </Outcomes>
  <ParentReference>
    <Type>Undefined</Type>
    <Url>sample string 2</Url>
    <Name>sample string 1</Name>
  </ParentReference>
  <ParentType>Normal</ParentType>
  <PredecessorReference>
    <Type>Undefined</Type>
    <Url>sample string 2</Url>
    <Name>sample string 1</Name>
  </PredecessorReference>
  <PreviousStatus>Created</PreviousStatus>
  <PreviousStatusInfo>
    <Date>2024-11-22T08:16:20.2956682+01:00</Date>
    <IdentityReference>
      <Type>Undefined</Type>
      <Url>sample string 2</Url>
      <Name>sample string 1</Name>
    </IdentityReference>
    <PositionReference>
      <Type>Undefined</Type>
      <Url>sample string 2</Url>
      <Name>sample string 1</Name>
    </PositionReference>
  </PreviousStatusInfo>
  <Priority>None</Priority>
  <RepositoryId>sample string 1</RepositoryId>
  <ResourceReferences>
    <WorkingData>
      <Id>sample string 1</Id>
      <OwnerId>sample string 2</OwnerId>
      <ResourceModelReference>
        <Type>Undefined</Type>
        <Url>sample string 2</Url>
        <Name>sample string 1</Name>
      </ResourceModelReference>
      <ResourceReference>
        <Type>Undefined</Type>
        <Url>sample string 2</Url>
        <Name>sample string 1</Name>
      </ResourceReference>
      <ResourceRepositoryReference>
        <Type>Undefined</Type>
        <Url>sample string 2</Url>
        <Name>sample string 1</Name>
      </ResourceRepositoryReference>
    </WorkingData>
    <WorkingData>
      <Id>sample string 1</Id>
      <OwnerId>sample string 2</OwnerId>
      <ResourceModelReference>
        <Type>Undefined</Type>
        <Url>sample string 2</Url>
        <Name>sample string 1</Name>
      </ResourceModelReference>
      <ResourceReference>
        <Type>Undefined</Type>
        <Url>sample string 2</Url>
        <Name>sample string 1</Name>
      </ResourceReference>
      <ResourceRepositoryReference>
        <Type>Undefined</Type>
        <Url>sample string 2</Url>
        <Name>sample string 1</Name>
      </ResourceRepositoryReference>
    </WorkingData>
  </ResourceReferences>
  <SaveOutcomes>true</SaveOutcomes>
  <Skippable>true</Skippable>
  <Status>Created</Status>
  <StatusInfo>
    <Date>2024-11-22T08:16:20.2956682+01:00</Date>
    <IdentityReference>
      <Type>Undefined</Type>
      <Url>sample string 2</Url>
      <Name>sample string 1</Name>
    </IdentityReference>
    <PositionReference>
      <Type>Undefined</Type>
      <Url>sample string 2</Url>
      <Name>sample string 1</Name>
    </PositionReference>
  </StatusInfo>
  <StructureHash>sample string 9</StructureHash>
  <SuspendTimeOut>2024-11-22T08:16:20.2956682+01:00</SuspendTimeOut>
  <TaskInitiator>
    <Type>Undefined</Type>
    <Url>sample string 2</Url>
    <Name>sample string 1</Name>
  </TaskInitiator>
  <TaskType>Normal</TaskType>
</HumanTask>

application/x-www-form-urlencoded

Sample:

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.