POST api/Order/AddHailOrder

Request Information

URI Parameters

None.

Body Parameters

HailOrderRequest
NameDescriptionTypeAdditional information
RequestID

string

None.

AccountCode

integer

None.

PID

integer

None.

Client

string

None.

CCEmail

string

None.

Address

string

None.

LatLon

string

None.

Price

integer

None.

Notes

string

None.

IsOnlineOrder

boolean

None.

Source

string

None.

DeviceModelName

string

None.

HailDuration

integer

None.

HailStartDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "RequestID": "sample string 1",
  "AccountCode": 1,
  "PID": 2,
  "Client": "sample string 3",
  "CCEmail": "sample string 4",
  "Address": "sample string 5",
  "LatLon": "sample string 6",
  "Price": 7,
  "Notes": "sample string 8",
  "IsOnlineOrder": true,
  "Source": "sample string 10",
  "DeviceModelName": "sample string 11",
  "HailDuration": 12,
  "HailStartDate": "2024-07-14T02:25:30.8880447+00:00"
}

multipart/form-data

Sample:
{"RequestID":"sample string 1","AccountCode":1,"PID":2,"Client":"sample string 3","CCEmail":"sample string 4","Address":"sample string 5","LatLon":"sample string 6","Price":7,"Notes":"sample string 8","IsOnlineOrder":true,"Source":"sample string 10","DeviceModelName":"sample string 11","HailDuration":12,"HailStartDate":"2024-07-14T02:25:30.8880447+00:00"}

application/xml, text/xml

Sample:
<HailOrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileActML">
  <AccountCode>1</AccountCode>
  <Address>sample string 5</Address>
  <CCEmail>sample string 4</CCEmail>
  <Client>sample string 3</Client>
  <DeviceModelName>sample string 11</DeviceModelName>
  <HailDuration>12</HailDuration>
  <HailStartDate>2024-07-14T02:25:30.8880447+00:00</HailStartDate>
  <IsOnlineOrder>true</IsOnlineOrder>
  <LatLon>sample string 6</LatLon>
  <Notes>sample string 8</Notes>
  <PID>2</PID>
  <Price>7</Price>
  <RequestID>sample string 1</RequestID>
  <Source>sample string 10</Source>
</HailOrderRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, multipart/form-data, application/xml, text/xml

Sample:

Sample not available.