POST v1/JobCost/GetTimeCardData

Request Information

URI Parameters

None.

Body Parameters

TimeCardDataRequest
NameDescriptionTypeAdditional information
StarDate

string

None.

EndDate

string

None.

IsApprove

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "StarDate": "sample string 1",
  "EndDate": "sample string 2",
  "IsApprove": true
}

application/xml, text/xml

Sample:
<TimeCardDataRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <StarDate>sample string 1</StarDate>
  <EndDate>sample string 2</EndDate>
  <IsApprove>true</IsApprove>
</TimeCardDataRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TimeCardDataRequest'.

Response Information

Resource Description

Collection of TimeCardDataResponse
NameDescriptionTypeAdditional information
TimeCardData

Collection of TimeCard

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "TimeCardData": [
      {
        "Description": "sample string 1",
        "Project": "sample string 2",
        "ProjectTask": 3,
        "AccountGroup": "sample string 4",
        "InventoryID": "sample string 5",
        "LineDescription": "sample string 6",
        "Quantity": 1.0,
        "JobDate": "sample string 7",
        "EmployeeNumber": "sample string 8",
        "JobCostID": 9,
        "UnitRate": 10.0,
        "DebitAccount": "sample string 11"
      },
      {
        "Description": "sample string 1",
        "Project": "sample string 2",
        "ProjectTask": 3,
        "AccountGroup": "sample string 4",
        "InventoryID": "sample string 5",
        "LineDescription": "sample string 6",
        "Quantity": 1.0,
        "JobDate": "sample string 7",
        "EmployeeNumber": "sample string 8",
        "JobCostID": 9,
        "UnitRate": 10.0,
        "DebitAccount": "sample string 11"
      }
    ]
  },
  {
    "TimeCardData": [
      {
        "Description": "sample string 1",
        "Project": "sample string 2",
        "ProjectTask": 3,
        "AccountGroup": "sample string 4",
        "InventoryID": "sample string 5",
        "LineDescription": "sample string 6",
        "Quantity": 1.0,
        "JobDate": "sample string 7",
        "EmployeeNumber": "sample string 8",
        "JobCostID": 9,
        "UnitRate": 10.0,
        "DebitAccount": "sample string 11"
      },
      {
        "Description": "sample string 1",
        "Project": "sample string 2",
        "ProjectTask": 3,
        "AccountGroup": "sample string 4",
        "InventoryID": "sample string 5",
        "LineDescription": "sample string 6",
        "Quantity": 1.0,
        "JobDate": "sample string 7",
        "EmployeeNumber": "sample string 8",
        "JobCostID": 9,
        "UnitRate": 10.0,
        "DebitAccount": "sample string 11"
      }
    ]
  }
]