GET api/timecard/GetLockedTimecards?payStartDate={payStartDate}&payEndDate={payEndDate}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| payStartDate | string |
Required |
|
| payEndDate | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PayrollData| Name | Description | Type | Additional information |
|---|---|---|---|
| IsAllClients | boolean |
None. |
|
| Clients | Collection of ClientDataDTO |
None. |
|
| Timecard | Collection of Dictionary of string [key] and Object [value] |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"IsAllClients": true,
"Clients": [
{
"Id": "sample string 1",
"ClientCode": "sample string 2",
"ClientName": "sample string 3"
},
{
"Id": "sample string 1",
"ClientCode": "sample string 2",
"ClientName": "sample string 3"
}
],
"Timecard": [
{
"sample string 1": {},
"sample string 3": {}
},
{
"sample string 1": {},
"sample string 3": {}
}
]
},
{
"IsAllClients": true,
"Clients": [
{
"Id": "sample string 1",
"ClientCode": "sample string 2",
"ClientName": "sample string 3"
},
{
"Id": "sample string 1",
"ClientCode": "sample string 2",
"ClientName": "sample string 3"
}
],
"Timecard": [
{
"sample string 1": {},
"sample string 3": {}
},
{
"sample string 1": {},
"sample string 3": {}
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfPayrollData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WurkNowDTO.TLM">
<PayrollData>
<Clients>
<ClientDataDTO>
<ClientCode>sample string 2</ClientCode>
<ClientName>sample string 3</ClientName>
<Id>sample string 1</Id>
</ClientDataDTO>
<ClientDataDTO>
<ClientCode>sample string 2</ClientCode>
<ClientName>sample string 3</ClientName>
<Id>sample string 1</Id>
</ClientDataDTO>
</Clients>
<IsAllClients>true</IsAllClients>
<Timecard xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:ArrayOfKeyValueOfstringanyType>
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>sample string 1</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>sample string 3</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
</d3p1:ArrayOfKeyValueOfstringanyType>
<d3p1:ArrayOfKeyValueOfstringanyType>
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>sample string 1</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>sample string 3</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
</d3p1:ArrayOfKeyValueOfstringanyType>
</Timecard>
</PayrollData>
<PayrollData>
<Clients>
<ClientDataDTO>
<ClientCode>sample string 2</ClientCode>
<ClientName>sample string 3</ClientName>
<Id>sample string 1</Id>
</ClientDataDTO>
<ClientDataDTO>
<ClientCode>sample string 2</ClientCode>
<ClientName>sample string 3</ClientName>
<Id>sample string 1</Id>
</ClientDataDTO>
</Clients>
<IsAllClients>true</IsAllClients>
<Timecard xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:ArrayOfKeyValueOfstringanyType>
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>sample string 1</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>sample string 3</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
</d3p1:ArrayOfKeyValueOfstringanyType>
<d3p1:ArrayOfKeyValueOfstringanyType>
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>sample string 1</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>sample string 3</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
</d3p1:ArrayOfKeyValueOfstringanyType>
</Timecard>
</PayrollData>
</ArrayOfPayrollData>