2019-05-01から1ヶ月間の記事一覧

Apex Web サービス

trailhead.salesforce.comクラス2つ作る。 1. class ① 動作する。AccountManager.apex @RestResource(urlMapping='/Accounts/*/contacts') global with sharing class AccountManager { @HttpGet global static Account getAccount(){ RestRequest request …

cURLどうするの?

trailhead.salesforce.comモジュールの中でcURLを使い、REST クライアントを使用することがあった。cURLはうまくできなかった。 ... ... "error" : "invalid_grant", "error_description" : "authentication failure" * Connection #0 to host login.salesfo…

Field is not writeable: Contact.Name

success.salesforce.com FirstName='Mani',LastName='Test'

Apex SOAP コールアウト

trailhead.salesforce.com 1. WSDL からの生成 > 「ParkService」 登録;ParkService.xml 2. class ① 作成 「ParkLocator.apex」 xmlのメソッドを呼び出すApex public class ParkLocator { public static List<String> country(String pCountry){ ParkService.ParksI</string>…