POST api/ProductBrand/AddProductBrand

Request Information

URI Parameters

None.

Body Parameters

ProductBrand
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Image

string

None.

Status

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Image": "sample string 3",
  "Status": "sample string 4"
}

application/octet-stream

Sample:
{"$id":"1","Id":1,"Name":"sample string 2","Image":"sample string 3","Status":"sample string 4"}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream

Sample:

Sample not available.