{ "swagger" : "2.0", "info" : { "description" : "EP Freight Receipt", "version" : "v1", "title" : "epFreightReceipt" }, "host" : "apigw.hmm21.com", "basePath" : "/gateway/epFreightReceipt/v1", "tags" : [ { "name" : "hmm5144" } ], "schemes" : [ "http" ], "security" : [ { "apiKey" : [ ] } ], "paths" : { "/epFreightReceipt" : { "post" : { "tags" : [ "hmm5144" ], "consumes" : [ ], "parameters" : [ { "name" : "status", "in" : "query", "description" : "Order Status", "required" : true, "type" : "string", "default" : "40:Payment failed", "enum" : [ "10:Payment Pending", "20:Payment in progress", "30:Payment successful", "40:Payment failed" ] }, { "name" : "orderNo", "in" : "query", "description" : "Order No", "required" : true, "type" : "string" }, { "name" : "serialNo", "in" : "query", "description" : "Serial No", "required" : true, "type" : "string" }, { "name" : "paymentNo", "in" : "query", "description" : "Payment No", "required" : true, "type" : "string" }, { "name" : "invoiceType", "in" : "query", "description" : "Fapiao Type", "required" : true, "type" : "string", "default" : "4:VAT Fapiao(Paper)", "enum" : [ "10:Payment Pending", "20:Payment in progress", "30:Payment successful", "40:Payment failed", "1:General VAT fapiao(E-fapiao)", "4:VAT Fapiao(Paper)" ] }, { "name" : "invoiceTitle", "in" : "query", "description" : "Fapiao Title", "required" : true, "type" : "string" }, { "name" : "invoiceClientNumber", "in" : "query", "description" : "Invoice Client Tax No", "required" : false, "type" : "string" }, { "name" : "invoiceClientTele", "in" : "query", "description" : "Invoice Client Telephone", "required" : false, "type" : "string" }, { "name" : "invoiceClientAddress", "in" : "query", "description" : "Invoice Client Address", "required" : false, "type" : "string" }, { "name" : "invoiceClientBankName", "in" : "query", "description" : "Invoice Client Bank Name", "required" : false, "type" : "string" }, { "name" : "invoiceClientBankNumber", "in" : "query", "description" : "Client Bank Account No", "required" : false, "type" : "string" }, { "name" : "invoiceRecipient", "in" : "query", "description" : "Invoice Recipient", "required" : false, "type" : "string" }, { "name" : "invoiceRecipientTele", "in" : "query", "description" : "Invoice Recipient Telephone", "required" : false, "type" : "string" }, { "name" : "invoiceRecipientAddress", "in" : "query", "description" : "Invoice Recipient Address", "required" : false, "type" : "string" }, { "name" : "orderAmount", "in" : "query", "description" : "Order Amount", "required" : true, "type" : "string" } ] } } }, "securityDefinitions" : { "apiKey" : { "type" : "apiKey", "name" : "x-Gateway-APIKey", "in" : "header" } } }