Get Record with using REST-API(SELECT) Salesforce

[japanese(日本語)]

This is sample for getting record from Salesforce with using REST-API(SELECT).

Get record from User Object.Name with LastUpdated > 2022/3/5 15:03:00(JST).

The “$ACCESS” in the below sample is  a access token that you can get with using this method(Get data from Salesforce using curl Salseforce).

DATE="2020-03-05T15%3A03%3A00%2B09%3A00"
curl -H "Authorization: Bearer $ACCESS" "https://$SERVER/services/data/v50.0/query/?q=SELECT+Name+from+User+where+LastModifiedDate%3E$DATE"

 

Get Name,Fax,Division and Signature.

DATE="2020-03-05T15%3A03%3A00%2B09%3A00"
curl -H "Authorization: Bearer $ACCESS" "https://$SERVER/services/data/v50.0/query/?q=SELECT+NAME%2CFax%2CDivision%2CSignature+from+User+where+LastModifiedDate%3E$DATE"