Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

1、接口说明

接口

url

http://test.birdsystem.com/client/public/company-list

接口功能

站点信息获取

支持格式

json

开发人员

请求方式

get

发布日期

...

返回字段

字段类型

说明

country_name

VARCHAR

国家名称

return_country_name

VARCHAR

退货地址名称

site_id

int

站点ID

id

int

公司ID

name

VARCHAR

公司名称

site_name

VARCHAR

站点名称

email

VATCHAR

电子邮件

telephone

VARCHAR

电话

address_line1

VARCHAR

地址行1

address_line2

VARCHAR

地址行2

address_line3

VARCHAR

地址行3

city

VARCHAR

城市

county

VARCHAR

省/郡

post_code

VARCHAR

邮编

country_iso

CHAR(2)

国家

return_name

VARCHAR

退货名称

return_address_line1

VARCHAR

退货地址行1

return_address_line2

VARCHAR

退货地址行2

return_address_line3

VARCHAR

退货地址行3

return_city

VARCHAR

退货城市

return_county

VARCHAR

退货省/郡

return_post_code

VARCHAR

退货邮编

return_country_iso

CHAR(2)

退货国家

lading_bill_name

VARCHAR

提单名称

lading_bill_telephone

VARCHAR

提单电话

lading_bill_email

VARCHAR

提单电子邮件

lading_bill_address_line1

VARCHAR

提单地址行1

lading_bill_address_line2

VARCHAR

提单地址行2

lading_bill_address_line3

VARCHAR

提单地址行3

lading_bill_city

VARCHAR

提单城市

lading_bill_county

VARCHAR

提单省/郡

lading_bill_post_code

VARCHAR

提单邮编

lading_bill_country_iso

CHAR(2)

提单国家

settle_time

time

 结算时间

status

VARCHAR

状态

is_dynamic_warehouse

bool

是否动态仓

primary_keys

VARCHAR

主键

请求描述:
(以下为折叠内容,签署合同时以下信息无需参考,仅供第三方对接参考)

Expand
title(以下为折叠内容,签署合同时以下信息无需参考,仅供第三方对接参考)

请求描述:
温馨提示:
有无效请请求参数,默认显示所有站点信息。
Python_requests请求格式:H请求格式:

import requests import time url = "http://test.birdsystem.com
Code Block
languagepy
json
GET /client/public/company-list"
payload={}
headers = {
  'Cookie': 'PHPSESSID=iunfg3velvm9tl67t3mg182lg4'
}
response = requests.request("GET", url, headers=headers, data=payload)
print("url:","\n",response.url)
print("text:","\n",response.text)

Json格式返回结果

