Loading
Salesforce now sends email only from verified domains. Read More
Industries Order Management
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Orchestration Item Definition Request Items Encoding Style

          Orchestration Item Definition Request Items Encoding Style

          In the Orchestration Item Definition screen, choose whether to produce flat or structured JSON for requests.

          An image of the Request Items Encoding Style drop-down menu, showing None, Flat, and Structure.In the Orchestration Item Definition screen, choose which encoding style you want your request to be. You can choose from None, Flat, or Structure.

          The following image shows an example hierarchy:A fulfillment request, showing a main item (Mobile Billing specification) with three items underneath as sub items.

          The fulfillment request example produces the following JSON with a flat encoding style:

          {
              "orderItemsWithAttrs": [
              {
                  "id": "a1f3i000000UcNUAA0",
                  "attrs": {
                      "Billing code": "VLO_MOB_PLAN"
                  }
              },
              {
                  "id": "a1f3i000000UcNVAA0",
                  "attrs": {
                      "Billing code": "VLO_SIM"
                  }
              },
              {
                  "id": "a1f3i000000UcNWAA0",
                  "attrs": {
                      "Billing code": "VLO_RMNG"
                  }
              },
              {
                  "id": "a1f3i000000UcNXAA0",
                  "attrs": {
                      "Call forward no": "+123456789",
                      "Billing code": "VLO_CALL_FWD"
                  }
              }
              ]
          }

          The fulfillment request produces the following JSON with a structured encoding:

          {
              "orderItemsWithAttrs" : [ 
              {
                "id" : "a1f3i000000UcNUAA0",
                "attrs" : {
                    "Billing code" : "VLO_MOB_PLAN"
                },
                "orderItemsWithAttrs" : [ 
                {
                    "id" : "a1f3i000000UcNVAA0",
                    "attrs" : {
                        "Billing code" : "VLO_SIM"
                    }
                }, 
                {
                    "id" : "a1f3i000000UcNWAA0",
                    "attrs" : {
                        "Billing code" : "VLO_RMNG"
                    }
                }, 
                {
                    "id" : "a1f3i000000UcNXAA0",
                    "attrs" : {
                        "Call forward no" : "+123456789",
                        "Billing code" : "VLO_CALL_FWD"
                    }
                 } 
                 ]
              } 
              ]
          }'s
           
          Loading
          Salesforce Help | Article