You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: powerapps-docs/developer/data-platform/webapi/web-api-complex-enum-types.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "Web API Complex and Enumeration types (Microsoft Dataverse)| Microsoft Docs"
3
3
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
5
5
author: MicroSri
6
6
ms.author: sriknair
7
7
ms.reviewer: jdaly
@@ -15,13 +15,13 @@ contributors:
15
15
---
16
16
# Web API Complex and Enumeration types
17
17
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.
19
19
20
20
## Complex types
21
21
22
22
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.
23
23
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):
25
25
26
26
```xml
27
27
<ComplexTypeName="WhoAmIResponse">
@@ -35,7 +35,7 @@ For example the <xref:Microsoft.Dynamics.CRM.WhoAmI?text=WhoAmI Function> retur
35
35
36
36
Enumeration types are named primitive types whose values are named constants with underlying integer values.
37
37
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)
39
39
40
40
```xml
41
41
<EnumTypeName="AccessRights">
@@ -51,7 +51,7 @@ For example, the following is the definition of the <xref:Microsoft.Dynamics.CRM
51
51
</EnumType>
52
52
```
53
53
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.
55
55
56
56
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.
0 commit comments