0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【Kintone】組織エクスポートAPI

Posted at

cybozu developer network/組織エクスポート API(JSON)
https://developer.cybozu.io/hc/ja/articles/202124754#step2

Web便利ツール@ツールタロウ
https://tool-taro.com/base64_encode/

(() => {
  'use strict';

  kintone.events.on('app.record.detail.show',(event) => {

    const url ='https://{sub-domain}.cybozu.com/v1/organizations.json';
    const headers = {
      'X-Cybozu-Authorization': '{ID:PASS}',  //Encording with BASE64
    };
    const data = {};

    kintone.proxy(url, 'GET', headers, data, function(resp){
      console.log(resp);
    }, function(resp){
      const errmsg = 'エラーが発生しました';
      if (resp.message !== undefined){
        errmsg += '\n' + resp.message;
      }
    })
  });
})();
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?