GET api/TopTasks/{id}
This returns a single task
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
id | The id of the task to return |
Define this parameter in the request URI. |
Response Information
single task
Response body formats
text/html
Sample:
<div> <h4>Top Task</h4> <hr /> <dl class="dl-horizontal"> <dt> Title </dt> <dd> sample string 2 </dd> <dt> Link </dt> <dd> sample string 3 </dd> <dt> TopTaskSort </dt> <dd> 1.1 </dd> <dt> Content_Area </dt> <dd> sample string 4 </dd> <dt> Link_Category </dt> <dd> sample string 5 </dd> <dt> User_Category </dt> <dd> sample string 6 </dd> </dl> </div>
application/json, text/json
Sample:
{ "id": 1, "title": "sample string 2", "link": "sample string 3", "topTaskSort": 1.1, "content_Area": "sample string 4", "link_Category": "sample string 5", "user_Category": "sample string 6" }
application/xml, text/xml
Sample:
<Top_Task xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HDCAPIModel.Models"> <Content_Area>sample string 4</Content_Area> <ID>1</ID> <Link>sample string 3</Link> <Link_Category>sample string 5</Link_Category> <Title>sample string 2</Title> <TopTaskSort>1.1</TopTaskSort> <User_Category>sample string 6</User_Category> </Top_Task>
text/javascript
Sample:
({"id":1,"title":"sample string 2","link":"sample string 3","topTaskSort":1.1,"content_Area":"sample string 4","link_Category":"sample string 5","user_Category":"sample string 6"});