天天看點

has offers 文檔翻譯 入門品牌API Getting Started with the Brand API

為了使用該api,您的網絡必須是對企業定價計劃或專用的解決方案。

所有的請求都需要一個api密鑰,這是一個随機生成的字元串獨特到您的網絡。

使請求的ip位址必須被送出到白名單的api通路已。

此外,所有的請求需要您的網絡id。

api密鑰可以從應用程式中建立:

登入到應用程式,并懸停在導航欄的支援頁籤,然後單擊從下拉清單中選擇“api”連結。

如果你不已經有一個api密鑰将有導航欄下方的通知的連結來建立一個。

一旦你建立了一個,頁面會顯示您的私有api密鑰。它會以字母“net”。

您也可以向您的客戶經理有關建立和擷取您的api密鑰

白名單的ip位址可以從應用程式中加入:

将滑鼠懸停在導航欄的支援頁籤,然後單擊從下拉清單api連結。

這裡将是你的api密鑰送出的ip位址白名單下的一個盒子。

網絡被限制在50 api調用每10秒。如果您需要更高的限制,請聯系您的客戶經理。

您的網絡的api密鑰和網絡id用于認證通過api請求。每個api請求必須有一個有效的api密鑰和網絡id組合。當進行api請求,用于你的api key值networktoken參數,并為您的網絡id networkid參數。

網絡id是示範

api密鑰是 netabc123

報價id是42

請求url:

sample response:

in order to use the api, your network must be on the enterprise pricing plan or a dedicated solution.

all requests require an api key, which is a randomly generated string unique to your network.

ip address making request must have been submitted to the white-list for api access.

additionally, all requests require your network id.

api keys can be created from within the application:

log into the application and hover over the support tab in the navigation bar, and click on the "api" link from the drop-down.

if you don't already have an api key there will be a notice underneath the navigation bar with a link to create one.

once you've created one, the page will display your private api key. it will begin with the letters 'net'.

you can also talk to your account manager about creating and obtaining your api key

white-listing an ip address can be added from within the application:

hover over the support tab in the navigation bar and click on the api link from the drop-down.

there will be a box underneath your api key to submit an ip address to whitelist.

networks are limited to 50 api calls every 10 seconds. if you require a higher limit, please contact your account manager.

your network's api key and network id are used to authenticate requests through the api. every api request must have a valid api key and network id combination. when making an api request, use your api key value for the networktoken parameter, and

your network id for the networkid parameter.

network id is demo

api key is netabc123

offer id is 42

request url: