API 開発者ガイド
なんか問題がある?心配しないで、答えは全部ここにいる。
全サイト検索

Callback Function (JSONP)

Adding a callback function parameter will enclose the returned JSON object as a argument in a call to the callback function specified by you. This is especially useful when you're accessing our API using Javascript, you may need this to do cross domain ajax calls.

For example, adding callback=testFunc as below:

curl --get -d "callback=testFunc" \
-H "Authorization:Basic YOUR_API_KEY_GOES_HERE" \
-d api \
https://www.ragic.com/demo/sales/1

Will enclose the returned JSON object in a function call so you can process the returned data in your callback function:

testFunc({"17": {

"Account Name": "Dunder Mifflin",

"Account Owner": "Jim Halpert",

"Phone": "1-267-922-5599",

 ...

 ...

});

Ragic にフィードバックを送る

What would you like to tell us?(必須・複数選択可)

Please provide detailed explanations for the selected items above:

Screenshots to help us better understand your feedback:

貴重なご意見をありがとうございます!

無料でRagicを始める

Googleアカウントに登録

Ragic 株式会社
1-888-666-8037
info@ragic.com
利用規約 | プライバシーポリシー