New answers tagged

0

/services/data/<api version>/query/... is a REST resource for SOQL Query. This resource supports both JSON and XML as payload representations. /services/data/<api version>/ui-api/object-info/... is a User Interface API REST resource for object metadata. UI API REST resources only support JSON as the response format...because their intent is to ...


1

You can use setAttribute to create attribute on XML node. See documentation for XMLNode. Example 1: Dom.Document doc = new Dom.Document(); Dom.Xmlnode rootNode = doc.createRootElement('TestReport', null, null); Dom.Xmlnode childNode = rootNode.addChildElement('detail', null, null); childNode.addTextNode('1.0') ; childNode....


Top 50 recent answers are included