POST api/Order

Request Information

URI Parameters

None.

Body Parameters

OrderModel
NameDescriptionTypeAdditional information
CustomerAccount

string

None.

SendConfirm

string

None.

confirmSubj

string

None.

orderNum

string

None.

fname

string

None.

lname

string

None.

email

string

None.

location

string

None.

VendorName

string

None.

VendorNum

string

None.

VendorSku

string

None.

sku

string

None.

name

string

None.

description

string

None.

size

string

None.

color

string

None.

logo

string

None.

logofee

decimal number

None.

price

decimal number

None.

cost

decimal number

None.

qty

integer

None.

status

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerAccount": "sample string 1",
  "SendConfirm": "sample string 2",
  "confirmSubj": "sample string 3",
  "orderNum": "sample string 4",
  "fname": "sample string 5",
  "lname": "sample string 6",
  "email": "sample string 7",
  "location": "sample string 8",
  "VendorName": "sample string 9",
  "VendorNum": "sample string 10",
  "VendorSku": "sample string 11",
  "sku": "sample string 12",
  "name": "sample string 13",
  "description": "sample string 14",
  "size": "sample string 15",
  "color": "sample string 16",
  "logo": "sample string 17",
  "logofee": 18.1,
  "price": 19.1,
  "cost": 20.1,
  "qty": 21,
  "status": "sample string 22"
}

application/xml, text/xml

Sample:
<OrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/capForm.Models">
  <CustomerAccount>sample string 1</CustomerAccount>
  <SendConfirm>sample string 2</SendConfirm>
  <VendorName>sample string 9</VendorName>
  <VendorNum>sample string 10</VendorNum>
  <VendorSku>sample string 11</VendorSku>
  <color>sample string 16</color>
  <confirmSubj>sample string 3</confirmSubj>
  <cost>20.1</cost>
  <description>sample string 14</description>
  <email>sample string 7</email>
  <fname>sample string 5</fname>
  <lname>sample string 6</lname>
  <location>sample string 8</location>
  <logo>sample string 17</logo>
  <logofee>18.1</logofee>
  <name>sample string 13</name>
  <orderNum>sample string 4</orderNum>
  <price>19.1</price>
  <qty>21</qty>
  <size>sample string 15</size>
  <sku>sample string 12</sku>
  <status>sample string 22</status>
</OrderModel>

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

Response Information

Resource Description

None.