POST api/task/UpdateTaskStatus

Update task status

Request Information

URI Parameters

None.

Body Parameters

TaskViewModel
NameDescriptionTypeAdditional information
TaskId

integer

None.

TaskName

string

Required

Completed

boolean

None.

CreatedBy

integer

None.

CreatedOn

string

None.

ModifiedBy

integer

None.

ModifiedOn

string

None.

Status

boolean

None.

StatusName

string

None.

DeleteFlag

integer

None.

Success

boolean

None.

Error

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TaskId": 1,
  "TaskName": "sample string 2",
  "Completed": true,
  "CreatedBy": 4,
  "CreatedOn": "sample string 5",
  "ModifiedBy": 6,
  "ModifiedOn": "sample string 7",
  "Status": true,
  "StatusName": "sample string 9",
  "DeleteFlag": 10,
  "Success": true,
  "Error": "sample string 12"
}

application/xml, text/xml

Sample:
<TaskViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/App.Data.Model">
  <Error>sample string 12</Error>
  <Success>true</Success>
  <CreatedBy>4</CreatedBy>
  <CreatedOn>sample string 5</CreatedOn>
  <DeleteFlag>10</DeleteFlag>
  <ModifiedBy>6</ModifiedBy>
  <ModifiedOn>sample string 7</ModifiedOn>
  <Status>true</Status>
  <StatusName>sample string 9</StatusName>
  <Completed>true</Completed>
  <TaskId>1</TaskId>
  <TaskName>sample string 2</TaskName>
</TaskViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.