<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tyoshikawa1106</author_name>
  <author_url>https://blog.hatena.ne.jp/tyoshikawa1106/</author_url>
  <blog_title>tyoshikawa1106のブログ</blog_title>
  <blog_url>https://tyoshikawa1106.hatenablog.com/</blog_url>
  <categories>
    <anon>Salesforce</anon>
    <anon>Force.com</anon>
  </categories>
  <description>Tooling APIとは開発者向けに用意されたAPIです。ApexCodeの情報を取得したりできます。開発者向けドキュメントを見てみるとこんな感じで使いますとサンプルコードが記載されています。 ひとまず実際に動かしてみないとわからないこともあるのでコピペで動くサンプルコードを用意しました。 Apexクラスで動かすためのコードですが、開発者コンソールからも動かすことが可能です。こんな感じでコードを貼り付けて実行します。 デバッグログで正常に実行されたことを確認できると思います。 重要なところとして次の2行の処理でセッションIDを渡し、戻り値をJSON形式に指定しています。 req.setHea…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftyoshikawa1106.hatenablog.com%2Fentry%2F2015%2F02%2F13%2F070000&quot; title=&quot;SFDC：開発者コンソールで試すTooling API - tyoshikawa1106のブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://cdn-ak.f.st-hatena.com/images/fotolife/t/tyoshikawa1106/20150212/20150212160609.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-02-13 07:00:00</published>
  <title>SFDC：開発者コンソールで試すTooling API</title>
  <type>rich</type>
  <url>https://tyoshikawa1106.hatenablog.com/entry/2015/02/13/070000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
