POST api/Bespeak/InsertBespeak

新增预约

Request Information

Parameters

NameDescriptionAdditional information
BespeakInfo
客户端传递 DeviceNo,UserId

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "EquipmentName": "sample string 2",
  "DeviceNo": "sample string 3",
  "SeqNo": "sample string 4",
  "UserId": "sample string 5",
  "BespeakTime": "2026-03-25T19:09:01.3317959+08:00",
  "Longitude": 6.1,
  "Latitude": 7.1,
  "GpsAddress": "sample string 8",
  "State": 1,
  "Remark": "sample string 9",
  "ServerTime": "2026-03-25T19:09:01.3317959+08:00",
  "UserAppId": "sample string 10"
}

application/xml, text/xml

Sample:
<App_Bespeak xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Anda.Entity">
  <BespeakTime>2026-03-25T19:09:01.3317959+08:00</BespeakTime>
  <DeviceNo>sample string 3</DeviceNo>
  <EquipmentName>sample string 2</EquipmentName>
  <GpsAddress>sample string 8</GpsAddress>
  <Latitude>7.1</Latitude>
  <Longitude>6.1</Longitude>
  <Remark>sample string 9</Remark>
  <SeqNo>sample string 4</SeqNo>
  <ServerTime>2026-03-25T19:09:01.3317959+08:00</ServerTime>
  <State>1</State>
  <UserAppId>sample string 10</UserAppId>
  <UserId>sample string 5</UserId>
  <id>sample string 1</id>
</App_Bespeak>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'App_Bespeak'.