top of page

Dynamics 365 Quick way to get a record's guid, and what the source data looks like


Often when testing and generating reports it's useful to get the guid of a record. There are lots of ways but the quickest and most reliable is to use the following URL structure calling the dynamics api.


api output

https://servername/organisationname/api/data/v8.2/entitynameplural?$orderby=fieldname&$select=fieldname&$filter=contains(fieldname,'Clayton')

Server name and Organisation name

If on premise https://vs123/prod

if online then https://prod.crm11.dynamics.com

V8.2

Can be v8.2 or v9.0 depending on version

Entitynameplural

Name of entity with an s on the end of

$Orderby

Order of the data

Fieldname

name of field

Select

Fields you want to return if not set all fields are returned

Filter

Example could be contains(Fieldname,'Value')

Example 1

https://bsmt.crm4.dynamics.com/api/data/v9.0/bsmt_invoiceitems?$orderby=bsmt_name&$select=bsmt_name


api output

Other Examples

https://bsmt.crm4.dynamics.com/api/data/v9.0/bsmt_invoiceitems?$orderby=bsmt_name&$select=bsmt_name,bsmt_externalemployee&$filter=contains(bsmt_name,'Clayton')

Microsoft Reference

Featured Posts
Recent Posts
Archive
Search By Tags
No tags yet.
Follow Us
  • Facebook Basic Square
  • Twitter Basic Square
  • Google+ Basic Square
bottom of page