function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
m0t0k1ch1m0t0k1ch1 

REST API の有効化について

Professional Edition(試用期間)で接続アプリケーションを作成し、OAuth の認証を通して access token の取得までは完了したのですが、取得した access token を用いて API のリクエストを行ったところ、以下のようなレスポンスが返ってきてしまいます。
[
  {
    "message": "The REST API is not enabled for this Organization.",
    "errorCode": "API_DISABLED_FOR_ORG"
  }
]
ドキュメント(http://resources.docs.salesforce.com/200/7/ja-jp/sfdc/pdf/api_rest.pdf)には access token を取得したユーザーに「API の有効化」権限が必要との記載があるのは確認しているのですが、この権限をどうやって付与したらよいのかわかりません。また、Developers Edition のユーザーで取得した access token を用いた場合は、上記のエラーは発生しませんでした。

まとめると、質問は以下です。

- Professional Edition(試用期間)のユーザーに「API の有効化」権限は付与できるのか(付与できるとしたらどうやればよいのか)

よろしくお願い致します。
Best Answer chosen by m0t0k1ch1
Ryosuke KobayashiRyosuke Kobayashi
Professional EditionではAPIは利用できないと思います。
(利用できるのは、Enterprise、Unlimited、DeveloperEdition)

DeveloperEditionは基本的にすべての機能が利用できますので、
契約されるEditionによっては、利用できない機能がある場合がありますので、ご注意ください。

参考URL
https://help.salesforce.com/apex/HTViewSolution?id=000005140&language=ja

All Answers

Ryosuke KobayashiRyosuke Kobayashi
Professional EditionではAPIは利用できないと思います。
(利用できるのは、Enterprise、Unlimited、DeveloperEdition)

DeveloperEditionは基本的にすべての機能が利用できますので、
契約されるEditionによっては、利用できない機能がある場合がありますので、ご注意ください。

参考URL
https://help.salesforce.com/apex/HTViewSolution?id=000005140&language=ja
This was selected as the best answer
m0t0k1ch1m0t0k1ch1
参考 URL 確認させていただきました。
接続アプリケーションの動きは Developer Edition のアカウントで検証していこうと思います。
ご教示ありがとうございます。