POST api/brand/insert
Request Information
URI Parameters
None.
Body Parameters
BrandS| Name | Description | Type | Additional information |
|---|---|---|---|
| BrandID | integer |
None. |
|
| CompID | integer |
None. |
|
| BrandName | string |
None. |
|
| IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"BrandID": 1,
"CompID": 2,
"BrandName": "sample string 3",
"IsActive": true
}
text/html
Sample:
{"BrandID":1,"CompID":2,"BrandName":"sample string 3","IsActive":true}
application/xml, text/xml
Sample:
<BrandS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KeyCodeWebsApis.Models"> <BrandID>1</BrandID> <BrandName>sample string 3</BrandName> <CompID>2</CompID> <IsActive>true</IsActive> </BrandS>
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. |