POST api/GetOrder1

Request Information

URI Parameters

None.

Body Parameters

OnlineOrdersInsertResultViewModel
NameDescriptionTypeAdditional information
ShopId

string

None.

HostIp

string

None.

PreKey

string

None.

UserId

integer

None.

WorkstationId

integer

None.

ShopName

string

None.

OnlineOrdersInsertResult

Collection of OnlineOrdersInsertResult

None.

OnlineBookingInsertResult

Collection of OnlineBookingInsertResult

None.

OnlineBookingTimNoGuestControl

Collection of OnlineBookingTimNoGuestControl

None.

Request Formats

application/json, text/json

Sample:
{
  "ShopId": "sample string 1",
  "HostIp": "sample string 2",
  "PreKey": "sample string 3",
  "UserId": 4,
  "WorkstationId": 5,
  "ShopName": "sample string 6",
  "OnlineOrdersInsertResult": [
    {
      "OrderId": 1,
      "WebOrderId": 2,
      "StatusId": 3
    },
    {
      "OrderId": 1,
      "WebOrderId": 2,
      "StatusId": 3
    }
  ],
  "OnlineBookingInsertResult": [
    {
      "BookingId": 1,
      "WebBookingId": 2,
      "StatusId": 3
    },
    {
      "BookingId": 1,
      "WebBookingId": 2,
      "StatusId": 3
    }
  ],
  "OnlineBookingTimNoGuestControl": [
    {
      "DateBooking": "2024-12-29T12:52:44.9050952+00:00",
      "TimeStart": "00:00:00.1234567",
      "TimeEnd": "00:00:00.1234567",
      "NoGuestMachine": 4,
      "NoGuestWeb": 5,
      "DayNumber": 6
    },
    {
      "DateBooking": "2024-12-29T12:52:44.9050952+00:00",
      "TimeStart": "00:00:00.1234567",
      "TimeEnd": "00:00:00.1234567",
      "NoGuestMachine": 4,
      "NoGuestWeb": 5,
      "DayNumber": 6
    }
  ]
}

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.