POST api/invoice/createorder
创建订单
Request Information
URI Parameters
None.
Body Parameters
CreateOrderRequestName | Description | Type | Additional information |
---|---|---|---|
opersystem |
操作系统(ios,window,andrion....) |
string |
None. |
channel |
訂單來源(網站/去拿網...等第三方平臺) |
string |
None. |
couponinfos |
优惠券 |
Collection of CouponInfo |
None. |
itemtype |
订单类型 |
ItemType |
None. |
status |
订单状态 |
OrderStatus |
None. |
accesssource |
项目名称 |
string |
None. |
paymentinfo |
付款信息 |
PaymentInfo |
None. |
insuranceinfo |
保险详情 |
Collection of InsuranceRouteing |
None. |
farerouteing |
机票详情 |
Collection of FareRouteing |
None. |
hotelroutine |
酒店详情 |
Collection of HotelRoutine |
None. |
contactinfo |
聯繫人信息 |
Collection of OrderContactInfo |
None. |
integralnum |
积分数量 |
decimal number |
None. |
integraldiscount |
积分优惠 |
decimal number |
None. |
extraamt |
额外费用 |
decimal number |
None. |
docno |
编号 |
string |
None. |
memberid |
用户ID |
integer |
None. |
companyid |
公司编号 |
string |
None. |
createagent |
浏览器类型 |
string |
None. |
createdate |
创建时间 |
date |
None. |
createip |
客户端IP |
string |
None. |
platform |
订单来源,PC/Mobile |
string |
None. |
currency |
货币类型 |
string |
None. |
lang |
语言 |
string |
None. |
isrecivemail |
是否接受推广邮件 |
boolean |
None. |
invoiceparms | Collection of ParmInfo |
None. |
|
tourgrouproutine |
旅行團信息 |
Collection of TourGroupRoutine |
None. |
localtravelroutine |
當地享樂信息 |
Collection of LocalTravelRoutine |
None. |
localtraveldeliverys |
當地享樂配送信息 |
Collection of InvoiceLocalTravelDeliveryContract |
None. |
wifibbroutine |
WifiBB信息 |
Collection of OrderWifibbInfo |
None. |
sugarAIRoutine |
Sugar信息 |
Collection of SugarAIContract |
None. |
logTrackGuid |
日志標識 |
string |
None. |
noLowestReasonCode |
没选最低价原因代码 |
string |
None. |
noLowestReason |
没选最低价原因 |
string |
None. |
outScopeReason |
超出权限预定原因 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "opersystem": "sample string 1", "channel": "sample string 2", "couponinfos": [ { "coupontype": 0, "couponcode": "sample string 1", "couponsource": 2, "couponeventname": "sample string 3", "discountamount": 4.0, "discount": 5.0, "discountcalctype": 6, "discountcalcrule": 7 }, { "coupontype": 0, "couponcode": "sample string 1", "couponsource": 2, "couponeventname": "sample string 3", "discountamount": 4.0, "discount": 5.0, "discountcalctype": 6, "discountcalcrule": 7 } ], "itemtype": 0, "status": 0, "accesssource": "sample string 3", "paymentinfo": { "createagent": "sample string 1", "createip": "sample string 2", "createdate": "2024-12-23T14:51:37.249611+08:00", "paytype": "sample string 4", "paydate": "2024-12-23T14:51:37.249611+08:00", "payamt": 6.0, "paycurrency": "sample string 7", "paytranid": "sample string 8", "paytrantype": 0, "payerid": "sample string 9", "ispaid": true, "creditcardnum": "sample string 11" }, "insuranceinfo": [ { "detail": { "source": "sample string 1", "effectivedate": "2024-12-23T14:51:37.249611+08:00", "expirationdate": "2024-12-23T14:51:37.249611+08:00", "companyname": "sample string 4", "companyid": "sample string 5", "destinationid": "sample string 6", "destinationdesc": "sample string 7", "insuredpackageid": "sample string 8", "InsuredPackageDesc": "sample string 9", "PlanId": "sample string 10", "plandesc": "sample string 11", "extradata1": "sample string 12", "extradata2": "sample string 13", "extradata3": "sample string 14", "extradata4": "sample string 15", "extradata5": "sample string 16", "quoteamt": 17.0, "quotecurrency": "sample string 18", "discountedquoteamt": 19.0, "quotevaliduntildate": "2024-12-23T14:51:37.249611+08:00", "status": "sample string 21", "statusdesc": "sample string 22", "transactionresponsedt": "2024-12-23T14:51:37.249611+08:00", "planamt": 24.0, "PlanCurrency": "sample string 25", "policynumber": "sample string 26", "policystatus": "sample string 27", "originalsubmittedpolicydate": "2024-12-23T14:51:37.249611+08:00", "policyschedule": "sample string 29", "orgamount": 30.0, "grantamt": 31.0, "discountcode": "sample string 32" }, "contact": [ { "insuredpersonseqno": 1, "phonetypecd": "sample string 2", "phoneareacode": "sample string 3", "phonenumber": "sample string 4", "email": "sample string 5" }, { "insuredpersonseqno": 1, "phonetypecd": "sample string 2", "phoneareacode": "sample string 3", "phonenumber": "sample string 4", "email": "sample string 5" } ], "insuredpersons": [ { "seqno": 1, "surname": "sample string 2", "givenname": "sample string 3", "titleprefix": "sample string 4", "birthdate": "2024-12-23T14:51:37.249611+08:00", "idnumbertypecd": "sample string 6", "idnumber": "sample string 7", "persontype": "sample string 8" }, { "seqno": 1, "surname": "sample string 2", "givenname": "sample string 3", "titleprefix": "sample string 4", "birthdate": "2024-12-23T14:51:37.249611+08:00", "idnumbertypecd": "sample string 6", "idnumber": "sample string 7", "persontype": "sample string 8" } ] }, { "detail": { "source": "sample string 1", "effectivedate": "2024-12-23T14:51:37.249611+08:00", "expirationdate": "2024-12-23T14:51:37.249611+08:00", "companyname": "sample string 4", "companyid": "sample string 5", "destinationid": "sample string 6", "destinationdesc": "sample string 7", "insuredpackageid": "sample string 8", "InsuredPackageDesc": "sample string 9", "PlanId": "sample string 10", "plandesc": "sample string 11", "extradata1": "sample string 12", "extradata2": "sample string 13", "extradata3": "sample string 14", "extradata4": "sample string 15", "extradata5": "sample string 16", "quoteamt": 17.0, "quotecurrency": "sample string 18", "discountedquoteamt": 19.0, "quotevaliduntildate": "2024-12-23T14:51:37.249611+08:00", "status": "sample string 21", "statusdesc": "sample string 22", "transactionresponsedt": "2024-12-23T14:51:37.249611+08:00", "planamt": 24.0, "PlanCurrency": "sample string 25", "policynumber": "sample string 26", "policystatus": "sample string 27", "originalsubmittedpolicydate": "2024-12-23T14:51:37.249611+08:00", "policyschedule": "sample string 29", "orgamount": 30.0, "grantamt": 31.0, "discountcode": "sample string 32" }, "contact": [ { "insuredpersonseqno": 1, "phonetypecd": "sample string 2", "phoneareacode": "sample string 3", "phonenumber": "sample string 4", "email": "sample string 5" }, { "insuredpersonseqno": 1, "phonetypecd": "sample string 2", "phoneareacode": "sample string 3", "phonenumber": "sample string 4", "email": "sample string 5" } ], "insuredpersons": [ { "seqno": 1, "surname": "sample string 2", "givenname": "sample string 3", "titleprefix": "sample string 4", "birthdate": "2024-12-23T14:51:37.249611+08:00", "idnumbertypecd": "sample string 6", "idnumber": "sample string 7", "persontype": "sample string 8" }, { "seqno": 1, "surname": "sample string 2", "givenname": "sample string 3", "titleprefix": "sample string 4", "birthdate": "2024-12-23T14:51:37.249611+08:00", "idnumbertypecd": "sample string 6", "idnumber": "sample string 7", "persontype": "sample string 8" } ] } ], "farerouteing": [ { "flightur": "sample string 1", "accountid": 2, "flightpnr": "sample string 3", "passenger": [ { "prefix": "sample string 1", "lastname": "sample string 2", "middlename": "sample string 3", "firstname": "sample string 4", "agetype": 5, "dateofbirth": "2024-12-23T14:51:37.249611+08:00", "gender": "sample string 7", "cardname": "sample string 8", "cardtype": "sample string 9", "cardnum": "sample string 10", "cardissueplace": "sample string 11", "cardexpired": "2024-12-23T14:51:37.249611+08:00", "nationality": "sample string 13", "telcountry": "sample string 14", "Phone": "sample string 15", "email": "sample string 16", "ssrtype": "sample string 17", "ssrfreetext": "sample string 18", "seatclaim": "sample string 19", "creditcardnumber": "sample string 20", "creditcardsupplycode": "sample string 21", "creaditcardoperateby": "sample string 22", "mealclaim": "sample string 23", "vMemberGuid": "sample string 24" }, { "prefix": "sample string 1", "lastname": "sample string 2", "middlename": "sample string 3", "firstname": "sample string 4", "agetype": 5, "dateofbirth": "2024-12-23T14:51:37.249611+08:00", "gender": "sample string 7", "cardname": "sample string 8", "cardtype": "sample string 9", "cardnum": "sample string 10", "cardissueplace": "sample string 11", "cardexpired": "2024-12-23T14:51:37.249611+08:00", "nationality": "sample string 13", "telcountry": "sample string 14", "Phone": "sample string 15", "email": "sample string 16", "ssrtype": "sample string 17", "ssrfreetext": "sample string 18", "seatclaim": "sample string 19", "creditcardnumber": "sample string 20", "creditcardsupplycode": "sample string 21", "creaditcardoperateby": "sample string 22", "mealclaim": "sample string 23", "vMemberGuid": "sample string 24" } ], "source": "sample string 4", "sessionid": 5, "data": "sample string 6", "adultprice": 7.0, "adultmarkup": 8.0, "adultorgprice": 9.0, "adulttax": 10.0, "adultorgtax": 11.0, "childprice": 12.0, "childmarkup": 13.0, "childorgprice": 14.0, "childtax": 15.0, "childorgtax": 16.0, "pricetype": 17, "applytype": 18, "adulttaxtype": 19, "childtaxtype": 20, "adult": 21, "child": 22, "rule": { "refund": "sample string 1", "endorse": "sample string 2", "baggage": "sample string 3", "other": "sample string 4" }, "fromsegments": [ { "docno": "sample string 1", "flightgroup": 2, "carriercode": "sample string 3", "flightnumber": "sample string 4", "depairportcode": "sample string 5", "deptime": "2024-12-23T14:51:37.249611+08:00", "arrairportcode": "sample string 7", "arrtime": "2024-12-23T14:51:37.249611+08:00", "stopcities": "sample string 9", "codeshare": true, "cabin": "sample string 11", "aircraftcode": "sample string 12", "bookingcodeinfo": "sample string 13", "isconnect": true, "cabinclasscode": "sample string 15", "farerulekey": "sample string 16", "airreminder": "sample string 17", "airtime": "sample string 18", "fareprice": "sample string 19", "marketairlinecode": "sample string 20", "operatorairlinecode": "sample string 21", "baggage": "sample string 22", "farebasis": "sample string 23", "depterminal": "sample string 24", "arrterminal": "sample string 25", "carriername": "sample string 26", "depairportname": "sample string 27", "arrairportname": "sample string 28", "cabinclassname": "sample string 29", "marketairlinename": "sample string 30", "operatorairlinename": "sample string 31", "stopcitiesname": "sample string 32", "depcity": "sample string 33", "arrcity": "sample string 34" }, { "docno": "sample string 1", "flightgroup": 2, "carriercode": "sample string 3", "flightnumber": "sample string 4", "depairportcode": "sample string 5", "deptime": "2024-12-23T14:51:37.249611+08:00", "arrairportcode": "sample string 7", "arrtime": "2024-12-23T14:51:37.249611+08:00", "stopcities": "sample string 9", "codeshare": true, "cabin": "sample string 11", "aircraftcode": "sample string 12", "bookingcodeinfo": "sample string 13", "isconnect": true, "cabinclasscode": "sample string 15", "farerulekey": "sample string 16", "airreminder": "sample string 17", "airtime": "sample string 18", "fareprice": "sample string 19", "marketairlinecode": "sample string 20", "operatorairlinecode": "sample string 21", "baggage": "sample string 22", "farebasis": "sample string 23", "depterminal": "sample string 24", "arrterminal": "sample string 25", "carriername": "sample string 26", "depairportname": "sample string 27", "arrairportname": "sample string 28", "cabinclassname": "sample string 29", "marketairlinename": "sample string 30", "operatorairlinename": "sample string 31", "stopcitiesname": "sample string 32", "depcity": "sample string 33", "arrcity": "sample string 34" } ], "retsegments": [ { "docno": "sample string 1", "flightgroup": 2, "carriercode": "sample string 3", "flightnumber": "sample string 4", "depairportcode": "sample string 5", "deptime": "2024-12-23T14:51:37.249611+08:00", "arrairportcode": "sample string 7", "arrtime": "2024-12-23T14:51:37.249611+08:00", "stopcities": "sample string 9", "codeshare": true, "cabin": "sample string 11", "aircraftcode": "sample string 12", "bookingcodeinfo": "sample string 13", "isconnect": true, "cabinclasscode": "sample string 15", "farerulekey": "sample string 16", "airreminder": "sample string 17", "airtime": "sample string 18", "fareprice": "sample string 19", "marketairlinecode": "sample string 20", "operatorairlinecode": "sample string 21", "baggage": "sample string 22", "farebasis": "sample string 23", "depterminal": "sample string 24", "arrterminal": "sample string 25", "carriername": "sample string 26", "depairportname": "sample string 27", "arrairportname": "sample string 28", "cabinclassname": "sample string 29", "marketairlinename": "sample string 30", "operatorairlinename": "sample string 31", "stopcitiesname": "sample string 32", "depcity": "sample string 33", "arrcity": "sample string 34" }, { "docno": "sample string 1", "flightgroup": 2, "carriercode": "sample string 3", "flightnumber": "sample string 4", "depairportcode": "sample string 5", "deptime": "2024-12-23T14:51:37.249611+08:00", "arrairportcode": "sample string 7", "arrtime": "2024-12-23T14:51:37.249611+08:00", "stopcities": "sample string 9", "codeshare": true, "cabin": "sample string 11", "aircraftcode": "sample string 12", "bookingcodeinfo": "sample string 13", "isconnect": true, "cabinclasscode": "sample string 15", "farerulekey": "sample string 16", "airreminder": "sample string 17", "airtime": "sample string 18", "fareprice": "sample string 19", "marketairlinecode": "sample string 20", "operatorairlinecode": "sample string 21", "baggage": "sample string 22", "farebasis": "sample string 23", "depterminal": "sample string 24", "arrterminal": "sample string 25", "carriername": "sample string 26", "depairportname": "sample string 27", "arrairportname": "sample string 28", "cabinclassname": "sample string 29", "marketairlinename": "sample string 30", "operatorairlinename": "sample string 31", "stopcitiesname": "sample string 32", "depcity": "sample string 33", "arrcity": "sample string 34" } ], "faretype": 0, "infant": 23, "infantprice": 24.0, "infantmarkup": 25.0, "infantorgprice": 26.0, "infanttax": 27.0, "infantorgtax": 28.0, "infanttaxtype": 29, "triptype": 30, "isautoticket": true, "flightpricecalcs": [ { "itemtype": "sample string 1", "adultprice": 2.0, "adulttax": 3.0, "childprice": 4.0, "childtax": 5.0, "infantprice": 6.0, "infanttax": 7.0, "remark": "sample string 8", "displayorder": 9 }, { "itemtype": "sample string 1", "adultprice": 2.0, "adulttax": 3.0, "childprice": 4.0, "childtax": 5.0, "infantprice": 6.0, "infanttax": 7.0, "remark": "sample string 8", "displayorder": 9 } ] }, { "flightur": "sample string 1", "accountid": 2, "flightpnr": "sample string 3", "passenger": [ { "prefix": "sample string 1", "lastname": "sample string 2", "middlename": "sample string 3", "firstname": "sample string 4", "agetype": 5, "dateofbirth": "2024-12-23T14:51:37.249611+08:00", "gender": "sample string 7", "cardname": "sample string 8", "cardtype": "sample string 9", "cardnum": "sample string 10", "cardissueplace": "sample string 11", "cardexpired": "2024-12-23T14:51:37.249611+08:00", "nationality": "sample string 13", "telcountry": "sample string 14", "Phone": "sample string 15", "email": "sample string 16", "ssrtype": "sample string 17", "ssrfreetext": "sample string 18", "seatclaim": "sample string 19", "creditcardnumber": "sample string 20", "creditcardsupplycode": "sample string 21", "creaditcardoperateby": "sample string 22", "mealclaim": "sample string 23", "vMemberGuid": "sample string 24" }, { "prefix": "sample string 1", "lastname": "sample string 2", "middlename": "sample string 3", "firstname": "sample string 4", "agetype": 5, "dateofbirth": "2024-12-23T14:51:37.249611+08:00", "gender": "sample string 7", "cardname": "sample string 8", "cardtype": "sample string 9", "cardnum": "sample string 10", "cardissueplace": "sample string 11", "cardexpired": "2024-12-23T14:51:37.249611+08:00", "nationality": "sample string 13", "telcountry": "sample string 14", "Phone": "sample string 15", "email": "sample string 16", "ssrtype": "sample string 17", "ssrfreetext": "sample string 18", "seatclaim": "sample string 19", "creditcardnumber": "sample string 20", "creditcardsupplycode": "sample string 21", "creaditcardoperateby": "sample string 22", "mealclaim": "sample string 23", "vMemberGuid": "sample string 24" } ], "source": "sample string 4", "sessionid": 5, "data": "sample string 6", "adultprice": 7.0, "adultmarkup": 8.0, "adultorgprice": 9.0, "adulttax": 10.0, "adultorgtax": 11.0, "childprice": 12.0, "childmarkup": 13.0, "childorgprice": 14.0, "childtax": 15.0, "childorgtax": 16.0, "pricetype": 17, "applytype": 18, "adulttaxtype": 19, "childtaxtype": 20, "adult": 21, "child": 22, "rule": { "refund": "sample string 1", "endorse": "sample string 2", "baggage": "sample string 3", "other": "sample string 4" }, "fromsegments": [ { "docno": "sample string 1", "flightgroup": 2, "carriercode": "sample string 3", "flightnumber": "sample string 4", "depairportcode": "sample string 5", "deptime": "2024-12-23T14:51:37.249611+08:00", "arrairportcode": "sample string 7", "arrtime": "2024-12-23T14:51:37.249611+08:00", "stopcities": "sample string 9", "codeshare": true, "cabin": "sample string 11", "aircraftcode": "sample string 12", "bookingcodeinfo": "sample string 13", "isconnect": true, "cabinclasscode": "sample string 15", "farerulekey": "sample string 16", "airreminder": "sample string 17", "airtime": "sample string 18", "fareprice": "sample string 19", "marketairlinecode": "sample string 20", "operatorairlinecode": "sample string 21", "baggage": "sample string 22", "farebasis": "sample string 23", "depterminal": "sample string 24", "arrterminal": "sample string 25", "carriername": "sample string 26", "depairportname": "sample string 27", "arrairportname": "sample string 28", "cabinclassname": "sample string 29", "marketairlinename": "sample string 30", "operatorairlinename": "sample string 31", "stopcitiesname": "sample string 32", "depcity": "sample string 33", "arrcity": "sample string 34" }, { "docno": "sample string 1", "flightgroup": 2, "carriercode": "sample string 3", "flightnumber": "sample string 4", "depairportcode": "sample string 5", "deptime": "2024-12-23T14:51:37.249611+08:00", "arrairportcode": "sample string 7", "arrtime": "2024-12-23T14:51:37.249611+08:00", "stopcities": "sample string 9", "codeshare": true, "cabin": "sample string 11", "aircraftcode": "sample string 12", "bookingcodeinfo": "sample string 13", "isconnect": true, "cabinclasscode": "sample string 15", "farerulekey": "sample string 16", "airreminder": "sample string 17", "airtime": "sample string 18", "fareprice": "sample string 19", "marketairlinecode": "sample string 20", "operatorairlinecode": "sample string 21", "baggage": "sample string 22", "farebasis": "sample string 23", "depterminal": "sample string 24", "arrterminal": "sample string 25", "carriername": "sample string 26", "depairportname": "sample string 27", "arrairportname": "sample string 28", "cabinclassname": "sample string 29", "marketairlinename": "sample string 30", "operatorairlinename": "sample string 31", "stopcitiesname": "sample string 32", "depcity": "sample string 33", "arrcity": "sample string 34" } ], "retsegments": [ { "docno": "sample string 1", "flightgroup": 2, "carriercode": "sample string 3", "flightnumber": "sample string 4", "depairportcode": "sample string 5", "deptime": "2024-12-23T14:51:37.249611+08:00", "arrairportcode": "sample string 7", "arrtime": "2024-12-23T14:51:37.249611+08:00", "stopcities": "sample string 9", "codeshare": true, "cabin": "sample string 11", "aircraftcode": "sample string 12", "bookingcodeinfo": "sample string 13", "isconnect": true, "cabinclasscode": "sample string 15", "farerulekey": "sample string 16", "airreminder": "sample string 17", "airtime": "sample string 18", "fareprice": "sample string 19", "marketairlinecode": "sample string 20", "operatorairlinecode": "sample string 21", "baggage": "sample string 22", "farebasis": "sample string 23", "depterminal": "sample string 24", "arrterminal": "sample string 25", "carriername": "sample string 26", "depairportname": "sample string 27", "arrairportname": "sample string 28", "cabinclassname": "sample string 29", "marketairlinename": "sample string 30", "operatorairlinename": "sample string 31", "stopcitiesname": "sample string 32", "depcity": "sample string 33", "arrcity": "sample string 34" }, { "docno": "sample string 1", "flightgroup": 2, "carriercode": "sample string 3", "flightnumber": "sample string 4", "depairportcode": "sample string 5", "deptime": "2024-12-23T14:51:37.249611+08:00", "arrairportcode": "sample string 7", "arrtime": "2024-12-23T14:51:37.249611+08:00", "stopcities": "sample string 9", "codeshare": true, "cabin": "sample string 11", "aircraftcode": "sample string 12", "bookingcodeinfo": "sample string 13", "isconnect": true, "cabinclasscode": "sample string 15", "farerulekey": "sample string 16", "airreminder": "sample string 17", "airtime": "sample string 18", "fareprice": "sample string 19", "marketairlinecode": "sample string 20", "operatorairlinecode": "sample string 21", "baggage": "sample string 22", "farebasis": "sample string 23", "depterminal": "sample string 24", "arrterminal": "sample string 25", "carriername": "sample string 26", "depairportname": "sample string 27", "arrairportname": "sample string 28", "cabinclassname": "sample string 29", "marketairlinename": "sample string 30", "operatorairlinename": "sample string 31", "stopcitiesname": "sample string 32", "depcity": "sample string 33", "arrcity": "sample string 34" } ], "faretype": 0, "infant": 23, "infantprice": 24.0, "infantmarkup": 25.0, "infantorgprice": 26.0, "infanttax": 27.0, "infantorgtax": 28.0, "infanttaxtype": 29, "triptype": 30, "isautoticket": true, "flightpricecalcs": [ { "itemtype": "sample string 1", "adultprice": 2.0, "adulttax": 3.0, "childprice": 4.0, "childtax": 5.0, "infantprice": 6.0, "infanttax": 7.0, "remark": "sample string 8", "displayorder": 9 }, { "itemtype": "sample string 1", "adultprice": 2.0, "adulttax": 3.0, "childprice": 4.0, "childtax": 5.0, "infantprice": 6.0, "infanttax": 7.0, "remark": "sample string 8", "displayorder": 9 } ] } ], "hotelroutine": [ { "citycode": "sample string 1", "city": "sample string 2", "checkin": "2024-12-23T14:51:37.2652335+08:00", "checkout": "2024-12-23T14:51:37.2652335+08:00", "hotelcode": "sample string 5", "hotelname": "sample string 6", "country": "sample string 7", "resort": "sample string 8", "streetnumber": "sample string 9", "address": "sample string 10", "phone": "sample string 11", "hotelpic": "sample string 12", "longitude": "sample string 13", "latitude": "sample string 14", "email": "sample string 15", "url": "sample string 16", "currency": "sample string 17", "orgtotal": 18.0, "markuptotal": 19.0, "addtotal": 20.0, "total": 21.0, "apisource": "sample string 22", "apiacc": "sample string 23", "prebookingtoken": "sample string 24", "specrequest": "sample string 25", "canceldeadline": "sample string 26", "status": "sample string 27", "bookingcode": "sample string 28", "supplierbookingcode": "sample string 29", "confirmcode": "sample string 30", "checkininstructions": "sample string 31", "specialcheckininstructions": "sample string 32", "cancelinfos": [ { "startdate": "sample string 1", "enddate": "sample string 2", "penalty": 1.0 }, { "startdate": "sample string 1", "enddate": "sample string 2", "penalty": 1.0 } ], "rooms": [ { "roomtypeid": "sample string 1", "roomtype": "sample string 2", "roomid": "sample string 3", "roomname": "sample string 4", "adultcount": 5, "childcount": 6, "includebreakfast": 7, "breakfastname": "sample string 8", "checkindate": "2024-12-23T14:51:37.2652335+08:00", "checkoutdate": "2024-12-23T14:51:37.2652335+08:00", "status": "sample string 9", "bedtypeid": "sample string 10", "bedtype": "sample string 11", "roomguests": [ { "lang": "sample string 1", "firstname": "sample string 2", "middlename": "sample string 3", "lastname": "sample string 4", "prefix": "sample string 5", "agetype": 6, "age": 1, "birthday": "2024-12-23T14:51:37.2652335+08:00", "sex": 7, "email": "sample string 8", "phonecode": "sample string 9", "phoneno": "sample string 10", "nation": "sample string 11", "cardtype": 1, "cardno": "sample string 12", "cardplace": "sample string 13", "cardexpdate": "2024-12-23T14:51:37.2652335+08:00", "isreal": true, "vMemberGuid": "sample string 16" }, { "lang": "sample string 1", "firstname": "sample string 2", "middlename": "sample string 3", "lastname": "sample string 4", "prefix": "sample string 5", "agetype": 6, "age": 1, "birthday": "2024-12-23T14:51:37.2652335+08:00", "sex": 7, "email": "sample string 8", "phonecode": "sample string 9", "phoneno": "sample string 10", "nation": "sample string 11", "cardtype": 1, "cardno": "sample string 12", "cardplace": "sample string 13", "cardexpdate": "2024-12-23T14:51:37.2652335+08:00", "isreal": true, "vMemberGuid": "sample string 16" } ] }, { "roomtypeid": "sample string 1", "roomtype": "sample string 2", "roomid": "sample string 3", "roomname": "sample string 4", "adultcount": 5, "childcount": 6, "includebreakfast": 7, "breakfastname": "sample string 8", "checkindate": "2024-12-23T14:51:37.2652335+08:00", "checkoutdate": "2024-12-23T14:51:37.2652335+08:00", "status": "sample string 9", "bedtypeid": "sample string 10", "bedtype": "sample string 11", "roomguests": [ { "lang": "sample string 1", "firstname": "sample string 2", "middlename": "sample string 3", "lastname": "sample string 4", "prefix": "sample string 5", "agetype": 6, "age": 1, "birthday": "2024-12-23T14:51:37.2652335+08:00", "sex": 7, "email": "sample string 8", "phonecode": "sample string 9", "phoneno": "sample string 10", "nation": "sample string 11", "cardtype": 1, "cardno": "sample string 12", "cardplace": "sample string 13", "cardexpdate": "2024-12-23T14:51:37.2652335+08:00", "isreal": true, "vMemberGuid": "sample string 16" }, { "lang": "sample string 1", "firstname": "sample string 2", "middlename": "sample string 3", "lastname": "sample string 4", "prefix": "sample string 5", "agetype": 6, "age": 1, "birthday": "2024-12-23T14:51:37.2652335+08:00", "sex": 7, "email": "sample string 8", "phonecode": "sample string 9", "phoneno": "sample string 10", "nation": "sample string 11", "cardtype": 1, "cardno": "sample string 12", "cardplace": "sample string 13", "cardexpdate": "2024-12-23T14:51:37.2652335+08:00", "isreal": true, "vMemberGuid": "sample string 16" } ] } ], "roompernights": [ { "roomid": "sample string 1", "date": "2024-12-23T14:51:37.2652335+08:00", "rate": 1.0, "currency": "sample string 2" }, { "roomid": "sample string 1", "date": "2024-12-23T14:51:37.2652335+08:00", "rate": 1.0, "currency": "sample string 2" } ], "paycardid": "sample string 33", "cancelpolicy": "sample string 34" }, { "citycode": "sample string 1", "city": "sample string 2", "checkin": "2024-12-23T14:51:37.2652335+08:00", "checkout": "2024-12-23T14:51:37.2652335+08:00", "hotelcode": "sample string 5", "hotelname": "sample string 6", "country": "sample string 7", "resort": "sample string 8", "streetnumber": "sample string 9", "address": "sample string 10", "phone": "sample string 11", "hotelpic": "sample string 12", "longitude": "sample string 13", "latitude": "sample string 14", "email": "sample string 15", "url": "sample string 16", "currency": "sample string 17", "orgtotal": 18.0, "markuptotal": 19.0, "addtotal": 20.0, "total": 21.0, "apisource": "sample string 22", "apiacc": "sample string 23", "prebookingtoken": "sample string 24", "specrequest": "sample string 25", "canceldeadline": "sample string 26", "status": "sample string 27", "bookingcode": "sample string 28", "supplierbookingcode": "sample string 29", "confirmcode": "sample string 30", "checkininstructions": "sample string 31", "specialcheckininstructions": "sample string 32", "cancelinfos": [ { "startdate": "sample string 1", "enddate": "sample string 2", "penalty": 1.0 }, { "startdate": "sample string 1", "enddate": "sample string 2", "penalty": 1.0 } ], "rooms": [ { "roomtypeid": "sample string 1", "roomtype": "sample string 2", "roomid": "sample string 3", "roomname": "sample string 4", "adultcount": 5, "childcount": 6, "includebreakfast": 7, "breakfastname": "sample string 8", "checkindate": "2024-12-23T14:51:37.2652335+08:00", "checkoutdate": "2024-12-23T14:51:37.2652335+08:00", "status": "sample string 9", "bedtypeid": "sample string 10", "bedtype": "sample string 11", "roomguests": [ { "lang": "sample string 1", "firstname": "sample string 2", "middlename": "sample string 3", "lastname": "sample string 4", "prefix": "sample string 5", "agetype": 6, "age": 1, "birthday": "2024-12-23T14:51:37.2652335+08:00", "sex": 7, "email": "sample string 8", "phonecode": "sample string 9", "phoneno": "sample string 10", "nation": "sample string 11", "cardtype": 1, "cardno": "sample string 12", "cardplace": "sample string 13", "cardexpdate": "2024-12-23T14:51:37.2652335+08:00", "isreal": true, "vMemberGuid": "sample string 16" }, { "lang": "sample string 1", "firstname": "sample string 2", "middlename": "sample string 3", "lastname": "sample string 4", "prefix": "sample string 5", "agetype": 6, "age": 1, "birthday": "2024-12-23T14:51:37.2652335+08:00", "sex": 7, "email": "sample string 8", "phonecode": "sample string 9", "phoneno": "sample string 10", "nation": "sample string 11", "cardtype": 1, "cardno": "sample string 12", "cardplace": "sample string 13", "cardexpdate": "2024-12-23T14:51:37.2652335+08:00", "isreal": true, "vMemberGuid": "sample string 16" } ] }, { "roomtypeid": "sample string 1", "roomtype": "sample string 2", "roomid": "sample string 3", "roomname": "sample string 4", "adultcount": 5, "childcount": 6, "includebreakfast": 7, "breakfastname": "sample string 8", "checkindate": "2024-12-23T14:51:37.2652335+08:00", "checkoutdate": "2024-12-23T14:51:37.2652335+08:00", "status": "sample string 9", "bedtypeid": "sample string 10", "bedtype": "sample string 11", "roomguests": [ { "lang": "sample string 1", "firstname": "sample string 2", "middlename": "sample string 3", "lastname": "sample string 4", "prefix": "sample string 5", "agetype": 6, "age": 1, "birthday": "2024-12-23T14:51:37.2652335+08:00", "sex": 7, "email": "sample string 8", "phonecode": "sample string 9", "phoneno": "sample string 10", "nation": "sample string 11", "cardtype": 1, "cardno": "sample string 12", "cardplace": "sample string 13", "cardexpdate": "2024-12-23T14:51:37.2652335+08:00", "isreal": true, "vMemberGuid": "sample string 16" }, { "lang": "sample string 1", "firstname": "sample string 2", "middlename": "sample string 3", "lastname": "sample string 4", "prefix": "sample string 5", "agetype": 6, "age": 1, "birthday": "2024-12-23T14:51:37.2652335+08:00", "sex": 7, "email": "sample string 8", "phonecode": "sample string 9", "phoneno": "sample string 10", "nation": "sample string 11", "cardtype": 1, "cardno": "sample string 12", "cardplace": "sample string 13", "cardexpdate": "2024-12-23T14:51:37.2652335+08:00", "isreal": true, "vMemberGuid": "sample string 16" } ] } ], "roompernights": [ { "roomid": "sample string 1", "date": "2024-12-23T14:51:37.2652335+08:00", "rate": 1.0, "currency": "sample string 2" }, { "roomid": "sample string 1", "date": "2024-12-23T14:51:37.2652335+08:00", "rate": 1.0, "currency": "sample string 2" } ], "paycardid": "sample string 33", "cancelpolicy": "sample string 34" } ], "contactinfo": [ { "docno": "sample string 1", "prefix": "sample string 2", "lastname": "sample string 3", "middlename": "sample string 4", "firstname": "sample string 5", "address": "sample string 6", "postcode": "sample string 7", "email": "sample string 8", "telcountry": "sample string 9", "phone": "sample string 10", "contacttype": "sample string 11", "nationalitycode": "sample string 12" }, { "docno": "sample string 1", "prefix": "sample string 2", "lastname": "sample string 3", "middlename": "sample string 4", "firstname": "sample string 5", "address": "sample string 6", "postcode": "sample string 7", "email": "sample string 8", "telcountry": "sample string 9", "phone": "sample string 10", "contacttype": "sample string 11", "nationalitycode": "sample string 12" } ], "integralnum": 4.0, "integraldiscount": 5.0, "extraamt": 6.0, "docno": "sample string 7", "memberid": 8, "companyid": "sample string 9", "createagent": "sample string 10", "createdate": "2024-12-23T14:51:37.2652335+08:00", "createip": "sample string 12", "platform": "sample string 13", "currency": "sample string 14", "lang": "sample string 15", "isrecivemail": true, "invoiceparms": [ { "parmname": "sample string 1", "pramvalue": "sample string 2" }, { "parmname": "sample string 1", "pramvalue": "sample string 2" } ], "tourgrouproutine": [ { "TourGroupFlights": [ { "FlightNo": "sample string 1", "FromCity": "sample string 2", "ToCity": "sample string 3", "DepartureDate": "2024-12-23T14:51:37.2652335+08:00", "ReturnDate": "2024-12-23T14:51:37.2652335+08:00", "CreateDate": "2024-12-23T14:51:37.2652335+08:00" }, { "FlightNo": "sample string 1", "FromCity": "sample string 2", "ToCity": "sample string 3", "DepartureDate": "2024-12-23T14:51:37.2652335+08:00", "ReturnDate": "2024-12-23T14:51:37.2652335+08:00", "CreateDate": "2024-12-23T14:51:37.2652335+08:00" } ], "TourGroupDetails": [ { "AgeType": 1, "Currency": "sample string 1", "OrginUnitPrice": 2.0, "OrginDiscount": 3.0, "MarkupPrice": 4.0, "UnitPrice": 5.0, "Number": 6, "TotalPrice": 7.0, "CreateDate": "2024-12-23T14:51:37.2652335+08:00" }, { "AgeType": 1, "Currency": "sample string 1", "OrginUnitPrice": 2.0, "OrginDiscount": 3.0, "MarkupPrice": 4.0, "UnitPrice": 5.0, "Number": 6, "TotalPrice": 7.0, "CreateDate": "2024-12-23T14:51:37.2652335+08:00" } ], "TourGroupProducts": [ { "Type": 0, "ProductCode": "sample string 1", "ProductName": "sample string 2", "Quantity": 3, "Price": 4.0, "Discount": 5.0, "SubTotal": 6.0, "Remark": "sample string 7", "CreateDate": "2024-12-23T14:51:37.2652335+08:00", "AgeType": 0 }, { "Type": 0, "ProductCode": "sample string 1", "ProductName": "sample string 2", "Quantity": 3, "Price": 4.0, "Discount": 5.0, "SubTotal": 6.0, "Remark": "sample string 7", "CreateDate": "2024-12-23T14:51:37.2652335+08:00", "AgeType": 0 } ], "TourGroupEmerContact": { "Prefix": "sample string 1", "LastName": "sample string 2", "MiddleName": "sample string 3", "FirstName": "sample string 4", "TelCountry": "sample string 5", "Tel": "sample string 6" }, "TourId": "sample string 1", "TourCode": "sample string 2", "TourItemCode": "sample string 3", "TourItemName": "sample string 4", "BranchId": "sample string 5", "DepartureDate": "2024-12-23T14:51:37.2652335+08:00", "ReturnDate": "2024-12-23T14:51:37.2652335+08:00", "DueDate": "2024-12-23T14:51:37.2652335+08:00", "Currency": "sample string 8", "OrginAmt": 9.0, "MarkupAmt": 10.0, "InsuranceAmt": 11.0, "AdditionalAmt": 12.0, "DiscountAmt": 13.0, "TotalAmt": 14.0, "DepositAmt": 15.0, "PaidAmt": 16.0, "HoldCode": "sample string 17", "EventDiscountType": 0, "CreateDate": "2024-12-23T14:51:37.2652335+08:00" }, { "TourGroupFlights": [ { "FlightNo": "sample string 1", "FromCity": "sample string 2", "ToCity": "sample string 3", "DepartureDate": "2024-12-23T14:51:37.2652335+08:00", "ReturnDate": "2024-12-23T14:51:37.2652335+08:00", "CreateDate": "2024-12-23T14:51:37.2652335+08:00" }, { "FlightNo": "sample string 1", "FromCity": "sample string 2", "ToCity": "sample string 3", "DepartureDate": "2024-12-23T14:51:37.2652335+08:00", "ReturnDate": "2024-12-23T14:51:37.2652335+08:00", "CreateDate": "2024-12-23T14:51:37.2652335+08:00" } ], "TourGroupDetails": [ { "AgeType": 1, "Currency": "sample string 1", "OrginUnitPrice": 2.0, "OrginDiscount": 3.0, "MarkupPrice": 4.0, "UnitPrice": 5.0, "Number": 6, "TotalPrice": 7.0, "CreateDate": "2024-12-23T14:51:37.2652335+08:00" }, { "AgeType": 1, "Currency": "sample string 1", "OrginUnitPrice": 2.0, "OrginDiscount": 3.0, "MarkupPrice": 4.0, "UnitPrice": 5.0, "Number": 6, "TotalPrice": 7.0, "CreateDate": "2024-12-23T14:51:37.2652335+08:00" } ], "TourGroupProducts": [ { "Type": 0, "ProductCode": "sample string 1", "ProductName": "sample string 2", "Quantity": 3, "Price": 4.0, "Discount": 5.0, "SubTotal": 6.0, "Remark": "sample string 7", "CreateDate": "2024-12-23T14:51:37.2652335+08:00", "AgeType": 0 }, { "Type": 0, "ProductCode": "sample string 1", "ProductName": "sample string 2", "Quantity": 3, "Price": 4.0, "Discount": 5.0, "SubTotal": 6.0, "Remark": "sample string 7", "CreateDate": "2024-12-23T14:51:37.2652335+08:00", "AgeType": 0 } ], "TourGroupEmerContact": { "Prefix": "sample string 1", "LastName": "sample string 2", "MiddleName": "sample string 3", "FirstName": "sample string 4", "TelCountry": "sample string 5", "Tel": "sample string 6" }, "TourId": "sample string 1", "TourCode": "sample string 2", "TourItemCode": "sample string 3", "TourItemName": "sample string 4", "BranchId": "sample string 5", "DepartureDate": "2024-12-23T14:51:37.2652335+08:00", "ReturnDate": "2024-12-23T14:51:37.2652335+08:00", "DueDate": "2024-12-23T14:51:37.2652335+08:00", "Currency": "sample string 8", "OrginAmt": 9.0, "MarkupAmt": 10.0, "InsuranceAmt": 11.0, "AdditionalAmt": 12.0, "DiscountAmt": 13.0, "TotalAmt": 14.0, "DepositAmt": 15.0, "PaidAmt": 16.0, "HoldCode": "sample string 17", "EventDiscountType": 0, "CreateDate": "2024-12-23T14:51:37.2652335+08:00" } ], "localtravelroutine": [ { "totalAmt": 126.0, "localTravelDetails": [ { "did": "sample string 1", "seq": 2, "skuId": "sample string 3", "skuName": "sample string 4", "orgPrice": 5.0, "markupPrice": 6.0, "price": 7.0, "currency": "sample string 8", "quantity": 9 }, { "did": "sample string 1", "seq": 2, "skuId": "sample string 3", "skuName": "sample string 4", "orgPrice": 5.0, "markupPrice": 6.0, "price": 7.0, "currency": "sample string 8", "quantity": 9 } ], "localTravelGroupInfos": [ { "infoId": "sample string 1", "infoType": 0, "seq": 2, "did": "sample string 3", "didSeq": 4, "formSeq": 5, "formId": "sample string 6", "formName": "sample string 7", "value": "sample string 8", "valueId": "sample string 9" }, { "infoId": "sample string 1", "infoType": 0, "seq": 2, "did": "sample string 3", "didSeq": 4, "formSeq": 5, "formId": "sample string 6", "formName": "sample string 7", "value": "sample string 8", "valueId": "sample string 9" } ], "seq": 1, "themeId": "sample string 2", "themeName": "sample string 3", "source": 0, "activeId": "sample string 4", "planId": "sample string 5", "planName": "sample string 6", "depDate": "2024-12-23T14:51:37.2652335+08:00", "depDateTime": "sample string 8", "currency": "sample string 9", "deadLine": "2024-12-23T14:51:37.2652335+08:00", "islimitdate": true, "deliverytype": 1, "cartId": "sample string 10" }, { "totalAmt": 126.0, "localTravelDetails": [ { "did": "sample string 1", "seq": 2, "skuId": "sample string 3", "skuName": "sample string 4", "orgPrice": 5.0, "markupPrice": 6.0, "price": 7.0, "currency": "sample string 8", "quantity": 9 }, { "did": "sample string 1", "seq": 2, "skuId": "sample string 3", "skuName": "sample string 4", "orgPrice": 5.0, "markupPrice": 6.0, "price": 7.0, "currency": "sample string 8", "quantity": 9 } ], "localTravelGroupInfos": [ { "infoId": "sample string 1", "infoType": 0, "seq": 2, "did": "sample string 3", "didSeq": 4, "formSeq": 5, "formId": "sample string 6", "formName": "sample string 7", "value": "sample string 8", "valueId": "sample string 9" }, { "infoId": "sample string 1", "infoType": 0, "seq": 2, "did": "sample string 3", "didSeq": 4, "formSeq": 5, "formId": "sample string 6", "formName": "sample string 7", "value": "sample string 8", "valueId": "sample string 9" } ], "seq": 1, "themeId": "sample string 2", "themeName": "sample string 3", "source": 0, "activeId": "sample string 4", "planId": "sample string 5", "planName": "sample string 6", "depDate": "2024-12-23T14:51:37.2652335+08:00", "depDateTime": "sample string 8", "currency": "sample string 9", "deadLine": "2024-12-23T14:51:37.2652335+08:00", "islimitdate": true, "deliverytype": 1, "cartId": "sample string 10" } ], "localtraveldeliverys": [ { "deliveryType": 1, "contactName": "sample string 2", "phone": "sample string 3", "areaid": "sample string 4", "areaName": "sample string 5", "regionid": "sample string 6", "regionName": "sample string 7", "address": "sample string 8", "floorNumber": "sample string 9", "houseNumber": "sample string 10", "branchId": "sample string 11", "branchname": "sample string 12" }, { "deliveryType": 1, "contactName": "sample string 2", "phone": "sample string 3", "areaid": "sample string 4", "areaName": "sample string 5", "regionid": "sample string 6", "regionName": "sample string 7", "address": "sample string 8", "floorNumber": "sample string 9", "houseNumber": "sample string 10", "branchId": "sample string 11", "branchname": "sample string 12" } ], "wifibbroutine": [ { "ProductId": 3, "Qty": 4, "CountryCode": "sample string 5", "Country": "sample string 6", "StartDate": "2024-12-23T14:51:37.2652335+08:00", "EndDate": "2024-12-23T14:51:37.2652335+08:00", "TrueDays": 9, "PayDays": 10, "DepositAmt": 11.0, "ProductTotal": 12.0, "OrgProductTotal": 13.0, "Status": 0 }, { "ProductId": 3, "Qty": 4, "CountryCode": "sample string 5", "Country": "sample string 6", "StartDate": "2024-12-23T14:51:37.2652335+08:00", "EndDate": "2024-12-23T14:51:37.2652335+08:00", "TrueDays": 9, "PayDays": 10, "DepositAmt": 11.0, "ProductTotal": 12.0, "OrgProductTotal": 13.0, "Status": 0 } ], "sugarAIRoutine": [ { "productKey": "sample string 1", "tripType": 0, "depAirport": "sample string 2", "arrAirport": "sample string 3", "depDate": "sample string 4", "arrDate": "sample string 5", "carrier": "sample string 6", "flightNumber": "sample string 7", "passengerReserves": [ { "quoteNumber": "sample string 1", "orgBasePrice": 2.0, "basePrice": 3.0, "discount": 4.0, "orgTax": 5.0, "tax": 6.0, "compensation": 7.0, "reserveNumber": "sample string 8", "expireAt": "2024-12-23T14:51:37.2809444+08:00", "firstName": "sample string 9", "lastName": "sample string 10", "email": "sample string 11" }, { "quoteNumber": "sample string 1", "orgBasePrice": 2.0, "basePrice": 3.0, "discount": 4.0, "orgTax": 5.0, "tax": 6.0, "compensation": 7.0, "reserveNumber": "sample string 8", "expireAt": "2024-12-23T14:51:37.2809444+08:00", "firstName": "sample string 9", "lastName": "sample string 10", "email": "sample string 11" } ] }, { "productKey": "sample string 1", "tripType": 0, "depAirport": "sample string 2", "arrAirport": "sample string 3", "depDate": "sample string 4", "arrDate": "sample string 5", "carrier": "sample string 6", "flightNumber": "sample string 7", "passengerReserves": [ { "quoteNumber": "sample string 1", "orgBasePrice": 2.0, "basePrice": 3.0, "discount": 4.0, "orgTax": 5.0, "tax": 6.0, "compensation": 7.0, "reserveNumber": "sample string 8", "expireAt": "2024-12-23T14:51:37.2809444+08:00", "firstName": "sample string 9", "lastName": "sample string 10", "email": "sample string 11" }, { "quoteNumber": "sample string 1", "orgBasePrice": 2.0, "basePrice": 3.0, "discount": 4.0, "orgTax": 5.0, "tax": 6.0, "compensation": 7.0, "reserveNumber": "sample string 8", "expireAt": "2024-12-23T14:51:37.2809444+08:00", "firstName": "sample string 9", "lastName": "sample string 10", "email": "sample string 11" } ] } ], "logTrackGuid": "sample string 16", "noLowestReasonCode": "sample string 17", "noLowestReason": "sample string 18", "outScopeReason": "sample string 19" }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
创建订单
ReturnResultOfCreateOrderResponseName | Description | Type | Additional information |
---|---|---|---|
data | CreateOrderResponse |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "docno": "sample string 1", "orderno": "sample string 2" }, "code": 1, "message": "sample string 2" }