POST v1/Products/{productId}/Resources/Link
Add the Product Resource Link
Request Information
Requires Authorization!
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
productId |
The Product id |
integer |
Required. |
Body Parameters
The Link data
ProductResourceLinkName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
ContentType | integer |
None. |
|
Url | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "ContentType": 2, "Url": "sample string 3" }
application/xml, text/xml
Sample:
<ProductResourceLink xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Name>sample string 1</Name> <ContentType>2</ContentType> <Url>sample string 3</Url> </ProductResourceLink>
Response Information
Response Codes
- OK (200)
Resource Description
The HttpResponseMessage object
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. |