daily pastebin goal
70%
SHARE
TWEET

Untitled

a guest Dec 13th, 2018 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.    "compositeRequest":[
  3.       {
  4.          "method":"PATCH",
  5.          "url":"/services/data/v39.0/sobjects/Opportunity/SID_Opportunity_ID__c/SFO-2498",
  6.          "referenceId":"newOpp1",
  7.          "body":{
  8.             "Bid_Number__c":"B889054",
  9.             "Business_Area__c":"M&E",
  10.             "Order_Number__c":null,
  11.             "CloseDate":"2019-01-31",
  12.             "OwnerId":"005D0000001mTR9IA2",
  13.             "AccountId":"001D000000tw39BI0Q",
  14.             "Call_to_Action__c":false,
  15.             "StageName":"Upside",
  16.             "Name":"Some random oppt"
  17.          }
  18.       },
  19.       {
  20.          "method":"PATCH",
  21.          "url":"/services/data/v39.0/sobjects/Quote/SID_Bid_Key__c/JIGS*SALE*B889054",
  22.          "referenceId":"newQuote1",
  23.          "body":{
  24.             "OpportunityId":"006D000000zLj7uIAC",
  25.             "Name":"B889054"
  26.          }
  27.       },
  28.       {
  29.          "method":"PATCH",
  30.          "url":"/services/data/v39.0/sobjects/Quote_Item__c/Quote_Line_Id__c/JIGS*SALE*B889054*1",
  31.          "referenceId":"newQuoteLine1",
  32.          "body":{
  33.             "Item_Line_Id__c":"1",
  34.             "Quote__c":"@{newQuote1.id}",
  35.             "Description__c":"Some description"
  36.          }
  37.       }
  38.    ]
  39. }
  40.    
  41. {
  42.    "compositeResponse":[
  43.       {
  44.          "body":null,
  45.          "httpHeaders":{
  46.  
  47.          },
  48.          "httpStatusCode":204,
  49.          "referenceId":"newOpp1"
  50.       },
  51.       {
  52.          "body":null,
  53.          "httpHeaders":{
  54.  
  55.          },
  56.          "httpStatusCode":204,
  57.          "referenceId":"newQuote1"
  58.       },
  59.       {
  60.          "body":[
  61.             {
  62.                "errorCode":"PROCESSING_HALTED",
  63.                "message":"Invalid reference specified. No value for newQuote1.id found in newQuote1"
  64.             }
  65.          ],
  66.          "httpHeaders":{
  67.  
  68.          },
  69.          "httpStatusCode":400,
  70.          "referenceId":"newQuoteLine1"
  71.       }
  72.    ]
  73. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top