POST api/Products/AddRawImage
Request Information
URI Parameters
None.
Body Parameters
StoneFactoryAPI.Models.ProductsModel+AddRawImage| Name | Description | Type | Additional information |
|---|---|---|---|
| name | string |
None. |
|
| imageLink | string |
None. |
|
| createdDate | string |
None. |
|
| addedBy | string |
None. |
|
| productId | integer |
None. |
|
| memberId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"imageLink": "sample string 2",
"createdDate": "sample string 3",
"addedBy": "sample string 4",
"productId": 5,
"memberId": 6
}
application/xml, text/xml
Sample:
<ProductsModel.AddRawImage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StoneFactoryAPI.Models"> <addedBy>sample string 4</addedBy> <createdDate>sample string 3</createdDate> <imageLink>sample string 2</imageLink> <memberId>6</memberId> <name>sample string 1</name> <productId>5</productId> </ProductsModel.AddRawImage>
multipart/form-data
Sample:
<ProductsModel.AddRawImage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StoneFactoryAPI.Models"><addedBy>sample string 4</addedBy><createdDate>sample string 3</createdDate><imageLink>sample string 2</imageLink><memberId>6</memberId><name>sample string 1</name><productId>5</productId></ProductsModel.AddRawImage>
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. |