POST api/products/{productId}/shares
Shares a product with a company
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| productId |
Product ID to be shared by the company |
integer |
Required |
Body Parameters
Type of CreateProductShareViewModel
CreateProductShareViewModel| Name | Description | Type | Additional 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
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.