- Created by Aileen, last modified by Bess on 2020-11-25
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 14 Next »
接口说明:
此接口用于获取邮递服务即渠道
url | http://test.birdsystem.com/client/delivery-service | ||
接口功能 | 获取邮递服务 | ||
支持格式 | JSON | 开发人员 | |
请求方式 | GET | 发布日期 |
请求参数:
(不加任何参数查到的就是所有的服务)
参数 | 说明 | 类型 |
---|---|---|
id | 系统ID | INT(10) |
name | 名称 | VARCHAR |
consignment_type | 订单类型 | ENUM('LOCAL','DIRECT','RETURN','AGENT_DIRECT') |
status | 状态 | ENUM('ACTIVE','DELETED') |
is_tracking | 是否跟踪服务 | 数字,0或者1 |
is_signature | 是否签名服务 | 数字,0或者1 |
is_express | 是否快递 | 数字,0或者1 |
is_hide_delivery_reference_to_consignment | 是否需要获取运输跟踪号 | 数字,0代表需要,1代表该渠道没有运输跟踪号 |
请求示例:
请求正常状态下的代理专线订单的邮递服务
http://test.birdsystem.com/client/delivery-service?status=ACTIVE&consignment_type=AGENT_DIRECT
接口返回示例:
获取正常状态的代理专线订单服务 Expand source
{ "total": 10, "data": [ { "id": 5159, "company_id": 36, "restrict_max_length_contact": null, "restrict_max_length_address_line1": null, "restrict_max_length_address_line2": null, "restrict_max_length_address_line3": null, "restrict_max_length_post_code": null, "restrict_regex_post_code": null, "restrict_regex_telephone": null, "name": "D test", "locale_name": "本地名称", "is_signature": "0", "is_tracking": "1", "is_express": "0", "is_international": "0", "is_customs_required": "1", "is_check_post_code": "0", "is_check_telephone": "0", "is_allow_urgent_consignment": "1", "is_hide_delivery_reference_to_consignment": 1, "special_type": "YICANG", "consignment_type": "AGENT_DIRECT", "consignment_notice_enable": "0", "consignment_notice": "", "status": "ACTIVE" }, { "id": 5432, "company_id": 36, "restrict_max_length_contact": null, "restrict_max_length_address_line1": null, "restrict_max_length_address_line2": null, "restrict_max_length_address_line3": null, "restrict_max_length_post_code": null, "restrict_regex_post_code": null, "restrict_regex_telephone": "^.{0,25}$", "name": "D 中澳跟踪(M)", "locale_name": "中澳跟踪(M)", "is_signature": "0", "is_tracking": "1", "is_express": "0", "is_international": "1", "is_customs_required": "0", "is_check_post_code": "1", "is_check_telephone": "1", "is_allow_urgent_consignment": "1", "is_hide_delivery_reference_to_consignment": "0", "special_type": "SAICHENG_LOGISTICS", "consignment_type": "AGENT_DIRECT", "consignment_notice_enable": "0", "consignment_notice": "", "status": "ACTIVE" }, { "id": 5519, "company_id": 36, "restrict_max_length_contact": null, "restrict_max_length_address_line1": null, "restrict_max_length_address_line2": null, "restrict_max_length_address_line3": null, "restrict_max_length_post_code": null, "restrict_regex_post_code": "[\\S]+", "restrict_regex_telephone": "^.{7,32}$", "name": "D 中美跟踪 极速普货", "locale_name": "D 中美跟踪 极速普货", "is_signature": "0", "is_tracking": "1", "is_express": "0", "is_international": "0", "is_customs_required": "0", "is_check_post_code": "1", "is_check_telephone": "0", "is_allow_urgent_consignment": "1", "is_hide_delivery_reference_to_consignment": "0", "special_type": "VIWO3", "consignment_type": "AGENT_DIRECT", "consignment_notice_enable": "0", "consignment_notice": "", "status": "ACTIVE" }, { "id": 5198, "company_id": 36, "restrict_max_length_contact": null, "restrict_max_length_address_line1": null, "restrict_max_length_address_line2": null, "restrict_max_length_address_line3": null, "restrict_max_length_post_code": null, "restrict_regex_post_code": null, "restrict_regex_telephone": null, "name": "D 中英平邮(B2P)", "locale_name": "DL UNTRACK STD UK 24", "is_signature": "0", "is_tracking": "0", "is_express": "0", "is_international": "0", "is_customs_required": "1", "is_check_post_code": "1", "is_check_telephone": "0", "is_allow_urgent_consignment": "1", "is_hide_delivery_reference_to_consignment": "0", "special_type": "RM2", "consignment_type": "AGENT_DIRECT", "consignment_notice_enable": "0", "consignment_notice": "", "status": "ACTIVE" }, { "id": 5407, "company_id": 36, "restrict_max_length_contact": null, "restrict_max_length_address_line1": null, "restrict_max_length_address_line2": null, "restrict_max_length_address_line3": null, "restrict_max_length_post_code": null, "restrict_regex_post_code": null, "restrict_regex_telephone": null, "name": "D 中英平邮(B2P)带电", "locale_name": "DL UNTRACK STD UK 24 ##", "is_signature": "0", "is_tracking": "0", "is_express": "0", "is_international": "0", "is_customs_required": "1", "is_check_post_code": "1", "is_check_telephone": "0", "is_allow_urgent_consignment": "1", "is_hide_delivery_reference_to_consignment": "0", "special_type": "RM2", "consignment_type": "AGENT_DIRECT", "consignment_notice_enable": "0", "consignment_notice": "", "status": "ACTIVE" }, { "id": 5202, "company_id": 36, "restrict_max_length_contact": null, "restrict_max_length_address_line1": null, "restrict_max_length_address_line2": null, "restrict_max_length_address_line3": null, "restrict_max_length_post_code": null, "restrict_regex_post_code": null, "restrict_regex_telephone": null, "name": "D 中英跟踪(B2P)", "locale_name": "DL TRACK STD UK 48", "is_signature": "0", "is_tracking": "1", "is_express": "0", "is_international": "0", "is_customs_required": "1", "is_check_post_code": "1", "is_check_telephone": "0", "is_allow_urgent_consignment": "1", "is_hide_delivery_reference_to_consignment": "0", "special_type": "RM2", "consignment_type": "AGENT_DIRECT", "consignment_notice_enable": "0", "consignment_notice": "", "status": "ACTIVE" }, { "id": 5408, "company_id": 36, "restrict_max_length_contact": null, "restrict_max_length_address_line1": null, "restrict_max_length_address_line2": null, "restrict_max_length_address_line3": null, "restrict_max_length_post_code": null, "restrict_regex_post_code": null, "restrict_regex_telephone": null, "name": "D 中英跟踪(B2P)带电", "locale_name": "DL TRACK STD UK 48 ##", "is_signature": "0", "is_tracking": "1", "is_express": "0", "is_international": "0", "is_customs_required": "1", "is_check_post_code": "1", "is_check_telephone": "0", "is_allow_urgent_consignment": "1", "is_hide_delivery_reference_to_consignment": "0", "special_type": "RM2", "consignment_type": "AGENT_DIRECT", "consignment_notice_enable": "0", "consignment_notice": "", "status": "ACTIVE" }, { "id": 5379, "company_id": 36, "restrict_max_length_contact": null, "restrict_max_length_address_line1": null, "restrict_max_length_address_line2": null, "restrict_max_length_address_line3": null, "restrict_max_length_post_code": null, "restrict_regex_post_code": "([A-PR-UWYZa-pr-uwyz0-9][A-HK-Ya-hk-y0-9][A-Za-z0-9]?[A-Za-z0-9]? {0,2}-?[0-9][ABD-HIJLN-UW-Zabd-hijln-uw-z]{2}|GIR 0AA)", "restrict_regex_telephone": null, "name": "D 平邮标准RM Packet", "locale_name": "DL UNTRACK STD RM Packet", "is_signature": "0", "is_tracking": "0", "is_express": "0", "is_international": "0", "is_customs_required": "1", "is_check_post_code": "1", "is_check_telephone": "0", "is_allow_urgent_consignment": "1", "is_hide_delivery_reference_to_consignment": "0", "special_type": "RMONLINE", "consignment_type": "AGENT_DIRECT", "consignment_notice_enable": "0", "consignment_notice": "", "status": "ACTIVE" }, { "id": 5412, "company_id": 36, "restrict_max_length_contact": null, "restrict_max_length_address_line1": null, "restrict_max_length_address_line2": null, "restrict_max_length_address_line3": null, "restrict_max_length_post_code": null, "restrict_regex_post_code": "([A-PR-UWYZa-pr-uwyz0-9][A-HK-Ya-hk-y0-9][A-Za-z0-9]?[A-Za-z0-9]? {0,2}-?[0-9][ABD-HIJLN-UW-Zabd-hijln-uw-z]{2}|GIR 0AA)", "restrict_regex_telephone": null, "name": "D 平邮标准RM Packet 带电", "locale_name": "DL UNTRACK STD RM Packet ##", "is_signature": "0", "is_tracking": "0", "is_express": "0", "is_international": "0", "is_customs_required": "1", "is_check_post_code": "1", "is_check_telephone": "0", "is_allow_urgent_consignment": "1", "is_hide_delivery_reference_to_consignment": "0", "special_type": "RMONLINE", "consignment_type": "AGENT_DIRECT", "consignment_notice_enable": "0", "consignment_notice": "", "status": "ACTIVE" }, { "id": 5756, "company_id": 36, "restrict_max_length_contact": "0", "restrict_max_length_address_line1": "35", "restrict_max_length_address_line2": "35", "restrict_max_length_address_line3": "35", "restrict_max_length_post_code": "0", "restrict_regex_post_code": null, "restrict_regex_telephone": null, "name": "INPOST", "locale_name": "", "is_signature": "0", "is_tracking": "0", "is_express": "0", "is_international": "0", "is_customs_required": "0", "is_check_post_code": "0", "is_check_telephone": "0", "is_allow_urgent_consignment": "1", "is_hide_delivery_reference_to_consignment": "0", "special_type": null, "consignment_type": "AGENT_DIRECT", "consignment_notice_enable": "0", "consignment_notice": "", "status": "ACTIVE" } ], "success": true, "moduleName": "client" }
- No labels