Skip to content

Commit 7509389

Browse files
authored
Merge pull request #10227 from MicrosoftDocs/ODataQuery
break up Web API query article
2 parents ee93ef4 + 40e09ce commit 7509389

File tree

57 files changed

+2264
-1767
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+2264
-1767
lines changed

.openpublishing.redirection.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,45 @@
11
{
22
"redirections": [
3+
{
4+
"source_path": "powerapps-docs/developer/data-platform/webapi/query-data-web-api.md",
5+
"redirect_url": "query/overview",
6+
"redirect_document_id": "false"
7+
},
8+
{
9+
"source_path": "powerapps-docs/developer/data-platform/webapi/query-data-web-api.md#select-columns",
10+
"redirect_url": "query/select-columns",
11+
"redirect_document_id": "false"
12+
},
13+
{
14+
"source_path": "powerapps-docs/developer/data-platform/webapi/query-data-web-api.md#join-tables",
15+
"redirect_url": "query/join-tables",
16+
"redirect_document_id": "false"
17+
},
18+
{
19+
"source_path": "powerapps-docs/developer/data-platform/webapi/query-data-web-api.md#order-rows",
20+
"redirect_url": "query/order-rows",
21+
"redirect_document_id": "false"
22+
},
23+
{
24+
"source_path": "powerapps-docs/developer/data-platform/webapi/query-data-web-api.md#filter-rows",
25+
"redirect_url": "query/filter-rows",
26+
"redirect_document_id": "false"
27+
},
28+
{
29+
"source_path": "powerapps-docs/developer/data-platform/webapi/query-data-web-api.md#page-results",
30+
"redirect_url": "query/page-results",
31+
"redirect_document_id": "false"
32+
},
33+
{
34+
"source_path": "powerapps-docs/developer/data-platform/webapi/query-data-web-api.md#aggregate-data",
35+
"redirect_url": "query/aggregate-data",
36+
"redirect_document_id": "false"
37+
},
38+
{
39+
"source_path": "powerapps-docs/developer/data-platform/webapi/query-data-web-api.md#count-number-of-rows",
40+
"redirect_url": "query/count-rows",
41+
"redirect_document_id": "false"
42+
},
343
{
444
"source_path": "powerapps-docs/developer/data-platform/bypass-custom-business-logic.md#bypass-power-automate-flows",
545
"redirect_url": "bypass-power-automate-flows",

powerapps-docs/developer/component-framework/implementing-controls-using-typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ Follow these steps to create and import a [solution](../../maker/data-platform/s
902902
>
903903
> `[Environment URI]/api/data/v9.2/publishers?$select=uniquename,customizationprefix`
904904
>
905-
> More information: [Query data using the Web API](../data-platform/webapi/query-data-web-api.md)
905+
> More information: [Query data using the Web API](../data-platform/webapi/query/overview.md)
906906

907907

908908

powerapps-docs/developer/data-platform/asynchronous-service.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ You can use the following examples to retrieve System Job data.
9292

9393
#### [Web API](#tab/webapi)
9494

95-
Use the following Web API Query to retrieve the columns in the table above. [Learn how to query data using the Web API](webapi/query-data-web-api.md)
95+
Use the following Web API Query to retrieve the columns in the table above. [Learn how to query data using the Web API](webapi/query/overview.md
9696

9797
```http
9898
GET <organization URL>/api/data/v9.2/asyncoperations?$top=1000
@@ -291,7 +291,7 @@ OData-Version: 4.0
291291
Prefer: odata.include-annotations="OData.Community.Display.V1.FormattedValue"
292292
```
293293

294-
[Learn how to query data using the Web API](webapi/query-data-web-api.md)
294+
[Learn how to query data using the Web API](webapi/query/overview.md)
295295

296296
#### [FetchXml](#tab/fetchxml)
297297

@@ -356,7 +356,7 @@ OData-Version: 4.0
356356
Prefer: odata.include-annotations="OData.Community.Display.V1.FormattedValue"
357357
```
358358

359-
[Learn to query data using the Web API](webapi/query-data-web-api.md)
359+
[Learn to query data using the Web API](webapi/query/overview.md)
360360

361361
#### [FetchXml](#tab/fetchxml)
362362

@@ -436,7 +436,7 @@ OData-Version: 4.0
436436
Prefer: odata.include-annotations="OData.Community.Display.V1.FormattedValue"
437437
```
438438

439-
[Learn to query Data using the Web API](webapi/query-data-web-api.md)
439+
[Learn to query Data using the Web API](webapi/query/overview.md)
440440

441441
#### [FetchXml](#tab/fetchxml)
442442

@@ -524,7 +524,7 @@ OData-Version: 4.0
524524
Prefer: odata.include-annotations="OData.Community.Display.V1.FormattedValue"
525525
```
526526

527-
[Learn to query Data using the Web API](webapi/query-data-web-api.md)
527+
[Learn to query Data using the Web API](webapi/query/overview.md)
528528

529529
#### [FetchXml](#tab/fetchxml)
530530

@@ -604,7 +604,7 @@ OData-MaxVersion: 4.0
604604
OData-Version: 4.0
605605
```
606606

607-
[Learn to query Data using the Web API](webapi/query-data-web-api.md)
607+
[Learn to query Data using the Web API](webapi/query/overview.md)
608608

609609
#### [FetchXml](#tab/fetchxml)
610610

@@ -657,7 +657,7 @@ OData-MaxVersion: 4.0
657657
OData-Version: 4.0
658658
```
659659

660-
[Learn to query Data using the Web API](webapi/query-data-web-api.md)
660+
[Learn to query Data using the Web API](webapi/query/overview.md)
661661

662662
#### [FetchXml](#tab/fetchxml)
663663

@@ -713,7 +713,7 @@ OData-Version: 4.0
713713
Prefer: odata.include-annotations="OData.Community.Display.V1.FormattedValue"
714714
```
715715

716-
[Learn to query Data using the Web API](webapi/query-data-web-api.md)
716+
[Learn to query Data using the Web API](webapi/query/overview.md)
717717

718718
#### [FetchXml](#tab/fetchxml)
719719

@@ -779,7 +779,7 @@ OData-Version: 4.0
779779
Prefer: odata.include-annotations="OData.Community.Display.V1.FormattedValue"
780780
```
781781

782-
[Learn to query Data using the Web API](webapi/query-data-web-api.md)
782+
[Learn to query Data using the Web API](webapi/query/overview.md)
783783

784784

785785
#### [FetchXml](#tab/fetchxml)

powerapps-docs/developer/data-platform/attachment-annotation-files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,7 @@ OData-Version: 4.0
10401040
}
10411041
```
10421042

1043-
More information: [Query data using the Web API](webapi/query-data-web-api.md)
1043+
More information: [Query data using the Web API](webapi/query/overview.md)
10441044

10451045
---
10461046

powerapps-docs/developer/data-platform/auditing/retrieve-audit-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ Use this message to retrieve the audit details for a single audit record.
424424

425425
# [Web API](#tab/webapi)
426426

427-
<xref:Microsoft.Dynamics.CRM.RetrieveAuditDetails> is a function bound to the audit table. Include the `Prefer: odata.include-annotations="*"` request header to get [formatted values](../webapi/query-data-web-api.md#formatted-values).
427+
<xref:Microsoft.Dynamics.CRM.RetrieveAuditDetails> is a function bound to the audit table. Include the `Prefer: odata.include-annotations="*"` request header to get [formatted values](../webapi/query/select-columns.md#formatted-values).
428428

429429
The following example shows the [AttributeAuditDetail ComplexType](xref:Microsoft.Dynamics.CRM.AttributeAuditDetail) returned when the `parentaccountid` is set on an `account` record.
430430

powerapps-docs/developer/data-platform/bypass-custom-business-logic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ In this case, there's only one: `4ab978b0-1d77-ec11-8d21-000d3a554d57`
225225
}
226226
```
227227

228-
[Learn more about querying data using Web API](webapi/query-data-web-api.md)
228+
[Learn more about querying data using Web API](webapi/query/overview.md)
229229

230230

231231
#### Query your environment with FetchXml

powerapps-docs/developer/data-platform/custom-api-tables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ You can use the following queries to retrieve data about custom APIs.
3838

3939
# [Web API](#tab/webapi)
4040

41-
More information: [Query Data using the Web API](webapi/query-data-web-api.md)
41+
More information: [Query Data using the Web API](webapi/query/overview.md)
4242

4343
```http
4444
GET [Organization URI]/api/data/v9.1/customapis?$select=

powerapps-docs/developer/data-platform/fetchxml/count-rows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ When the `returntotalrecordcount` attribute value is `true`, the <xref:Microsoft
3838

3939
## [Web API](#tab/webapi)
4040

41-
Setting the `returntotalrecordcount` attribute value to `true` has the same result as setting the OData `$count` query option. You can append `&$count=true` to your FetchXml query to get the same results. [Learn more about the OData $count query option](../webapi/query-data-web-api.md#count-number-of-rows).
41+
Setting the `returntotalrecordcount` attribute value to `true` has the same result as setting the OData `$count` query option. You can append `&$count=true` to your FetchXml query to get the same results. [Learn more about the OData $count query option](../webapi/query/count-rows.md).
4242

4343
When you set the `returntotalrecordcount` attribute (or use the `$count` query option) the data returned includes the `@odata.count` annotation with the total number of records that match the filter criteria, up to 5000.
4444

powerapps-docs/developer/data-platform/fetchxml/select-columns.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ These values may not be the user-friendly values you need to display in an appli
163163

164164
- The `accountclassificationcode` choice column returns the integer value.
165165
- The SDK reference to `createdby` must use the [EntityReference.Name property](xref:Microsoft.Xrm.Sdk.EntityReference.Name)
166-
- The Web API returns the `_createdby_value` [Lookup property](../webapi/query-data-web-api.md#lookup-property-data) that has the GUID value for the `createdby` lookup column.
166+
- The Web API returns the `_createdby_value` [Lookup property](../webapi/query/select-columns.md#lookup-property-data) that has the GUID value for the `createdby` lookup column.
167167

168168
To get the user-friendly values you want, you need to access *formatted values* that can be returned by Dataverse.
169169

@@ -358,7 +358,7 @@ static List<string> GetRowValues(List<string> columns, JsonObject record)
358358
Learn more about formatted values:
359359

360360
- [SDK for .NET Query data:Formatted values](../org-service/entity-operations-query-data.md#formatted-values-are-returned-for-some-columns)
361-
- [Web API Query data: Formatted values](../webapi/query-data-web-api.md#formatted-values)
361+
- [Web API Query data: Formatted values](../webapi/query/select-columns.md#formatted-values)
362362

363363

364364
## Column aliases

powerapps-docs/developer/data-platform/files-images-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ OData-Version: 4.0
100100
}
101101
```
102102

103-
More information: [Query data using the Web API](webapi/query-data-web-api.md)
103+
More information: [Query data using the Web API](webapi/query/overview.md)
104104

105105
---
106106

0 commit comments

Comments
 (0)