POST api/SKU/AddJointColor
Request Information
URI Parameters
None.
Body Parameters
StoneFactoryAPI.Models.SKUModel+AddJointColor| Name | Description | Type | Additional information |
|---|---|---|---|
| colorName | string |
None. |
|
| imageLink | string |
None. |
|
| skuId | integer |
None. |
|
| memberId | integer |
None. |
|
| joinColorId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"colorName": "sample string 1",
"imageLink": "sample string 2",
"skuId": 1,
"memberId": 1,
"joinColorId": 3
}
application/xml, text/xml
Sample:
<SKUModel.AddJointColor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StoneFactoryAPI.Models"> <colorName>sample string 1</colorName> <imageLink>sample string 2</imageLink> <joinColorId>3</joinColorId> <memberId>1</memberId> <skuId>1</skuId> </SKUModel.AddJointColor>
multipart/form-data
Sample:
<SKUModel.AddJointColor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StoneFactoryAPI.Models"><colorName>sample string 1</colorName><imageLink>sample string 2</imageLink><joinColorId>3</joinColorId><memberId>1</memberId><skuId>1</skuId></SKUModel.AddJointColor>
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. |