POST api/SubCategory/Create
Request Information
URI Parameters
None.
Body Parameters
SubCategoryViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SubCategoryID | integer |
None. |
|
| CompanyID | integer |
None. |
|
| CategoryID | integer |
None. |
|
| SubCategoryName | string |
None. |
|
| IsActive | boolean |
None. |
|
| LoginId | integer |
None. |
|
| ProductGroupID | integer |
None. |
|
| ProductGroupName | string |
None. |
|
| CategoryName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SubCategoryID": 1,
"CompanyID": 2,
"CategoryID": 3,
"SubCategoryName": "sample string 4",
"IsActive": true,
"LoginId": 6,
"ProductGroupID": 7,
"ProductGroupName": "sample string 8",
"CategoryName": "sample string 9"
}
application/xml, text/xml
Sample:
<SubCategoryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAL.ViewModel"> <CategoryID>3</CategoryID> <CategoryName>sample string 9</CategoryName> <CompanyID>2</CompanyID> <IsActive>true</IsActive> <LoginId>6</LoginId> <ProductGroupID>7</ProductGroupID> <ProductGroupName>sample string 8</ProductGroupName> <SubCategoryID>1</SubCategoryID> <SubCategoryName>sample string 4</SubCategoryName> </SubCategoryViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |