GET api/timePayrollBatch/{id}

Return a single value from the PayrollBatches table using the primary key as ID.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The Settings Primary Key.

integer

Required

Body Parameters

None.

Response Information

Resource Description

timePayrollBatchDb
NameDescriptionTypeAdditional information
PayrollBatchID

integer

None.

PayrollBatchName

string

Max length: 300

FromDate

date

None.

ToDate

date

None.

CountryCode

string

None.

EmployeeTypeGroup

string

None.

PayrollTypeGroup

string

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

results

Collection of ValidationResult

None.

Response Formats

application/json, text/json

Sample:
{
  "results": null,
  "PayrollBatchID": 1,
  "PayrollBatchName": "sample string 2",
  "FromDate": "2025-12-06T23:39:30.453291+00:00",
  "ToDate": "2025-12-06T23:39:30.453291+00:00",
  "CountryCode": "sample string 5",
  "EmployeeTypeGroup": "sample string 6",
  "PayrollTypeGroup": "sample string 7",
  "CreatedBy": 8,
  "CreatedDate": "2025-12-06T23:39:30.453291+00:00",
  "UpdatedBy": 10,
  "UpdatedDate": "2025-12-06T23:39:30.453291+00:00"
}

application/xml, text/xml

Sample:
<timePayrollBatchDb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
  <results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" />
  <CountryCode>sample string 5</CountryCode>
  <CreatedBy>8</CreatedBy>
  <CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:39:30.453291Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreatedDate>
  <EmployeeTypeGroup>sample string 6</EmployeeTypeGroup>
  <FromDate>2025-12-06T23:39:30.453291+00:00</FromDate>
  <PayrollBatchID>1</PayrollBatchID>
  <PayrollBatchName>sample string 2</PayrollBatchName>
  <PayrollTypeGroup>sample string 7</PayrollTypeGroup>
  <ToDate>2025-12-06T23:39:30.453291+00:00</ToDate>
  <UpdatedBy>10</UpdatedBy>
  <UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:39:30.453291Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </UpdatedDate>
</timePayrollBatchDb>