POST api/GetReimbursementCategory

Request Information

URI Parameters

None.

Body Parameters

ReimbursementCategoryModel
NameDescriptionTypeAdditional information
EmployeeID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeID": 1
}

application/xml, text/xml

Sample:
<ReimbursementCategoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RESTWebAPIForPaperlessOnboarding.Models">
  <EmployeeID>1</EmployeeID>
</ReimbursementCategoryModel>

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

Response Information

Resource Description

ReimbursementCategoryList
NameDescriptionTypeAdditional information
ReimbursementCategoryDetails

Collection of ReimbursementCategoryDetails

None.

status

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ReimbursementCategoryDetails": [
    {
      "ReimbursementCategoryId": 1,
      "ReimbursementCategory": "sample string 2",
      "IsTaxApplicable": "sample string 3"
    },
    {
      "ReimbursementCategoryId": 1,
      "ReimbursementCategory": "sample string 2",
      "IsTaxApplicable": "sample string 3"
    }
  ],
  "status": "sample string 1",
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<ReimbursementCategoryList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RESTWebAPIForPaperlessOnboarding.Models">
  <Message>sample string 2</Message>
  <ReimbursementCategoryDetails>
    <ReimbursementCategoryDetails>
      <IsTaxApplicable>sample string 3</IsTaxApplicable>
      <ReimbursementCategory>sample string 2</ReimbursementCategory>
      <ReimbursementCategoryId>1</ReimbursementCategoryId>
    </ReimbursementCategoryDetails>
    <ReimbursementCategoryDetails>
      <IsTaxApplicable>sample string 3</IsTaxApplicable>
      <ReimbursementCategory>sample string 2</ReimbursementCategory>
      <ReimbursementCategoryId>1</ReimbursementCategoryId>
    </ReimbursementCategoryDetails>
  </ReimbursementCategoryDetails>
  <status>sample string 1</status>
</ReimbursementCategoryList>