POST api/master/GetCategory
Request Information
URI Parameters
None.
Body Parameters
CategoryModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CategoryID | integer |
None. |
|
| CategoryName | string |
None. |
|
| IsActive | integer |
None. |
|
| UserID | integer |
None. |
|
| CompanyID | integer |
None. |
|
| FinancialYearID | integer |
None. |
|
| FinancialYear | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CategoryID": 1,
"CategoryName": "sample string 2",
"IsActive": 3,
"UserID": 1,
"CompanyID": 1,
"FinancialYearID": 1,
"FinancialYear": "sample string 4"
}
application/xml, text/xml
Sample:
<CategoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MfgProj.BusinessObject"> <CompanyID>1</CompanyID> <FinancialYear>sample string 4</FinancialYear> <FinancialYearID>1</FinancialYearID> <UserID>1</UserID> <CategoryID>1</CategoryID> <CategoryName>sample string 2</CategoryName> <IsActive>3</IsActive> </CategoryModel>
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. |