POST api/LabourAttendance/getMultipleCostCenter

Request Information

URI Parameters

None.

Body Parameters

LabourAssignCostCenterFilter
NameDescriptionTypeAdditional information
EMP_BasicDetail_Id

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EMP_BasicDetail_Id": "sample string 1"
}

application/xml, text/xml

Sample:
<LabourAssignCostCenterFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Railtech_HRMS.Model.EmployeeModal">
  <EMP_BasicDetail_Id>sample string 1</EMP_BasicDetail_Id>
</LabourAssignCostCenterFilter>

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 'LabourAssignCostCenterFilter'.

Response Information

Resource Description

LabourMultipleCostCenterViewResponse
NameDescriptionTypeAdditional information
StatusCode

integer

None.

status

string

None.

statusText

string

None.

CDS

Collection of LabourMultipleCostCenterView

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 1,
  "status": "sample string 2",
  "statusText": "sample string 3",
  "CDS": [
    {
      "EMP_BasicDetail_Id": "sample string 1",
      "CostCenterId": "sample string 2",
      "CostCenterName": "sample string 3"
    },
    {
      "EMP_BasicDetail_Id": "sample string 1",
      "CostCenterId": "sample string 2",
      "CostCenterName": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<LabourMultipleCostCenterViewResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Railtech_HRMS.Model.EmployeeModal">
  <CDS>
    <LabourMultipleCostCenterView>
      <CostCenterId>sample string 2</CostCenterId>
      <CostCenterName>sample string 3</CostCenterName>
      <EMP_BasicDetail_Id>sample string 1</EMP_BasicDetail_Id>
    </LabourMultipleCostCenterView>
    <LabourMultipleCostCenterView>
      <CostCenterId>sample string 2</CostCenterId>
      <CostCenterName>sample string 3</CostCenterName>
      <EMP_BasicDetail_Id>sample string 1</EMP_BasicDetail_Id>
    </LabourMultipleCostCenterView>
  </CDS>
  <StatusCode>1</StatusCode>
  <status>sample string 2</status>
  <statusText>sample string 3</statusText>
</LabourMultipleCostCenterViewResponse>