Skip to content

Commit 735bd8b

Browse files
committed
Acrolinx
1 parent 443a6bd commit 735bd8b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

powerapps-docs/developer/data-platform/webapi/web-api-complex-enum-types.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Web API Complex and Enumeration types (Microsoft Dataverse)| Microsoft Docs"
33
description: "Describes OData Complex and Enumeration types elements defined for the Dataverse Web API."
4-
ms.date: 04/06/2022
4+
ms.date: 08/30/2024
55
author: MicroSri
66
ms.author: sriknair
77
ms.reviewer: jdaly
@@ -15,13 +15,13 @@ contributors:
1515
---
1616
# Web API Complex and Enumeration types
1717

18-
Within the [CSDL $metadata document](web-api-service-documents.md#csdl-metadata-document), you will find `ComplexType` and `EnumType` elements.
18+
Within the [CSDL $metadata document](web-api-service-documents.md#csdl-metadata-document), there are `ComplexType` and `EnumType` elements.
1919

2020
## Complex types
2121

2222
Complex types are keyless named structured types consisting of a set of properties. Complex types are commonly used as property values in table definitions, or as parameters or return values for operations.
2323

24-
For example the <xref:Microsoft.Dynamics.CRM.WhoAmI?text=WhoAmI Function> returns this <xref:Microsoft.Dynamics.CRM.WhoAmIResponse?text=WhoAmIResponse ComplexType>:
24+
For example, the [WhoAmI function](xref:Microsoft.Dynamics.CRM.WhoAmI) returns this [WhoAmIResponse complex type](xref:Microsoft.Dynamics.CRM.WhoAmIResponse):
2525

2626
```xml
2727
<ComplexType Name="WhoAmIResponse">
@@ -35,7 +35,7 @@ For example the <xref:Microsoft.Dynamics.CRM.WhoAmI?text=WhoAmI Function> retur
3535

3636
Enumeration types are named primitive types whose values are named constants with underlying integer values.
3737

38-
For example, the following is the definition of the <xref:Microsoft.Dynamics.CRM.AccessRights?text=AccessRights EnumType>
38+
For example, the following XML node is the definition of the [AccessRights enum type](xref:Microsoft.Dynamics.CRM.AccessRights)
3939

4040
```xml
4141
<EnumType Name="AccessRights">
@@ -51,7 +51,7 @@ For example, the following is the definition of the <xref:Microsoft.Dynamics.CRM
5151
</EnumType>
5252
```
5353

54-
The `AccessRights` enum type is used for the `AccessMask` property of the <xref:Microsoft.Dynamics.CRM.PrincipalAccess?text=PrincipalAccess ComplexType>, which is used to set the `PrincipalAccess` parameter for the <xref:Microsoft.Dynamics.CRM.ModifyAccess?text=ModifyAccess Action>. This is the action used to change the access when sharing a record.
54+
The `AccessRights` enum type is used for the `AccessMask` property of the [PrincipalAccess complex type](xref:Microsoft.Dynamics.CRM.PrincipalAccess), which is used to set the `PrincipalAccess` parameter for the [ModifyAccess action](xref:Microsoft.Dynamics.CRM.ModifyAccess). Use this action to change the access when sharing a record.
5555

5656
The example below grants `ReadAccess`, `WriteAccess`, `DeleteAccess`, `AppendAccess`, and `AssignAccess` access rights to the `account` record specified by the `Target` parameter to the `systemuser` designated by the `Principal` property of the `PrincipalAccess` complex type.
5757

0 commit comments

Comments
 (0)