POST api/Application/PostAddOrder
Request Information
URI Parameters
None.
Body Parameters
OrderViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | integer |
None. |
|
| PaymentMethod | string |
None. |
|
| OrderCategoryID | integer |
None. |
|
| PlaceID | integer |
None. |
|
| PlaceTypeID | integer |
None. |
|
| PrayerType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserID": 1,
"PaymentMethod": "sample string 2",
"OrderCategoryID": 3,
"PlaceID": 1,
"PlaceTypeID": 1,
"PrayerType": "sample string 4"
}
text/html
Sample:
{"UserID":1,"PaymentMethod":"sample string 2","OrderCategoryID":3,"PlaceID":1,"PlaceTypeID":1,"PrayerType":"sample string 4"}
application/xml, text/xml
Sample:
<OrderViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Authr.Web.Api.Models"> <OrderCategoryID>3</OrderCategoryID> <PaymentMethod>sample string 2</PaymentMethod> <PlaceID>1</PlaceID> <PlaceTypeID>1</PlaceTypeID> <PrayerType>sample string 4</PrayerType> <UserID>1</UserID> </OrderViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.