POST api/Clothing/PostToMyFavs

Request Information

URI Parameters

None.

Body Parameters

MY_OUTFITS
NameDescriptionTypeAdditional information
MyOutfitID

integer

None.

OutfitID

string

None.

UserID

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.

ClothingID_6

integer

None.

ClothingID_7

integer

None.

OutfitName

string

None.

OutfitType

string

None.

OutfitCategory

string

None.

OutfitCostPrice

decimal number

None.

OutfitSellPrice

decimal number

None.

OutfitDiscPrice

decimal number

None.

OutfitImgUrl

string

None.

OutfitImgUrlAlt

string

None.

OutfitVideoId

string

None.

OutfitCreateDate

date

None.

Visible

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "MyOutfitID": 1,
  "OutfitID": "sample string 2",
  "UserID": "sample string 3",
  "ClothingID_0": 4,
  "ClothingID_1": 1,
  "ClothingID_2": 1,
  "ClothingID_3": 1,
  "ClothingID_4": 1,
  "ClothingID_5": 1,
  "ClothingID_6": 1,
  "ClothingID_7": 1,
  "OutfitName": "sample string 5",
  "OutfitType": "sample string 6",
  "OutfitCategory": "sample string 7",
  "OutfitCostPrice": 1.0,
  "OutfitSellPrice": 1.0,
  "OutfitDiscPrice": 1.0,
  "OutfitImgUrl": "sample string 8",
  "OutfitImgUrlAlt": "sample string 9",
  "OutfitVideoId": "sample string 10",
  "OutfitCreateDate": "2025-06-16T21:59:44.8390868-05:00",
  "Visible": 11
}

application/xml, text/xml

Sample:
<MY_OUTFITS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JDataAccess">
  <ClothingID_0>4</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>
  <ClothingID_6>1</ClothingID_6>
  <ClothingID_7>1</ClothingID_7>
  <MyOutfitID>1</MyOutfitID>
  <OutfitCategory>sample string 7</OutfitCategory>
  <OutfitCostPrice>1</OutfitCostPrice>
  <OutfitCreateDate>2025-06-16T21:59:44.8390868-05:00</OutfitCreateDate>
  <OutfitDiscPrice>1</OutfitDiscPrice>
  <OutfitID>sample string 2</OutfitID>
  <OutfitImgUrl>sample string 8</OutfitImgUrl>
  <OutfitImgUrlAlt>sample string 9</OutfitImgUrlAlt>
  <OutfitName>sample string 5</OutfitName>
  <OutfitSellPrice>1</OutfitSellPrice>
  <OutfitType>sample string 6</OutfitType>
  <OutfitVideoId>sample string 10</OutfitVideoId>
  <UserID>sample string 3</UserID>
  <Visible>11</Visible>
</MY_OUTFITS>

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 'MY_OUTFITS'.

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.