GET api/ToDoItems
Gets all ToDo Details.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
A list of ToDo and Details
Collection of ToDoName | Description | Type | Additional information |
---|---|---|---|
id |
Gets or sets the id of the ToDo. |
integer |
None. |
title |
Gets or sets the title of the ToDo. |
string |
None. |
description |
Gets or sets the description of the ToDo. |
string |
None. |
date |
Gets or sets the date of the ToDo. |
date |
None. |
time |
Gets or sets the time of the ToDo. |
time interval |
None. |
type |
Gets or sets the type of the ToDo. |
string |
None. |
status |
Gets or sets the status of the ToDo. |
string |
None. |
colorCode |
Gets or sets the color code of the ToDo. |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "title": "sample string 2", "description": "sample string 3", "date": "2025-04-28T06:28:01.9801746+00:00", "time": "00:00:00.1234567", "type": "sample string 6", "status": "sample string 7", "colorCode": "sample string 8" }, { "id": 1, "title": "sample string 2", "description": "sample string 3", "date": "2025-04-28T06:28:01.9801746+00:00", "time": "00:00:00.1234567", "type": "sample string 6", "status": "sample string 7", "colorCode": "sample string 8" } ]
application/xml, text/xml
Sample:
<ArrayOfToDo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OTJServices.Models"> <ToDo> <colorCode>sample string 8</colorCode> <date>2025-04-28T06:28:01.9801746+00:00</date> <description>sample string 3</description> <id>1</id> <status>sample string 7</status> <time>PT0.1234567S</time> <title>sample string 2</title> <type>sample string 6</type> </ToDo> <ToDo> <colorCode>sample string 8</colorCode> <date>2025-04-28T06:28:01.9801746+00:00</date> <description>sample string 3</description> <id>1</id> <status>sample string 7</status> <time>PT0.1234567S</time> <title>sample string 2</title> <type>sample string 6</type> </ToDo> </ArrayOfToDo>