POST api/products/{productId}/shares

Shares a product with a company

Request Information

URI Parameters

NameDescriptionTypeAdditional information
productId

Product ID to be shared by the company

integer

Required

Body Parameters

Type of CreateProductShareViewModel

CreateProductShareViewModel
NameDescriptionTypeAdditional information
SharerCompanyId

integer

Required

ShareeCompanyId

integer

Required

CreatedByUserId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "sharerCompanyId": 1,
  "shareeCompanyId": 2,
  "createdByUserId": "sample string 3"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.