GET api/timesheetprojects/all?administrative={administrative}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| page | integer |
None. |
|
| page_size | integer |
None. |
|
| skip | integer |
None. |
|
| take | integer |
None. |
|
| sorts | Collection of SortDescriptor |
None. |
|
| filters | Collection of IFilterDescriptor |
None. |
|
| administrative | boolean |
None. |
Body Parameters
None.
Response Information
Resource Description
DataSourceResultOfTimesheetProjectListModel| Name | Description | Type | Additional information |
|---|---|---|---|
| data | Collection of TimesheetProjectListModel |
None. |
|
| total | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": [
{
"name": "sample string 1",
"color": "sample string 2",
"id": "5d0a9868-a0eb-4cd0-bb6a-029415de6a51"
},
{
"name": "sample string 1",
"color": "sample string 2",
"id": "5d0a9868-a0eb-4cd0-bb6a-029415de6a51"
}
],
"total": 1
}
application/xml, text/xml
Sample:
<DataSourceResultOfTimesheetProjectListModelihvqq9wh xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Infrastructure.DataSource">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models">
<d2p1:TimesheetProjectListModel>
<Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">5d0a9868-a0eb-4cd0-bb6a-029415de6a51</Id>
<d2p1:Color>sample string 2</d2p1:Color>
<d2p1:Name>sample string 1</d2p1:Name>
</d2p1:TimesheetProjectListModel>
<d2p1:TimesheetProjectListModel>
<Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">5d0a9868-a0eb-4cd0-bb6a-029415de6a51</Id>
<d2p1:Color>sample string 2</d2p1:Color>
<d2p1:Name>sample string 1</d2p1:Name>
</d2p1:TimesheetProjectListModel>
</Data>
<Total>1</Total>
</DataSourceResultOfTimesheetProjectListModelihvqq9wh>