|
To fetch:
|
Method:
|
URI:
|
|
A single record
|
GET
|
<service_root>/<data_source_name>/<entity_singlar_name>('<primary_key_value>')
|
|
Example: https://myserver:8080/api/odata/MySFDataSource/ACCOUNTS('1')
|
||
|
The value of a single field from a single record
|
GET
|
<service_root>/<data_source_name>/<entity_singlar_name>('<primary_key_value>')/<column_name>/$value
|
|
Example: https://myserver:8080/api/odata/MySFDataSource/ACCOUNTS('1')/NAME/$value
|
||
|
A collection of records*
|
GET
|
<service_root>/<data_source_name>/<entity_plural_name>
|
|
Example: https://myserver:8080/api/odata/MySFDataSource/ACCOUNTS
|
||
|
A count of the records in a collection
|
GET
|
<service_root>/<data_source_name>/<entity_plural_name>/$count
|
|
Example: https://myserver:8080/api/odata/MySFDataSource/ACCOUNTS/$count
|
||