POST api/Expanse/getExpanseType

Request Information

URI Parameters

None.

Body Parameters

ExpnaseCategoryFilter
NameDescriptionTypeAdditional information
MECategoryId

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

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

Response Information

Resource Description

ExpanseTypeListResponse
NameDescriptionTypeAdditional information
StatusCode

integer

None.

status

string

None.

statusText

string

None.

TDS

Collection of ExpanseTypeList

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 1,
  "status": "sample string 2",
  "statusText": "sample string 3",
  "TDS": [
    {
      "TypeHead": "sample string 1",
      "MECTypeId": "sample string 2"
    },
    {
      "TypeHead": "sample string 1",
      "MECTypeId": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<ExpanseTypeListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Railtech_HRMS.Model.EmployeeModal">
  <StatusCode>1</StatusCode>
  <TDS>
    <ExpanseTypeList>
      <MECTypeId>sample string 2</MECTypeId>
      <TypeHead>sample string 1</TypeHead>
    </ExpanseTypeList>
    <ExpanseTypeList>
      <MECTypeId>sample string 2</MECTypeId>
      <TypeHead>sample string 1</TypeHead>
    </ExpanseTypeList>
  </TDS>
  <status>sample string 2</status>
  <statusText>sample string 3</statusText>
</ExpanseTypeListResponse>