POST Api/Service/Eterm/{GroupId}/ST

执行ST程序

Request Information

URI Parameters

NameDescriptionTypeAdditional information
GroupId

组ID

string

Required

Body Parameters

请求模型

SpeedPower.Utility.Models.Service.Eterms.Service.ST.STRequestModel
NameDescriptionTypeAdditional information
FlightNo

出发地

string

Required

String length: inclusive between 5 and 7

DepartureDate

出发日期

string

Data type: Date

Request Formats

application/json, text/json

Sample:
{
  "FlightNo": "sample string 1",
  "DepartureDate": "sample string 2"
}

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FlightNo"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="DepartureDate"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

执行ST程序

SpeedPower.Utility.Models.Service.Eterms.Service.ST.STResponseModel
NameDescriptionTypeAdditional information
Flight

结果信息

SpeedPower.Utility.Models.Service.Eterms.Service.ST.FlightBody

None.

Request

SpeedPower.Utility.Models.Service.Eterms.Service.ST.STRequestModel

None.

Account

SpeedPower.Utility.Models.Service.Eterms.Account.EtermAccount

None.

DataSource

string

Required

String length: inclusive between 0 and 50

Expand

Dictionary of string [key] and string [value]

None.

Responses

Collection of SpeedPower.Utility.Models.Service.Eterms.Service.CommandResponseModel

None.

Succeed

操作是否成功

boolean

None.

Message

操作消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Flight": {
    "FlightNo": "sample string 1",
    "Date": "2024-12-24T02:54:41.2077441+08:00",
    "TotalFlyTime": "sample string 3",
    "Bodies": [
      {
        "Sequence": 1,
        "DepartureAirport": "sample string 2",
        "ArrivalAirport": "sample string 3",
        "DepartureTime": "sample string 4",
        "ArrivalTime": "sample string 5",
        "DepartureTerminal": "sample string 6",
        "ArrivalTerminal": "sample string 7",
        "CodeShare": true,
        "ShareToFlightNo": "sample string 9",
        "Meal": "sample string 10",
        "PlaneType": "sample string 11",
        "Week": "sample string 12",
        "FlightTime": "sample string 13",
        "Cabins": [
          {
            "CabinCode": "sample string 1",
            "CabinStatus": "sample string 2"
          },
          {
            "CabinCode": "sample string 1",
            "CabinStatus": "sample string 2"
          }
        ]
      },
      {
        "Sequence": 1,
        "DepartureAirport": "sample string 2",
        "ArrivalAirport": "sample string 3",
        "DepartureTime": "sample string 4",
        "ArrivalTime": "sample string 5",
        "DepartureTerminal": "sample string 6",
        "ArrivalTerminal": "sample string 7",
        "CodeShare": true,
        "ShareToFlightNo": "sample string 9",
        "Meal": "sample string 10",
        "PlaneType": "sample string 11",
        "Week": "sample string 12",
        "FlightTime": "sample string 13",
        "Cabins": [
          {
            "CabinCode": "sample string 1",
            "CabinStatus": "sample string 2"
          },
          {
            "CabinCode": "sample string 1",
            "CabinStatus": "sample string 2"
          }
        ]
      }
    ]
  },
  "Request": {
    "FlightNo": "sample string 1",
    "DepartureDate": "sample string 2"
  },
  "Account": {
    "AccountId": "sample string 1",
    "UserName": "sample string 2",
    "MacAddress": "sample string 6",
    "OfficeNo": "sample string 8",
    "ETermVID": "sample string 9",
    "ETermPID": "sample string 10",
    "IsNewVersion": true,
    "PhoneNumber": "sample string 12",
    "LayoutType": 1,
    "Group": {
      "GroupId": "sample string 1",
      "CompanyId": "sample string 2",
      "Proper": 0,
      "Name": "sample string 3",
      "Normal": true
    }
  },
  "DataSource": "sample string 1",
  "Expand": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "Responses": [
    {
      "Result": "sample string 1",
      "Command": "sample string 2"
    },
    {
      "Result": "sample string 1",
      "Command": "sample string 2"
    }
  ],
  "Succeed": true,
  "Message": "sample string 3"
}

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.FlightNo"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Date"

2024-12-24T02:54:41.2077441+08:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.TotalFlyTime"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[0].Sequence"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[0].DepartureAirport"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[0].ArrivalAirport"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[0].DepartureTime"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[0].ArrivalTime"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[0].DepartureTerminal"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[0].ArrivalTerminal"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[0].CodeShare"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[0].ShareToFlightNo"

sample string 9
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[0].Meal"

sample string 10
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[0].PlaneType"

sample string 11
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[0].Week"

sample string 12
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[0].FlightTime"

sample string 13
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[0].Cabins[0].CabinCode"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[0].Cabins[0].CabinStatus"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[0].Cabins[1].CabinCode"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[0].Cabins[1].CabinStatus"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[1].Sequence"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[1].DepartureAirport"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[1].ArrivalAirport"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[1].DepartureTime"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[1].ArrivalTime"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[1].DepartureTerminal"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[1].ArrivalTerminal"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[1].CodeShare"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[1].ShareToFlightNo"

sample string 9
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[1].Meal"

sample string 10
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[1].PlaneType"

sample string 11
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[1].Week"

sample string 12
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[1].FlightTime"

sample string 13
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[1].Cabins[0].CabinCode"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[1].Cabins[0].CabinStatus"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[1].Cabins[1].CabinCode"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Flight.Bodies[1].Cabins[1].CabinStatus"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Request.FlightNo"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Request.DepartureDate"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Account.AccountId"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Account.UserName"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Account.Password"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Account.EtermSID"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Account.HostAddress"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Account.MacAddress"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Account.HostPort"

7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Account.OfficeNo"

sample string 8
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Account.ETermVID"

sample string 9
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Account.ETermPID"

sample string 10
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Account.IsNewVersion"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Account.PhoneNumber"

sample string 12
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Account.LayoutType"

TCP
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Account.Group.GroupId"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Account.Group.CompanyId"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Account.Group.Proper"

WebApi
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Account.Group.Name"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Account.Group.Normal"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="DataSource"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Expand[0].Key"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Expand[0].Value"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Expand[1].Key"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Expand[1].Value"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Responses[0].Result"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Responses[0].Command"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Responses[1].Result"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Responses[1].Command"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Succeed"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Message"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e--