Code Block
languagejson
{
    "total": 18,
    "data": [
        {
            "country_name": null,
            "return_country_name": null,
            "site_id": null,
            "id": 1,
            "name": "Fulfilment (Gibraltar) Ltd",
            "site_name": "1",
            "email": null,
            "telephone": null,
            "address_line1": null,
            "address_line2": null,
            "address_line3": null,
            "city": null,
            "county": null,
            "post_code": null,
            "country_iso": "GB",
            "return_name": null,
            "return_address_line1": null,
            "return_address_line2": null,
            "return_address_line3": null,
            "return_city": null,
            "return_county": null,
            "return_post_code": null,
            "return_country_iso": null,
            "lading_bill_name": null,
            "lading_bill_telephone": null,
            "lading_bill_email": null,
            "lading_bill_address_line1": null,
            "lading_bill_address_line2": null,
            "lading_bill_address_line3": null,
            "lading_bill_city": null,
            "lading_bill_county": null,
            "lading_bill_post_code": null,
            "lading_bill_country_iso": null,
            "settle_time": null,
            "status": null,
            "is_dynamic_warehouse": null,
            "primary_keys": [
                "id"
            ]
        }, HTTP/1.1
Host: {{Bird_URL}}
Headres:
  api_key: {{api_key}}
  company_id: {{company_id}}
  Cookie: PHPSESSID=3s3nejv43u9bhirsrvq9nge254

Json格式返回结果

Code Block
languagejson
{
    "total": 17,
    "data": [
        {
            "country_name": null,
            "return_country_name": null,
            "site_id": null,
            "id": 111,
            "name": "FN INTLFulfilment (Gibraltar) Ltd",
            "site_name": "111",
            "email": null,
            "telephone": null,
            "address_line1": null,
            "address_line2": null,
            "address_line3": null,
            "city": null,
            "county": null,
            "post_code": null,
            "country_iso": "CNGB",
            "return_name": null,
            "return_address_line1": null,
            "return_address_line2": null,
            "return_address_line3": null,
            "return_city": null,
            "return_county": null,
            "return_post_code": null,
            "return_country_iso": null,
            "lading_bill_name": null,
            "lading_bill_telephone": null,
            "lading_bill_email": null,
            "lading_bill_address_line1": null,
            "lading_bill_address_line2": null,
            "lading_bill_address_line3": null,
            "lading_bill_city": null,
            "lading_bill_county": null,
            "lading_bill_post_code": null,
            "lading_bill_country_iso": null,
            "settle_time": null,
            "status": null,
            "is_dynamic_warehouse": null,
            "primary_keys": [
                "id"
            ]
        },
        {
            "country_name": null,
            "return_country_name": null,
            "site_id": null,
            "id": 1211,
            "name": "FISEFN Services GmbHINTL",
            "site_name": "1211",
            "email": null,
            "telephone": null,
            "address_line1": null,
            "address_line2": null,
            "address_line3": null,
            "city": null,
            "county": null,
            "post_code": null,
            "country_iso": "DECN",
            "return_name": null,
            "return_address_line1": null,
            "return_address_line2": null,
            "return_address_line3": null,
            "return_city": null,
            "return_county": null,
            "return_post_code": null,
            "return_country_iso": null,
            "lading_bill_name": null,
            "lading_bill_telephone": null,
            "lading_bill_email": null,
            "lading_bill_address_line1": null,
            "lading_bill_address_line2": null,
            "lading_bill_address_line3": null,
            "lading_bill_city": null,
            "lading_bill_county": null,
            "lading_bill_post_code": null,
            "lading_bill_country_iso": null,
            "settle_time": null,
            "status": null,
            "is_dynamic_warehouse": null,
            "primary_keys": [
                "id"
            ]
        },
        {
            "country_name": null,
            "return_country_name": null,
            "site_id": null,
            "id": 1712,
            "name": "BirdsystemFISE Services USA2GmbH",
            "site_name": "1712",
            "email": null,
            "telephone": null,
            "address_line1": null,
            "address_line2": null,
            "address_line3": null,
            "city": null,
            "county": null,
            "post_code": null,
            "country_iso": "USDE",
            "return_name": null,
            "return_address_line1": null,
            "return_address_line2": null,
            "return_address_line3": null,
            "return_city": null,
            "return_county": null,
            "return_post_code": null,
            "return_country_iso": null,
            "lading_bill_name": null,
            "lading_bill_telephone": null,
            "lading_bill_email": null,
            "lading_bill_address_line1": null,
            "lading_bill_address_line2": null,
            "lading_bill_address_line3": null,
            "lading_bill_city": null,
            "lading_bill_county": null,
            "lading_bill_post_code": null,
            "lading_bill_country_iso": null,
            "settle_time": null,
            "status": null,
            "is_dynamic_warehouse": null,
            "primary_keys": [
                "id"
            ]
        },
        {
            "country_name": null,
            "return_country_name": null,
            "site_id": null,
            "id": 1817,
            "name": "COLISIOBirdsystem USA2",
            "site_name": "1817",
            "email": null,
            "telephone": null,
            "address_line1": null,
            "address_line2": null,
            "address_line3": null,
            "city": null,
            "county": null,
            "post_code": null,
            "country_iso": "FRUS",
            "return_name": null,
            "return_address_line1": null,
            "return_address_line2": null,
            "return_address_line3": null,
            "return_city": null,
            "return_county": null,
            "return_post_code": null,
            "return_country_iso": null,
            "lading_bill_name": null,
            "lading_bill_telephone": null,
            "lading_bill_email": null,
            "lading_bill_address_line1": null,
            "lading_bill_address_line2": null,
            "lading_bill_address_line3": null,
            "lading_bill_city": null,
            "lading_bill_county": null,
            "lading_bill_post_code": null,
            "lading_bill_country_iso": null,
            "settle_time": null,
            "status": null,
            "is_dynamic_warehouse": null,
            "primary_keys": [
                "id"
            ]
        },
        {
            "country_name": null,
            "return_country_name": null,
            "site_id": null,
            "id": 1918,
            "name": "Fulfilment (Gibraltar) LtdCOLISIO",
            "site_name": "1918",
            "email": null,
            "telephone": null,
            "address_line1": null,
            "address_line2": null,
            "address_line3": null,
            "city": null,
            "county": null,
            "post_code": null,
            "country_iso": "GBFR",
            "return_name": null,
            "return_address_line1": null,
            "return_address_line2": null,
            "return_address_line3": null,
            "return_city": null,
            "return_county": null,
            "return_post_code": null,
            "return_country_iso": null,
            "lading_bill_name": null,
            "lading_bill_telephone": null,
            "lading_bill_email": null,
            "lading_bill_address_line1": null,
            "lading_bill_address_line2": null,
            "lading_bill_address_line3": null,
            "lading_bill_city": null,
            "lading_bill_county": null,
            "lading_bill_post_code": null,
            "lading_bill_country_iso": null,
            "settle_time": null,
            "status": null,
            "is_dynamic_warehouse": null,
            "primary_keys": [
                "id"
            ]
        },
        {
            "country_name": null,
            "return_country_name": null,
            "site_id": null,
            "id": 2019,
            "name": "Fulfilment (Gibraltar) Ltd",
            "site_name": "2019",
            "email": null,
            "telephone": null,
            "address_line1": null,
            "address_line2": null,
            "address_line3": null,
            "city": null,
            "county": null,
            "post_code": null,
            "country_iso": "GB",
            "return_name": null,
            "return_address_line1": null,
            "return_address_line2": null,
            "return_address_line3": null,
            "return_city": null,
            "return_county": null,
            "return_post_code": null,
            "return_country_iso": null,
            "lading_bill_name": null,
            "lading_bill_telephone": null,
            "lading_bill_email": null,
            "lading_bill_address_line1": null,
            "lading_bill_address_line2": null,
            "lading_bill_address_line3": null,
            "lading_bill_city": null,
            "lading_bill_county": null,
            "lading_bill_post_code": null,
            "lading_bill_country_iso": null,
            "settle_time": null,
            "status": null,
            "is_dynamic_warehouse": null,
            "primary_keys": [
                "id"
            ]
        },
        {
            "country_name": null,
            "return_country_name": null,
            "site_id": null,
            "id": 2620,
            "name": "Fulfilment (Gibraltar) Ltd",
            "site_name": "2620",
            "email": null,
            "telephone": null,
            "address_line1": null,
            "address_line2": null,
            "address_line3": null,
            "city": null,
            "county": null,
            "post_code": null,
            "country_iso": "GB",
            "return_name": null,
            "return_address_line1": null,
            "return_address_line2": null,
            "return_address_line3": null,
            "return_city": null,
            "return_county": null,
            "return_post_code": null,
            "return_country_iso": null,
            "lading_bill_name": null,
            "lading_bill_telephone": null,
            "lading_bill_email": null,
            "lading_bill_address_line1": null,
            "lading_bill_address_line2": null,
            "lading_bill_address_line3": null,
            "lading_bill_city": null,
            "lading_bill_county": null,
            "lading_bill_post_code": null,
            "lading_bill_country_iso": null,
            "settle_time": null,
            "status": null,
            "is_dynamic_warehouse": null,
            "primary_keys": [
                "id"
            ]
        },
        {
            "country_name": null,
            "return_country_name": null,
            "site_id": null,
            "id": 3526,
            "name": "ECDC": "Fulfilment (Gibraltar) Ltd",
            "site_name": "3526",
            "email": null,
            "telephone": null,
            "address_line1": null,
            "address_line2": null,
            "address_line3": null,
            "city": null,
            "county": null,
            "post_code": null,
            "country_iso": "BEGB",
            "return_name": null,
            "return_address_line1": null,
            "return_address_line2": null,
            "return_address_line3": null,
            "return_city": null,
            "return_county": null,
            "return_post_code": null,
            "return_country_iso": null,
            "lading_bill_name": null,
            "lading_bill_telephone": null,
            "lading_bill_email": null,
            "lading_bill_address_line1": null,
            "lading_bill_address_line2": null,
            "lading_bill_address_line3": null,
            "lading_bill_city": null,
            "lading_bill_county": null,
            "lading_bill_post_code": null,
            "lading_bill_country_iso": null,
            "settle_time": null,
            "status": null,
            "is_dynamic_warehouse": null,
            "primary_keys": [
                "id"
            ]
        },
        {
            "country_name": null,
            "return_country_name": null,
            "site_id": null,
            "id": 3635,
            "name": "FN INTLECDC",
            "site_name": "3635",
            "email": null,
            "telephone": null,
            "address_line1": null,
            "address_line2": null,
            "address_line3": null,
            "city": null,
            "county": null,
            "post_code": null,
            "country_iso": "CNBE",
            "return_name": null,
            "return_address_line1": null,
            "return_address_line2": null,
            "return_address_line3": null,
            "return_city": null,
            "return_county": null,
            "return_post_code": null,
            "return_country_iso": null,
            "lading_bill_name": null,
            "lading_bill_telephone": null,
            "lading_bill_email": null,
            "lading_bill_address_line1": null,
            "lading_bill_address_line2": null,
            "lading_bill_address_line3": null,
            "lading_bill_city": null,
            "lading_bill_county": null,
            "lading_bill_post_code": null,
            "lading_bill_country_iso": null,
            "settle_time": null,
            "status": null,
            "is_dynamic_warehouse": null,
            "primary_keys": [
                "id"
            ]
        },
        {
            "country_name": null,
            "return_country_name": null,
            "site_id": null,
            "id": 3936,
            "name": "ECDCFN INTL",
            "site_name": "3936 CN 华南站",
            "email": null,
            "telephone": null,
            "address_line1": null,
            "address_line2": null,
            "address_line3": null,
            "city": null,
            "county": null,
            "post_code": null,
            "country_iso": "BECN",
            "return_name": null,
            "return_address_line1": null,
            "return_address_line2": null,
            "return_address_line3": null,
            "return_city": null,
            "return_county": null,
            "return_post_code": null,
            "return_country_iso": null,
            "lading_bill_name": null,
            "lading_bill_telephone": null,
            "lading_bill_email": null,
            "lading_bill_address_line1": null,
            "lading_bill_address_line2": null,
            "lading_bill_address_line3": null,
            "lading_bill_city": null,
            "lading_bill_county": null,
            "lading_bill_post_code": null,
            "lading_bill_country_iso": null,
            "settle_time": null,
            "status": null,
            "is_dynamic_warehouse": null,
            "primary_keys": [
                "id"
            ]
        },
        {
            "country_name": null,
            "return_country_name": null,
            "site_id": null,
            "id": 4439,
            "name": "共享站ECDC",
            "site_name": "4439",
            "email": null,
            "telephone": null,
            "address_line1": null,
            "address_line2": null,
            "address_line3": null,
            "city": null,
            "county": null,
            "post_code": null,
            "country_iso": "CNBE",
            "return_name": null,
            "return_address_line1": null,
            "return_address_line2": null,
            "return_address_line3": null,
            "return_city": null,
            "return_county": null,
            "return_post_code": null,
            "return_country_iso": null,
            "lading_bill_name": null,
            "lading_bill_telephone": null,
            "lading_bill_email": null,
            "lading_bill_address_line1": null,
            "lading_bill_address_line2": null,
            "lading_bill_address_line3": null,
            "lading_bill_city": null,
            "lading_bill_county": null,
            "lading_bill_post_code": null,
            "lading_bill_country_iso": null,
            "settle_time": null,
            "status": null,
            "is_dynamic_warehouse": null,
            "primary_keys": [
                "id"
            ]
        },
        {
            "country_name": null,
            "return_country_name": null,
            "site_id": null,
            "id": 5444,
            "name": "FISE Services GmbH共享站",
            "site_name": "5444",
            "email": null,
            "telephone": null,
            "address_line1": null,
            "address_line2": null,
            "address_line3": null,
            "city": null,
            "county": null,
            "post_code": null,
            "country_iso": "DECN",
            "return_name": null,
            "return_address_line1": null,
            "return_address_line2": null,
            "return_address_line3": null,
            "return_city": null,
            "return_county": null,
            "return_post_code": null,
            "return_country_iso": null,
            "lading_bill_name": null,
            "lading_bill_telephone": null,
            "lading_bill_email": null,
            "lading_bill_address_line1": null,
            "lading_bill_address_line2": null,
            "lading_bill_address_line3": null,
            "lading_bill_city": null,
            "lading_bill_county": null,
            "lading_bill_post_code": null,
            "lading_bill_country_iso": null,
            "settle_time": null,
            "status": null,
            "is_dynamic_warehouse": null,
            "primary_keys": [
                "id"
            ]
        },
        {
            "country_name": null,
            "return_country_name": null,
            "site_id": null,
            "id": 5554,
            "name": "FNFISE Services INTLGmbH",
            "site_name": "5554",
            "email": null,
            "telephone": null,
            "address_line1": null,
            "address_line2": null,
            "address_line3": null,
            "city": null,
            "county": null,
            "post_code": null,
            "country_iso": "CNDE",
            "return_name": null,
            "return_address_line1": null,
            "return_address_line2": null,
            "return_address_line3": null,
            "return_city": null,
            "return_county": null,
            "return_post_code": null,
            "return_country_iso": null,
            "lading_bill_name": null,
            "lading_bill_telephone": null,
            "lading_bill_email": null,
            "lading_bill_address_line1": null,
            "lading_bill_address_line2": null,
            "lading_bill_address_line3": null,
            "lading_bill_city": null,
            "lading_bill_county": null,
            "lading_bill_post_code": null,
            "lading_bill_country_iso": null,
            "settle_time": null,
            "status": null,
            "is_dynamic_warehouse": null,
            "primary_keys": [
                "id"
            ]
        },
        {
            "country_name": null,
            "return_country_name": null,
            "site_id": null,
            "id": 5655,
            "name": "Fulfilment (Gibraltar) LtdFN INTL",
            "site_name": "5655",
            "email": null,
            "telephone": null,
            "address_line1": null,
            "address_line2": null,
            "address_line3": null,
            "city": null,
            "county": null,
            "post_code": null,
            "country_iso": "GBCN",
            "return_name": null,
            "return_address_line1": null,
            "return_address_line2": null,
            "return_address_line3": null,
            "return_city": null,
            "return_county": null,
            "return_post_code": null,
            "return_country_iso": null,
            "lading_bill_name": null,
            "lading_bill_telephone": null,
            "lading_bill_email": null,
            "lading_bill_address_line1": null,
            "lading_bill_address_line2": null,
            "lading_bill_address_line3": null,
            "lading_bill_city": null,
            "lading_bill_county": null,
            "lading_bill_post_code": null,
            "lading_bill_country_iso": null,
            "settle_time": null,
            "status": null,
            "is_dynamic_warehouse": null,
            "primary_keys": [
                "id"
            ]
        },
        {
            "country_name": null,
            "return_country_name": null,
            "site_id": null,
            "id": 256,
            "name": "INPRIMEFulfilment LOGISTICS MGMT LTD(Gibraltar) Ltd",
            "site_name": "CN 深圳站56",
            "email": null,
            "telephone": null,
            "address_line1": null,
            "address_line2": null,
            "address_line3": null,
            "city": null,
            "county": null,
            "post_code": null,
            "country_iso": "GB",
            "return_name": null,
            "return_address_line1": null,
            "return_address_line2": null,
            "return_address_line3": null,
            "return_city": null,
            "return_county": null,
            "return_post_code": null,
            "return_country_iso": null,
            "lading_bill_name": null,
            "lading_bill_telephone": null,
            "lading_bill_email": null,
            "lading_bill_address_line1": null,
            "lading_bill_address_line2": null,
            "lading_bill_address_line3": null,
            "lading_bill_city": null,
            "lading_bill_county": null,
            "lading_bill_post_code": null,
            "lading_bill_country_iso": null,
            "settle_time": null,
            "status": null,
            "is_dynamic_warehouse": null,
            "primary_keys": [
                "id"
            ]
        },
        {
            "country_name": null,
            "return_country_name": null,
            "site_id": null,
            "id": 32,
            "name": "Falcon e-Fulfillment GmbHINPRIME LOGISTICS MGMT LTD",
            "site_name": "DECN 德国站深圳站",
            "email": null,
            "telephone": null,
            "address_line1": null,
            "address_line2": null,
            "address_line3": null,
            "city": null,
            "county": null,
            "post_code": null,
            "country_iso": "DECN",
            "return_name": null,
            "return_address_line1": null,
            "return_address_line2": null,
            "return_address_line3": null,
            "return_city": null,
            "return_county": null,
            "return_post_code": null,
            "return_country_iso": null,
            "lading_bill_name": null,
            "lading_bill_telephone": null,
            "lading_bill_email": null,
            "lading_bill_address_line1": null,
            "lading_bill_address_line2": null,
            "lading_bill_address_line3": null,
            "lading_bill_city": null,
            "lading_bill_county": null,
            "lading_bill_post_code": null,
            "lading_bill_country_iso": null,
            "settle_time": null,
            "status": null,
            "is_dynamic_warehouse": null,
            "primary_keys": [
                "id"
            ]
        },
        {
            "country_name": null,
            "return_country_name": null,
            "site_id": null,
            "id": 613,
            "name": "etsFalcon e-Fulfillment GmbH",
            "site_name": "testDE 德国站",
            "email": null,
            "telephone": null,
            "address_line1": null,
            "address_line2": null,
            "address_line3": null,
            "city": null,
            "county": null,
            "post_code": null,
            "country_iso": "GBDE",
            "return_name": null,
            "return_address_line1": null,
            "return_address_line2": null,
            "return_address_line3": null,
            "return_city": null,
            "return_county": null,
            "return_post_code": null,
            "return_country_iso": null,
            "lading_bill_name": null,
            "lading_bill_telephone": null,
            "lading_bill_email": null,
            "lading_bill_address_line1": null,
            "lading_bill_address_line2": null,
            "lading_bill_address_line3": null,
            "lading_bill_city": null,
            "lading_bill_county": null,
            "lading_bill_post_code": null,
            "lading_bill_country_iso": null,
            "settle_time": null,
            "status": null,
            "is_dynamic_warehouse": null,
            "primary_keys": [
                "id"
            ]
        }
    ],
    "success": true,
    "moduleName": "client"
}

...