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