POST 3dCartWebAPI/v1/Products/{catalogid}/Features
Adds a new feature to the system
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
catalogid |
Catalog ID |
integer |
Required |
Body Parameters
A Json or XML object containing the new feature
FeatureName | Description | Type | Additional information |
---|---|---|---|
FeatureID |
database reference = prod_addfeatures.ID |
integer |
None. |
FeatureTitle |
database reference = prod_addfeatures.ProdFeatureTitle |
string |
String length: inclusive between 0 and 150 |
FeatureDescription |
database reference = prod_addfeatures.ProdFeatureTitle |
string |
String length: inclusive between 0 and 150 |
Request Formats
application/json, text/json
Sample:
{ "FeatureID": 1, "FeatureTitle": "sample string 1", "FeatureDescription": "sample string 2" }
application/xml, text/xml
Sample:
<Feature xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <FeatureID>1</FeatureID> <FeatureTitle>sample string 1</FeatureTitle> <FeatureDescription>sample string 2</FeatureDescription> </Feature>
Sample Request |
|
Please click here to download the C# Rest API Client project from GitHub.
not yet available
not yet available
Response Information
application/json, text/json
Sample:
[ { "Key":"FeatureID", "Value":"1234", "Status":"201", "Message":"Created successfully", } ]
Resource Description
HttpResponseMessageName | 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. |