POST api/Order/New

Documentation for 'New'.

Request Information

Parameters

NameDescriptionAdditional information
newOrderRequest
Documentation for 'newOrderRequest'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Header": {
    "Id": 1,
    "CustomerId": 2,
    "SiteId": 3,
    "SupervisiorId": 4,
    "DateTime": "2025-10-26T10:15:15.8729199+01:00",
    "CarId": 6,
    "DriverId": 7,
    "CreatedInApp": true
  }
}

text/xml

Sample:
<NewOrderRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Header>
    <Id>1</Id>
    <CustomerId>2</CustomerId>
    <SiteId>3</SiteId>
    <SupervisiorId>4</SupervisiorId>
    <DateTime>2025-10-26T10:15:15.8729199+01:00</DateTime>
    <CarId>6</CarId>
    <DriverId>7</DriverId>
    <CreatedInApp>true</CreatedInApp>
  </Header>
</NewOrderRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.