POST api/PlaceOrder/PlaceOrder
Request Information
URI Parameters
None.
Body Parameters
PlaceOrderModelName | Description | Type | Additional information |
---|---|---|---|
FirstName | string |
None. |
|
LastName | string |
None. |
|
Street | string |
None. |
|
Address2 | string |
None. |
|
Country | string |
None. |
|
City | string |
None. |
|
State | string |
None. |
|
ZipCode | string |
None. |
|
Telephone1 | string |
None. |
|
string |
None. |
||
AptUnitNo | string |
None. |
|
ShippingFirstName | string |
None. |
|
ShippingSurname | string |
None. |
|
ShippingStreet | string |
None. |
|
ShippingCompany | string |
None. |
|
ShippingSuburb | string |
None. |
|
ShippingState | string |
None. |
|
Shippingemail | string |
None. |
|
ShippingCountry | string |
None. |
|
ShippingPostCode | string |
None. |
|
ShippingPhoneNo | string |
None. |
|
ShippingAptUnitNo | string |
None. |
|
BillingAddress1 | string |
None. |
|
BillingAddress2 | string |
None. |
|
BillingAptUnitNo | string |
None. |
|
BillingCity | string |
None. |
|
BillingZipCode | string |
None. |
|
OrderTotal | string |
None. |
|
taxAmountInTotal | string |
None. |
|
taxAmountAdded | string |
None. |
|
shippingAmount | string |
None. |
|
feeAmount | string |
None. |
|
PaymentAmountRequired | string |
None. |
|
PaymentMethodId | string |
None. |
|
PaymentMethodName | string |
None. |
|
CardNumber | string |
None. |
|
CardExpiryMonth | string |
None. |
|
CardExpiryYear | string |
None. |
|
CardName | string |
None. |
|
CardType | string |
None. |
|
Cardccv | string |
None. |
|
CustomerServiceNumber | string |
None. |
|
CouponCode | string |
None. |
|
CouponAmount | string |
None. |
|
TransferAmount | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "FirstName": "sample string 1", "LastName": "sample string 2", "Street": "sample string 3", "Address2": "sample string 4", "Country": "sample string 5", "City": "sample string 6", "State": "sample string 7", "ZipCode": "sample string 8", "Telephone1": "sample string 9", "Email": "sample string 10", "AptUnitNo": "sample string 11", "ShippingFirstName": "sample string 12", "ShippingSurname": "sample string 13", "ShippingStreet": "sample string 14", "ShippingCompany": "sample string 15", "ShippingSuburb": "sample string 16", "ShippingState": "sample string 17", "Shippingemail": "sample string 18", "ShippingCountry": "sample string 19", "ShippingPostCode": "sample string 20", "ShippingPhoneNo": "sample string 21", "ShippingAptUnitNo": "sample string 22", "BillingAddress1": "sample string 23", "BillingAddress2": "sample string 24", "BillingAptUnitNo": "sample string 25", "BillingCity": "sample string 26", "BillingZipCode": "sample string 27", "OrderTotal": "sample string 28", "taxAmountInTotal": "sample string 29", "taxAmountAdded": "sample string 30", "shippingAmount": "sample string 31", "feeAmount": "sample string 32", "PaymentAmountRequired": "sample string 33", "PaymentMethodId": "sample string 34", "PaymentMethodName": "sample string 35", "CardNumber": "sample string 36", "CardExpiryMonth": "sample string 37", "CardExpiryYear": "sample string 38", "CardName": "sample string 39", "CardType": "sample string 40", "Cardccv": "sample string 41", "CustomerServiceNumber": "sample string 42", "CouponCode": "sample string 43", "CouponAmount": "sample string 44", "TransferAmount": "sample string 45" }
application/xml, text/xml
Sample:
<PlaceOrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnjoleeAPI.Models"> <Address2>sample string 4</Address2> <AptUnitNo>sample string 11</AptUnitNo> <BillingAddress1>sample string 23</BillingAddress1> <BillingAddress2>sample string 24</BillingAddress2> <BillingAptUnitNo>sample string 25</BillingAptUnitNo> <BillingCity>sample string 26</BillingCity> <BillingZipCode>sample string 27</BillingZipCode> <CardExpiryMonth>sample string 37</CardExpiryMonth> <CardExpiryYear>sample string 38</CardExpiryYear> <CardName>sample string 39</CardName> <CardNumber>sample string 36</CardNumber> <CardType>sample string 40</CardType> <Cardccv>sample string 41</Cardccv> <City>sample string 6</City> <Country>sample string 5</Country> <CouponAmount>sample string 44</CouponAmount> <CouponCode>sample string 43</CouponCode> <CustomerServiceNumber>sample string 42</CustomerServiceNumber> <Email>sample string 10</Email> <FirstName>sample string 1</FirstName> <LastName>sample string 2</LastName> <OrderTotal>sample string 28</OrderTotal> <PaymentAmountRequired>sample string 33</PaymentAmountRequired> <PaymentMethodId>sample string 34</PaymentMethodId> <PaymentMethodName>sample string 35</PaymentMethodName> <ShippingAptUnitNo>sample string 22</ShippingAptUnitNo> <ShippingCompany>sample string 15</ShippingCompany> <ShippingCountry>sample string 19</ShippingCountry> <ShippingFirstName>sample string 12</ShippingFirstName> <ShippingPhoneNo>sample string 21</ShippingPhoneNo> <ShippingPostCode>sample string 20</ShippingPostCode> <ShippingState>sample string 17</ShippingState> <ShippingStreet>sample string 14</ShippingStreet> <ShippingSuburb>sample string 16</ShippingSuburb> <ShippingSurname>sample string 13</ShippingSurname> <Shippingemail>sample string 18</Shippingemail> <State>sample string 7</State> <Street>sample string 3</Street> <Telephone1>sample string 9</Telephone1> <TransferAmount>sample string 45</TransferAmount> <ZipCode>sample string 8</ZipCode> <feeAmount>sample string 32</feeAmount> <shippingAmount>sample string 31</shippingAmount> <taxAmountAdded>sample string 30</taxAmountAdded> <taxAmountInTotal>sample string 29</taxAmountInTotal> </PlaceOrderModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |