New answers tagged

7

Yes. We have taken this approach with our managed package when back-porting features to patches that added new top-level classes in our master branch. Obviously there are limits to what can appear in an inner class compared with a top-level one, but we have avoided such difficulties with minor refactoring.


0

PATCH seems no longer supported. A work around is a POST method with a parameter : _HttpMethod=PATCH So It becomes : https://orga--sandbox.my.salesforce.com/services/data/v47.0/sobjects/Account/{id}?_HttpMethod=PATCH In the Body : { "AdCloud_PartnerID__c":"5400" } Please, upvote is it works for you.


0

Here is a sample of a record update: PATCH /services/data/v47.0/sobjects/Account/001XXXXXXXXXXXX HTTP/1.1 Host: myorg-dev-ed.my.salesforce.com Authorization: Bearer 00DXXXXXXXX Content-Type: application/json { "BillingCity" : "San Francisco" }


Top 50 recent answers are included