POST api/VendorProducts/AddVendorProducts

Request Information

URI Parameters

None.

Body Parameters

VendorProducts
NameDescriptionTypeAdditional information
Id

integer

None.

Vendor_Id

integer

None.

Vendor

string

None.

Product_Id

integer

None.

Product

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Vendor_Id": 2,
  "Vendor": "sample string 3",
  "Product_Id": 4,
  "Product": "sample string 5"
}

application/octet-stream

Sample:
{"$id":"1","Id":1,"Vendor_Id":2,"Vendor":"sample string 3","Product_Id":4,"Product":"sample string 5"}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.