POST api/GetReimbursementSubCategoryNew

Request Information

URI Parameters

None.

Body Parameters

ReimbursementSubCategoryModel
NameDescriptionTypeAdditional information
ReimbursementCategoryId

integer

None.

GnetassociateId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ReimbursementCategoryId": 1,
  "GnetassociateId": "sample string 2"
}

application/xml, text/xml

Sample:
<ReimbursementSubCategoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RESTWebAPIForPaperlessOnboarding.Models">
  <GnetassociateId>sample string 2</GnetassociateId>
  <ReimbursementCategoryId>1</ReimbursementCategoryId>
</ReimbursementSubCategoryModel>

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

Response Information

Resource Description

ReimbursementSubCategoryList
NameDescriptionTypeAdditional information
ReimbursementSubCategoryDetails

Collection of ReimbursementSubCategoryDetails

None.

status

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ReimbursementSubCategoryDetails": [
    {
      "ReimbursementSubCategoryId": 1,
      "ReimbursementSubCategory": "sample string 2"
    },
    {
      "ReimbursementSubCategoryId": 1,
      "ReimbursementSubCategory": "sample string 2"
    }
  ],
  "status": "sample string 1",
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<ReimbursementSubCategoryList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RESTWebAPIForPaperlessOnboarding.Models">
  <Message>sample string 2</Message>
  <ReimbursementSubCategoryDetails>
    <ReimbursementSubCategoryDetails>
      <ReimbursementSubCategory>sample string 2</ReimbursementSubCategory>
      <ReimbursementSubCategoryId>1</ReimbursementSubCategoryId>
    </ReimbursementSubCategoryDetails>
    <ReimbursementSubCategoryDetails>
      <ReimbursementSubCategory>sample string 2</ReimbursementSubCategory>
      <ReimbursementSubCategoryId>1</ReimbursementSubCategoryId>
    </ReimbursementSubCategoryDetails>
  </ReimbursementSubCategoryDetails>
  <status>sample string 1</status>
</ReimbursementSubCategoryList>