using System; namespace Common { public class ApiInfoConstant { /// /// 查询url /// public const string QUERY_URL = "http://poll.kuaidi100.com/poll/query.do"; /// /// 订阅url /// public const string SUBSCRIBE_URL = "https://poll.kuaidi100.com/poll"; /// /// 地图轨迹查询url /// public const string QUERY_URL_WITH_MAP = "https://poll.kuaidi100.com/poll/maptrack.do"; /// /// 地图轨迹订阅url /// public const string SUBSCRIBE_URL_WITH_MAP = "http://poll.kuaidi100.com/pollmap"; /// /// 订阅SCHEMA /// public const string SUBSCRIBE_SCHEMA = "json"; /// /// 智能单号识别url /// public const string AUTO_NUM_URL = "http://www.kuaidi100.com/autonumber/auto?num={0}&key={1}"; /// /// 电子面单html url /// public const string ELECTRONIC_ORDER_HTML_URL = "http://poll.kuaidi100.com/eorderapi.do"; /// /// 电子面单html方法 /// public const string ELECTRONIC_ORDER_HTML_METHOD = "getElecOrder"; /// /// 电子面单获取图片 url /// public const string ELECTRONIC_ORDER_PIC_URL = "https://poll.kuaidi100.com/printapi/printtask.do"; /// /// 电子面单获取图片 /// public const string ELECTRONIC_ORDER_PIC_METHOD = "getPrintImg"; /// /// 电子面单打印 url /// public const string ELECTRONIC_ORDER_PRINT_URL = "https://poll.kuaidi100.com/printapi/printtask.do"; /// /// 电子面单打印方法 /// public const string ELECTRONIC_ORDER_PRINT_METHOD = "eOrder"; /// /// 菜鸟淘宝账号授权 /// public const string AUTH_THIRD_URL = "https://poll.kuaidi100.com/printapi/authThird.do"; /// /// 云打印url /// public const string CLOUD_PRINT_URL = "http://poll.kuaidi100.com/printapi/printtask.do?method={0}&t={1}&key={2}&sign={3}¶m={4}"; /// /// 自定义打印方法 /// public const string CLOUD_PRINT_CUSTOM_METHOD = "printOrder"; /// /// 附件打印方法 /// public const string CLOUD_PRINT_ATTACHMENT_METHOD = "imgOrder"; /// /// 复打方法 /// public const string CLOUD_PRINT_OLD_METHOD = "printOld"; /// /// 硬件状态接口方法 /// public const string CLOUD_PRINT_DEV_STATUS = "devstatus"; /// /// 短信url /// public const string SEND_SMS_URL = "http://apisms.kuaidi100.com:9502/sms/send.do"; /// /// 商家寄件 /// public const string B_ORDER_URL = "https://order.kuaidi100.com/order/borderbestapi.do"; /// /// 商家寄件查询运力 /// public const string B_ORDER_QUERY_TRANSPORT_CAPACITY_METHOD = "querymkt"; /// /// 商家寄件下单 /// public const string B_ORDER_SEND_METHOD = "bOrderBest"; /// /// 商家寄件获取验证码 /// public const string B_ORDER_CODE_METHOD = "getCode"; /// /// 商家寄件取消 /// public const string B_ORDER_CANCEL_METHOD = "cancelBest"; /// /// 商家寄件(官方寄件)请求url /// public const string B_ORDER_OFFICIAL_URL = "https://poll.kuaidi100.com/order/borderapi.do"; /// /// 商家寄件(官方寄件)下单 /// public const string B_ORDER_OFFICIAL_ORDER_METHOD = "bOrder"; /// /// 商家寄件(官方寄件)取消 /// public const string B_ORDER_OFFICIAL_CANCEL_METHOD = "cancel"; /// /// 商家寄件(官方寄件)查询价格 /// public const string B_ORDER_OFFICIAL_PRICE_METHOD = "Price"; /// /// 同城配送请求url /// public const string SAME_CITY_ORDER_URL = "https://order.kuaidi100.com/sameCity/order"; /// /// 同城配送授权方法 /// public const string SAME_CITY_AUTH_METHOD = "auth"; /// /// 同城配送下单方法 /// public const string SAME_CITY_ORDER_METHOD = "order"; /// /// 同城配送查询订单方法 /// public const string SAME_CITY_QUERY_METHOD = "query"; /// /// 同城配送取消订单方法 /// public const string SAME_CITY_CANCEL_METHOD = "cancel"; /// /// 取消方法 /// public const string CANCEL_METHOD = "cancel"; /// /// 快递预估时效 /// public const string TIME = "time"; /// /// 指令打印方法 /// public const string CLOUD_PRINT_COMMAND = "printCommand"; /// /// 指令打印 /// public const string INTERNATIONAL_SHIPMENT_URL = "http://api.kuaidi100.com/sendAssistant/order/apiCall"; /// /// 订单导入授权url /// public const string THIRD_PLATFORM_ORDER_SHOP_AUTHORIZE_url = "https://api.kuaidi100.com/ent/shop/authorize"; /// /// 订单导入提交订单获取任务接口 /// public const string THIRD_PLATFORM_ORDER_COMMIT_TASK = "https://api.kuaidi100.com/ent/order/task"; /// /// 订单导入提交订单回填单号 /// public const string THIRD_PLATFORM_ORDER_UPLOAD_NUM = "https://api.kuaidi100.com/ent/logistics/send"; /// /// 发货单接口url /// public const string BILL_PARCELS_URL = "https://poll.kuaidi100.com/print/billparcels.do"; /// /// 发货单接口方法 /// public const string BILL_PARCELS_METHOD = "billparcels"; /// /// 面单余额接口方法 /// public const string THIRD_PLATFORM_BRANCH_INFO_METHOD = "getThirdInfo"; /// /// 快递面单OCR识别接口 /// public const string OCR_URL = "http://api.kuaidi100.com/elec/detocr"; /// /// 新模板编辑器请求url /// public const string NEW_TEMPLATE_URL = "https://api.kuaidi100.com/label/order"; /// /// 下单 /// public const String ORDER = "order"; /// /// 自定义 /// public const String CUSTOM = "custom"; /// /// 详情 /// public const String DETAIL = "detail"; /// /// C端寄件下单接口url /// public const string C_ORDER_URL = "https://order.kuaidi100.com/order/corderapi.do"; /// /// 价格 /// public const string PRICE = "price"; /// /// cOrder /// public const string CORDER = "cOrder"; /// /// 快递可用性接口url /// public const string EXPRESS_REACHABLE_URL = "http://api.kuaidi100.com/reachable.do"; /// /// 快递可用性接口方法 /// public const string EXPRESS_REACHABLE_METHOD = "reachable"; /// /// 同城寄件接口url /// public const string BSAMECITY_EXPRESS_URL = "https://api.kuaidi100.com/bsamecity/order"; /// /// 同城寄件-预下单方法 /// public const string BSAMECITY_EXPRESS_PRICE = "price"; /// /// 同城寄件-下单方法 /// public const string BSAMECITY_EXPRESS_ORDER = "order"; /// /// 同城寄件-预取消方法 /// public const string BSAMECITY_EXPRESS_PRECANCEL = "precancel"; /// /// 同城寄件-取消方法 /// public const string BSAMECITY_EXPRESS_CANCEL = "cancel"; /// /// 同城寄件-加小费方法 /// public const string BSAMECITY_EXPRESS_ADDFEE = "addfee"; } }