POST api/Styles/PostToStyle_Photos

Request Information

URI Parameters

None.

Body Parameters

STYLE
NameDescriptionTypeAdditional information
StyleID

integer

None.

StylistID

integer

None.

StyleName

string

None.

ClothingID_0

integer

None.

ClothingID_1

integer

None.

ClothingID_2

integer

None.

ClothingID_3

integer

None.

ClothingID_4

integer

None.

ClothingID_5

integer

None.

StyleImgUrl

string

None.

StyleVidImgUrl

string

None.

StyleImgUrlThumb

string

None.

StyleVideoId

string

None.

StyleInfo_1

string

None.

Visible

integer

None.

UserID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "StyleID": 1,
  "StylistID": 2,
  "StyleName": "sample string 3",
  "ClothingID_0": 1,
  "ClothingID_1": 1,
  "ClothingID_2": 1,
  "ClothingID_3": 1,
  "ClothingID_4": 1,
  "ClothingID_5": 1,
  "StyleImgUrl": "sample string 4",
  "StyleVidImgUrl": "sample string 5",
  "StyleImgUrlThumb": "sample string 6",
  "StyleVideoId": "sample string 7",
  "StyleInfo_1": "sample string 8",
  "Visible": 9,
  "UserID": "sample string 10"
}

application/xml, text/xml

Sample:
<STYLE xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JDataAccess">
  <ClothingID_0>1</ClothingID_0>
  <ClothingID_1>1</ClothingID_1>
  <ClothingID_2>1</ClothingID_2>
  <ClothingID_3>1</ClothingID_3>
  <ClothingID_4>1</ClothingID_4>
  <ClothingID_5>1</ClothingID_5>
  <StyleID>1</StyleID>
  <StyleImgUrl>sample string 4</StyleImgUrl>
  <StyleImgUrlThumb>sample string 6</StyleImgUrlThumb>
  <StyleInfo_1>sample string 8</StyleInfo_1>
  <StyleName>sample string 3</StyleName>
  <StyleVidImgUrl>sample string 5</StyleVidImgUrl>
  <StyleVideoId>sample string 7</StyleVideoId>
  <StylistID>2</StylistID>
  <UserID>sample string 10</UserID>
  <Visible>9</Visible>
</STYLE>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'STYLE'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.