POST Api/Service/Eterm/{GroupId}/DETN
执行DETN程序
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
GroupId |
组ID |
string |
Required |
Body Parameters
请求模型
SpeedPower.Utility.Models.Service.Eterms.Service.DETR.DETNRequestModelName | Description | Type | Additional information |
---|---|---|---|
CardType |
证件类型(NI,PP,ID,UU) |
string |
None. |
CardNo |
证件号码 |
string |
None. |
TicketNo |
票号代码 |
string |
String length: inclusive between 13 and 14 |
Request Formats
application/json, text/json
Sample:
{ "CardType": "sample string 1", "CardNo": "sample string 2", "TicketNo": "sample string 3" }
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="CardType" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="CardNo" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="TicketNo" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
执行DETN程序
SpeedPower.Utility.Models.Service.Eterms.Service.DETR.DETNResponseModelName | Description | Type | Additional information |
---|---|---|---|
DETNContent |
结果信息 |
SpeedPower.Utility.Models.Service.Eterms.Service.DETR.DETNContent |
None. |
Request | SpeedPower.Utility.Models.Service.Eterms.Service.DETR.DETNRequestModel |
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:
{ "DETNContent": { "PrintOut": { "IssuedBy": "sample string 1", "Org": "sample string 2", "Dst": "sample string 3", "Sap": "sample string 4", "ER": "sample string 5", "TourCode": "sample string 6", "Passenger": "sample string 7", "Exch": "sample string 8", "ConJTkt": "sample string 9", "FC": "sample string 10", "Fare": "sample string 11", "Taxs": [ "sample string 1", "sample string 2" ], "Total": "sample string 12", "Fop": "sample string 13", "Oi": "sample string 14", "Tktn": "sample string 15" }, "Segments": [ { "Sequence": 1, "DepartureAirPort": "sample string 2", "ArrivalAirPort": "sample string 3", "DepartureDate": "sample string 4", "DepartureTime": "sample string 5", "Action": "sample string 6", "Carrier": "sample string 7", "FlightNo": "sample string 8", "CabinCode": "sample string 9", "Status": "sample string 10", "IEPNR": "sample string 11", "IBPNR": "sample string 12", "Notes": "sample string 13", "Luggage": "sample string 14", "DepartureTerminal": "sample string 15", "ArrivalTerminal": "sample string 16" }, { "Sequence": 1, "DepartureAirPort": "sample string 2", "ArrivalAirPort": "sample string 3", "DepartureDate": "sample string 4", "DepartureTime": "sample string 5", "Action": "sample string 6", "Carrier": "sample string 7", "FlightNo": "sample string 8", "CabinCode": "sample string 9", "Status": "sample string 10", "IEPNR": "sample string 11", "IBPNR": "sample string 12", "Notes": "sample string 13", "Luggage": "sample string 14", "DepartureTerminal": "sample string 15", "ArrivalTerminal": "sample string 16" } ] }, "Request": { "CardType": "sample string 1", "CardNo": "sample string 2", "TicketNo": "sample string 3" }, "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="DETNContent.PrintOut.IssuedBy" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.PrintOut.Org" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.PrintOut.Dst" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.PrintOut.Sap" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.PrintOut.ER" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.PrintOut.TourCode" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.PrintOut.Passenger" sample string 7 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.PrintOut.Exch" sample string 8 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.PrintOut.ConJTkt" sample string 9 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.PrintOut.FC" sample string 10 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.PrintOut.Fare" sample string 11 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.PrintOut.Taxs[0]" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.PrintOut.Taxs[1]" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.PrintOut.Total" sample string 12 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.PrintOut.Fop" sample string 13 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.PrintOut.Oi" sample string 14 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.PrintOut.Tktn" sample string 15 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[0].Sequence" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[0].DepartureAirPort" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[0].ArrivalAirPort" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[0].DepartureDate" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[0].DepartureTime" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[0].Action" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[0].Carrier" sample string 7 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[0].FlightNo" sample string 8 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[0].CabinCode" sample string 9 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[0].Status" sample string 10 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[0].IEPNR" sample string 11 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[0].IBPNR" sample string 12 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[0].Notes" sample string 13 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[0].Luggage" sample string 14 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[0].DepartureTerminal" sample string 15 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[0].ArrivalTerminal" sample string 16 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[1].Sequence" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[1].DepartureAirPort" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[1].ArrivalAirPort" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[1].DepartureDate" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[1].DepartureTime" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[1].Action" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[1].Carrier" sample string 7 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[1].FlightNo" sample string 8 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[1].CabinCode" sample string 9 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[1].Status" sample string 10 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[1].IEPNR" sample string 11 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[1].IBPNR" sample string 12 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[1].Notes" sample string 13 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[1].Luggage" sample string 14 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[1].DepartureTerminal" sample string 15 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DETNContent.Segments[1].ArrivalTerminal" sample string 16 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Request.CardType" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Request.CardNo" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Request.TicketNo" sample string 3 --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--