PUT Api/UserTasks/UpdateUserTaskOrders

Request Information

URI Parameters

None.

Body Parameters

UserTaskOrderList
NameDescriptionTypeAdditional information
Stage

Numer etapu procesu

integer

None.

IsDeliveredHours

Dostarczone godziny

boolean

None.

UserTasks

Lista właściwości zadania

Collection of UserTaskOrder

None.

Request Formats

application/json, text/json

Sample:
{
  "stage": 1,
  "isDeliveredHours": true,
  "userTasks": [
    {
      "userTaskId": 1,
      "sequence": 2,
      "profileId": "sample string 3",
      "taskCategoryId": 1
    },
    {
      "userTaskId": 1,
      "sequence": 2,
      "profileId": "sample string 3",
      "taskCategoryId": 1
    }
  ]
}

multipart/form-data

Sample:
{"stage":1,"isDeliveredHours":true,"userTasks":[{"userTaskId":1,"sequence":2,"profileId":"sample string 3","taskCategoryId":1},{"userTaskId":1,"sequence":2,"profileId":"sample string 3","taskCategoryId":1}]}

application/xml, text/xml

Sample:
<UserTaskOrderList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Stage>1</Stage>
  <IsDeliveredHours>true</IsDeliveredHours>
  <UserTasks>
    <UserTaskOrder>
      <UserTaskId>1</UserTaskId>
      <Sequence>2</Sequence>
      <ProfileId>sample string 3</ProfileId>
      <TaskCategoryId>1</TaskCategoryId>
    </UserTaskOrder>
    <UserTaskOrder>
      <UserTaskId>1</UserTaskId>
      <Sequence>2</Sequence>
      <ProfileId>sample string 3</ProfileId>
      <TaskCategoryId>1</TaskCategoryId>
    </UserTaskOrder>
  </UserTasks>
</UserTaskOrderList>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, multipart/form-data

Sample:

Sample not available.