POST api/Orders

下订单

请求信息

URI 参数

Body 参数

场次,座位

OrderModel
名称描述类型附加信息
TimeID

integer

None.

SeatList

Collection of SeatModel

None.

请求格式

application/json, text/json

示例:
{
  "TimeID": 1,
  "SeatList": [
    {
      "Row": 1,
      "Col": 2
    },
    {
      "Row": 1,
      "Col": 2
    }
  ]
}

application/xml, text/xml

示例:
<OrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web_APIProject.Models">
  <SeatList>
    <SeatModel>
      <Col>2</Col>
      <Row>1</Row>
    </SeatModel>
    <SeatModel>
      <Col>2</Col>
      <Row>1</Row>
    </SeatModel>
  </SeatList>
  <TimeID>1</TimeID>
</OrderModel>

application/x-www-form-urlencoded

示例:

示例不可用

资源信息

资源描述

IHttpActionResult

应答格式

application/json, text/json, application/xml, text/xml

示例:

示例不可用