Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 945 Bytes

File metadata and controls

50 lines (30 loc) · 945 Bytes

Basics

Most Dataverse API work starts with a few core patterns.

Base Pattern

Typical endpoint shape:

GET /api/data/v9.2/accounts

Retrieve Records

Example:

GET /api/data/v9.2/accounts?$select=name,accountnumber

This returns only the selected columns.

Retrieve a Single Record

GET /api/data/v9.2/accounts(GUID)?$select=name,telephone1

Important Reminder

Use logical names, not display names.

Examples:

  • account
  • contact
  • incident
  • new_customtable

Common Headers

Typical request headers include:

Accept: application/json OData-Version: 4.0 OData-MaxVersion: 4.0 Content-Type: application/json; charset=utf-8

Language Examples

For practical request examples in code, see: