POST api/Embed/CreateEmbedLink
Request Information
URI Parameters
None.
Body Parameters
StoneFactoryAPI.Models.EmbedModel+CreateLink| Name | Description | Type | Additional information |
|---|---|---|---|
| categoryIds | string |
None. |
|
| subCategoryIds | string |
None. |
|
| productIds | string |
None. |
|
| width | integer |
None. |
|
| height | integer |
None. |
|
| link | string |
None. |
|
| userId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"categoryIds": "sample string 1",
"subCategoryIds": "sample string 2",
"productIds": "sample string 3",
"width": 1,
"height": 1,
"link": "sample string 4",
"userId": 1
}
application/xml, text/xml
Sample:
<EmbedModel.CreateLink xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StoneFactoryAPI.Models"> <categoryIds>sample string 1</categoryIds> <height>1</height> <link>sample string 4</link> <productIds>sample string 3</productIds> <subCategoryIds>sample string 2</subCategoryIds> <userId>1</userId> <width>1</width> </EmbedModel.CreateLink>
multipart/form-data
Sample:
<EmbedModel.CreateLink xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StoneFactoryAPI.Models"><categoryIds>sample string 1</categoryIds><height>1</height><link>sample string 4</link><productIds>sample string 3</productIds><subCategoryIds>sample string 2</subCategoryIds><userId>1</userId><width>1</width></EmbedModel.CreateLink>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
System.Net.Http.HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | System.Version |
None. |
|
| Content | System.Net.Http.HttpContent |
None. |
|
| StatusCode | System.Net.HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |