POST api/ExpanseCashbook/get

Request Information

URI Parameters

None.

Body Parameters

CashbookModalsFilter
NameDescriptionTypeAdditional information
ManagerId

string

None.

FromDate

string

None.

ToDate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ManagerId": "sample string 1",
  "FromDate": "sample string 2",
  "ToDate": "sample string 3"
}

application/xml, text/xml

Sample:
<CashbookModalsFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Railtech_HRMS.Model.EmployeeModal">
  <FromDate>sample string 2</FromDate>
  <ManagerId>sample string 1</ManagerId>
  <ToDate>sample string 3</ToDate>
</CashbookModalsFilter>

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

Response Information

Resource Description

CashbookViewResponse
NameDescriptionTypeAdditional information
StatusCode

integer

None.

status

string

None.

statusText

string

None.

TDS

Collection of CashbookView

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 1,
  "status": "sample string 2",
  "statusText": "sample string 3",
  "TDS": [
    {
      "FullName": "sample string 1",
      "ManagerId": "sample string 2",
      "CashbookDate": "sample string 3",
      "CashbookRemarks": "sample string 4",
      "CashbookImage": "sample string 5",
      "CostCenterId": "sample string 6",
      "CostCenterName": "sample string 7"
    },
    {
      "FullName": "sample string 1",
      "ManagerId": "sample string 2",
      "CashbookDate": "sample string 3",
      "CashbookRemarks": "sample string 4",
      "CashbookImage": "sample string 5",
      "CostCenterId": "sample string 6",
      "CostCenterName": "sample string 7"
    }
  ]
}

application/xml, text/xml

Sample:
<CashbookViewResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Railtech_HRMS.Model.EmployeeModal">
  <StatusCode>1</StatusCode>
  <TDS>
    <CashbookView>
      <CashbookDate>sample string 3</CashbookDate>
      <CashbookImage>sample string 5</CashbookImage>
      <CashbookRemarks>sample string 4</CashbookRemarks>
      <CostCenterId>sample string 6</CostCenterId>
      <CostCenterName>sample string 7</CostCenterName>
      <FullName>sample string 1</FullName>
      <ManagerId>sample string 2</ManagerId>
    </CashbookView>
    <CashbookView>
      <CashbookDate>sample string 3</CashbookDate>
      <CashbookImage>sample string 5</CashbookImage>
      <CashbookRemarks>sample string 4</CashbookRemarks>
      <CostCenterId>sample string 6</CostCenterId>
      <CostCenterName>sample string 7</CostCenterName>
      <FullName>sample string 1</FullName>
      <ManagerId>sample string 2</ManagerId>
    </CashbookView>
  </TDS>
  <status>sample string 2</status>
  <statusText>sample string 3</statusText>
</CashbookViewResponse>