POST api/GetIssueSubCategory

Request Information

URI Parameters

None.

Body Parameters

IssueSubCategory
NameDescriptionTypeAdditional information
IssueCategoryID

integer

None.

IssueSubCategoryName

string

None.

IssueSubCategoryId

integer

None.

Message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IssueCategoryID": 1,
  "IssueSubCategoryName": "sample string 2",
  "IssueSubCategoryId": 3,
  "Message": "sample string 4"
}

application/xml, text/xml

Sample:
<IssueSubCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RESTWebAPIForPaperlessOnboarding.Models">
  <IssueCategoryID>1</IssueCategoryID>
  <IssueSubCategoryId>3</IssueSubCategoryId>
  <IssueSubCategoryName>sample string 2</IssueSubCategoryName>
  <Message>sample string 4</Message>
</IssueSubCategory>

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

Response Information

Resource Description

Collection of IssueSubCategory
NameDescriptionTypeAdditional information
IssueCategoryID

integer

None.

IssueSubCategoryName

string

None.

IssueSubCategoryId

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "IssueCategoryID": 1,
    "IssueSubCategoryName": "sample string 2",
    "IssueSubCategoryId": 3,
    "Message": "sample string 4"
  },
  {
    "IssueCategoryID": 1,
    "IssueSubCategoryName": "sample string 2",
    "IssueSubCategoryId": 3,
    "Message": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfIssueSubCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RESTWebAPIForPaperlessOnboarding.Models">
  <IssueSubCategory>
    <IssueCategoryID>1</IssueCategoryID>
    <IssueSubCategoryId>3</IssueSubCategoryId>
    <IssueSubCategoryName>sample string 2</IssueSubCategoryName>
    <Message>sample string 4</Message>
  </IssueSubCategory>
  <IssueSubCategory>
    <IssueCategoryID>1</IssueCategoryID>
    <IssueSubCategoryId>3</IssueSubCategoryId>
    <IssueSubCategoryName>sample string 2</IssueSubCategoryName>
    <Message>sample string 4</Message>
  </IssueSubCategory>
</ArrayOfIssueSubCategory>