GET api/timecard/GetTimecardsByStatus?payStartDate={payStartDate}&payEndDate={payEndDate}&approvalStatus={approvalStatus}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
payStartDate

string

Required

payEndDate

string

Required

approvalStatus

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

ApprovedTCDataAPI
NameDescriptionTypeAdditional information
Timecard

Collection of Dictionary of string [key] and Object [value]

None.

Response Formats

application/json, text/json

Sample:
{
  "Timecard": [
    {
      "sample string 1": {},
      "sample string 3": {}
    },
    {
      "sample string 1": {},
      "sample string 3": {}
    }
  ]
}

application/xml, text/xml

Sample:
<ApprovedTCDataAPI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WurkNowDTO.TLM">
  <Timecard xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:ArrayOfKeyValueOfstringanyType>
      <d2p1:KeyValueOfstringanyType>
        <d2p1:Key>sample string 1</d2p1:Key>
        <d2p1:Value />
      </d2p1:KeyValueOfstringanyType>
      <d2p1:KeyValueOfstringanyType>
        <d2p1:Key>sample string 3</d2p1:Key>
        <d2p1:Value />
      </d2p1:KeyValueOfstringanyType>
    </d2p1:ArrayOfKeyValueOfstringanyType>
    <d2p1:ArrayOfKeyValueOfstringanyType>
      <d2p1:KeyValueOfstringanyType>
        <d2p1:Key>sample string 1</d2p1:Key>
        <d2p1:Value />
      </d2p1:KeyValueOfstringanyType>
      <d2p1:KeyValueOfstringanyType>
        <d2p1:Key>sample string 3</d2p1:Key>
        <d2p1:Value />
      </d2p1:KeyValueOfstringanyType>
    </d2p1:ArrayOfKeyValueOfstringanyType>
  </Timecard>
</ApprovedTCDataAPI>