GET api/Tasks?startDate={startDate}&endDate={endDate}
returns all tasks
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
startDate | date |
Required |
|
endDate | date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of TaskName | Description | Type | Additional information |
---|---|---|---|
Customer | CustomerModel |
None. |
|
Location | Location |
None. |
|
Color | integer |
None. |
|
BeginTime | string |
None. |
|
EndTime | string |
None. |
|
Details1 | string |
None. |
|
Details2 | string |
None. |
|
ID | integer |
None. |
|
Name | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Customer": { "Details1": "sample string 1", "UserID": 3, "ID": 5, "Details2": "sample string 2", "Email": "sample string 4", "Name": "sample string 6", "BeginDates": [ "2024-12-22T07:54:41.41261+01:00", "2024-12-22T07:54:41.41261+01:00" ], "EndDates": [ "2024-12-22T07:54:41.41261+01:00", "2024-12-22T07:54:41.41261+01:00" ] }, "ID": 6, "Location": { "Details1": "sample string 1", "ID": 3, "Details2": "sample string 2", "Name": "sample string 4" }, "Name": "sample string 7", "Color": 1, "BeginTime": "sample string 2", "EndTime": "sample string 3", "Details1": "sample string 4", "Details2": "sample string 5" }, { "Customer": { "Details1": "sample string 1", "UserID": 3, "ID": 5, "Details2": "sample string 2", "Email": "sample string 4", "Name": "sample string 6", "BeginDates": [ "2024-12-22T07:54:41.41261+01:00", "2024-12-22T07:54:41.41261+01:00" ], "EndDates": [ "2024-12-22T07:54:41.41261+01:00", "2024-12-22T07:54:41.41261+01:00" ] }, "ID": 6, "Location": { "Details1": "sample string 1", "ID": 3, "Details2": "sample string 2", "Name": "sample string 4" }, "Name": "sample string 7", "Color": 1, "BeginTime": "sample string 2", "EndTime": "sample string 3", "Details1": "sample string 4", "Details2": "sample string 5" } ]
application/xml, text/xml
Sample:
<ArrayOfTask xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Paralax.Cas.Web.WebServices.Models"> <Task> <ID>6</ID> <Name>sample string 7</Name> <Customer> <ID>5</ID> <Name>sample string 6</Name> <UserID>3</UserID> <Email>sample string 4</Email> <BeginDates xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:dateTime>2024-12-22T07:54:41.41261+01:00</d4p1:dateTime> <d4p1:dateTime>2024-12-22T07:54:41.41261+01:00</d4p1:dateTime> </BeginDates> <EndDates xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:dateTime>2024-12-22T07:54:41.41261+01:00</d4p1:dateTime> <d4p1:dateTime>2024-12-22T07:54:41.41261+01:00</d4p1:dateTime> </EndDates> <Details1>sample string 1</Details1> <Details2>sample string 2</Details2> </Customer> <Location> <ID>3</ID> <Name>sample string 4</Name> <Details1>sample string 1</Details1> <Details2>sample string 2</Details2> </Location> <Color>1</Color> <BeginTime>sample string 2</BeginTime> <EndTime>sample string 3</EndTime> <Details1>sample string 4</Details1> <Details2>sample string 5</Details2> </Task> <Task> <ID>6</ID> <Name>sample string 7</Name> <Customer> <ID>5</ID> <Name>sample string 6</Name> <UserID>3</UserID> <Email>sample string 4</Email> <BeginDates xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:dateTime>2024-12-22T07:54:41.41261+01:00</d4p1:dateTime> <d4p1:dateTime>2024-12-22T07:54:41.41261+01:00</d4p1:dateTime> </BeginDates> <EndDates xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:dateTime>2024-12-22T07:54:41.41261+01:00</d4p1:dateTime> <d4p1:dateTime>2024-12-22T07:54:41.41261+01:00</d4p1:dateTime> </EndDates> <Details1>sample string 1</Details1> <Details2>sample string 2</Details2> </Customer> <Location> <ID>3</ID> <Name>sample string 4</Name> <Details1>sample string 1</Details1> <Details2>sample string 2</Details2> </Location> <Color>1</Color> <BeginTime>sample string 2</BeginTime> <EndTime>sample string 3</EndTime> <Details1>sample string 4</Details1> <Details2>sample string 5</Details2> </Task> </ArrayOfTask>