POST api/tasks/SaveCloseAllTasks

Request Information

URI Parameters

None.

Body Parameters

TaskCloseAllVM
NameDescriptionTypeAdditional information
EntryText

string

None.

OnlyTasksBeforeToday

boolean

None.

TaskNameList

Collection of string

None.

AccountID

integer

None.

Response

IResponse

None.

Request Formats

application/json, text/json

Sample:
{
  "EntryText": "sample string 1",
  "OnlyTasksBeforeToday": true,
  "TaskNameList": [
    "sample string 1",
    "sample string 2"
  ],
  "AccountID": 3,
  "Response": null
}

application/xml, text/xml

Sample:
<TaskCloseAllVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels.Task">
  <Response i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels" />
  <AccountID>3</AccountID>
  <EntryText>sample string 1</EntryText>
  <OnlyTasksBeforeToday>true</OnlyTasksBeforeToday>
  <TaskNameList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </TaskNameList>
</TaskCloseAllVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ActionResultVM
NameDescriptionTypeAdditional information
Response

IResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": null
}

application/xml, text/xml

Sample:
<ActionResultVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels">
  <Response i:nil="true" />
</ActionResultVM>