Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejson
{
  "sf": [
    {
      "attributes": {
        "type": "<Object API Name>",
        "url": "<Instance URL>"
      },
      "Id": "<Instance Salesforce Id>",
      "<Object Standard Field 1>": "<Instance field value>",
      "<Object Standard Field N>": "<Instance field value>",
      "<Object Custom Field 1>": "<Instance field value>",
      "<Object Custom Field N>": "<Instance field value>",
      "<Related Object 1 API Name 1>Name>": {
        "totalSize": "<Number of records>",
        "done": true,
        "records": [
          {
            "attributes": {
              "type": "<Related Object 1 API Name>",
              "url": "<Related Instance 1 URL>"
            },
            "Id": "<Related Instance 1 Salesforce Id>",
            "<Object Standard Field 1>": "<Related Instance 1 field value>",
            "<Object Standard Field N>": "<Related Instance 1 field value>",
            "<Object Custom Field 1>": "<Related Instance 1 field value>",
            "<Object Custom Field N>": "<Related Instance 1 field value>",
            "<Related Object 1.1 API Name 1.1>Name>": {
              "totalSize": "<Number of records>",
              "done": true,
              "records": [
                {
                  "attributes": {
                    "type": "<Related Object 1.1 API Name>",
                    "url": "<Related Instance 1.1 URL>"
                  },
                  "Id": "<Related Instance 1.1 Salesforce Id>",
                  "<Object Standard Field 1>": "<Related Instance 1.1 field value>",
                  "<Object Standard Field N>": "<Related Instance 1.1 field value>",
                  "<Object Custom Field 1>": "<Related Instance 1.1 field value>",
                  "<Object Custom Field N>": "<Related Instance 1.1 field value>"
                }
              ]
            },
            "<Related Object 1.N API Name 1.N>Name>": {
              "totalSize": "<Number of records>",
              "done": true,
              "records": [
                {
                  "attributes": {
                    "type": "<Related Object 1.N API Name>",
                    "url": "<Related Instance 1.N URL>"
                  },
                  "Id": "<Related Instance 1.N  Salesforce Id>",
                  "<Object Standard Field 1>": "<Related Instance 1.N field value>",
                  "<Object Standard Field N>": "<Related Instance 1.N field value>",
                  "<Object Custom Field 1>": "<Related Instance 1.N field value>",
                  "<Object Custom Field N>": "<Related Instance 1.N field value>"
                }
              ]
            }
          }
        ]
      },
      "<Related Object N API Name N>Name>": {
        "totalSize": "<Number of records>",
        "done": true,
        "records": [
          {
            "attributes": {
              "type": "<Related Object N API Name>",
              "url": "<Related Instance N URL>"
            },
            "Id": "<Related Instance N Salesforce Id>",
            "<Object Standard Field 1>": "<Related Instance N field value>",
            "<Object Standard Field N>": "<Related Instance N field value>",
            "<Object Custom Field 1>": "<Related Instance N field value>",
            "<Object Custom Field N>": "<Related Instance N field value>",
            "<Related Object N.1 API Name N.1>Name>": {
              "totalSize": "<Number of records>",
              "done": true,
              "records": [
                {
                  "attributes": {
                    "type": "<Related Object N.1 API Name>",
                    "url": "<Related Instance N.1 URL>"
                  },
                  "Id": "<Related Instance N.1 Salesforce Id>",
                  "<Object Standard Field 1>": "<Related Instance N.1 field value>",
                  "<Object Standard Field N>": "<Related Instance N.1 field value>",
                  "<Object Custom Field 1>": "<Related Instance N.1 field value>",
                  "<Object Custom Field N>": "<Related Instance N.1 field value>"
                }
              ]
            },
            "<Related Object N.N API Name N.N>Name>": {
              "totalSize": "<Number of records>",
              "done": true,
              "records": [
                {
                  "attributes": {
                    "type": "<Related Object N.N API Name>",
                    "url": "<Related Instance N.N URL>"
                  },
                  "Id": "<Related Instance N.N  Salesforce Id>",
                  "<Object Standard Field 1>": "<Related Instance N.N field value>",
                  "<Object Standard Field N>": "<Related Instance N.N field value>",
                  "<Object Custom Field 1>": "<Related Instance N.N field value>",
                  "<Object Custom Field N>": "<Related Instance N.N field value>"
                }
              ]
            }
          }
        ]
      }
    }
  ]
}

...