POST api/Orders/PostToPostOrders

Request Information

URI Parameters

None.

Body Parameters

POSTORDERS_DETAIL
NameDescriptionTypeAdditional information
PostOrderID

integer

None.

UserID

string

None.

ClothingID

integer

None.

clothingName

string

None.

ClothingSPrice

decimal number

None.

ClothingSize

string

None.

ClothingThumbnail

string

None.

Visible

integer

None.

OutfitID

string

None.

ClothingLevel

integer

None.

PostOrderCreateDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "PostOrderID": 1,
  "UserID": "sample string 2",
  "ClothingID": 3,
  "clothingName": "sample string 4",
  "ClothingSPrice": 5.0,
  "ClothingSize": "sample string 6",
  "ClothingThumbnail": "sample string 7",
  "Visible": 8,
  "OutfitID": "sample string 9",
  "ClothingLevel": 10,
  "PostOrderCreateDate": "2025-06-17T03:22:03.0550416-05:00"
}

application/xml, text/xml

Sample:
<POSTORDERS_DETAIL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JDataAccess">
  <ClothingID>3</ClothingID>
  <ClothingLevel>10</ClothingLevel>
  <ClothingSPrice>5</ClothingSPrice>
  <ClothingSize>sample string 6</ClothingSize>
  <ClothingThumbnail>sample string 7</ClothingThumbnail>
  <OutfitID>sample string 9</OutfitID>
  <PostOrderCreateDate>2025-06-17T03:22:03.0550416-05:00</PostOrderCreateDate>
  <PostOrderID>1</PostOrderID>
  <UserID>sample string 2</UserID>
  <Visible>8</Visible>
  <clothingName>sample string 4</clothingName>
</POSTORDERS_DETAIL>

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

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.