GET api/timesheetprojects/fetch
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. |
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",
"user_id": "sample string 2",
"color": "sample string 3",
"id": "7fbb00f5-e57e-4684-9f95-9d3640854731",
"subscription_id": "62a64679-d1dd-40a3-b4fa-c1b4ea070a0e",
"ts": "QEA="
},
{
"name": "sample string 1",
"user_id": "sample string 2",
"color": "sample string 3",
"id": "7fbb00f5-e57e-4684-9f95-9d3640854731",
"subscription_id": "62a64679-d1dd-40a3-b4fa-c1b4ea070a0e",
"ts": "QEA="
}
],
"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">7fbb00f5-e57e-4684-9f95-9d3640854731</Id>
<SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">62a64679-d1dd-40a3-b4fa-c1b4ea070a0e</SubscriptionId>
<Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
<d2p1:Color>sample string 3</d2p1:Color>
<d2p1:Name>sample string 1</d2p1:Name>
<d2p1:UserId>sample string 2</d2p1:UserId>
</d2p1:TimesheetProjectListModel>
<d2p1:TimesheetProjectListModel>
<Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">7fbb00f5-e57e-4684-9f95-9d3640854731</Id>
<SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">62a64679-d1dd-40a3-b4fa-c1b4ea070a0e</SubscriptionId>
<Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
<d2p1:Color>sample string 3</d2p1:Color>
<d2p1:Name>sample string 1</d2p1:Name>
<d2p1:UserId>sample string 2</d2p1:UserId>
</d2p1:TimesheetProjectListModel>
</Data>
<Total>1</Total>
</DataSourceResultOfTimesheetProjectListModelihvqq9wh>