Skip to content

Commit 31a8740

Browse files
committed
Update style
1 parent 6085ffd commit 31a8740

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

articles/data-factory/connector-rest.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -626,19 +626,19 @@ baseUrl/api/now/table/incident?sysparm_limit=1000&sysparm_offset=1000,
626626
baseUrl/api/now/table/incident?sysparm_limit=1000&sysparm_offset=10000
627627
```
628628
629-
**Step 1**: Input `sysparm_offset={offset}` either in **Base URL** or **Relative URL** as shown in the following screenshots:
629+
*Step 1*: Input `sysparm_offset={offset}` either in **Base URL** or **Relative URL** as shown in the following screenshots:
630630
631631
:::image type="content" source="media/connector-rest/pagination-example-1-rest-linked-service-base-url.png" alt-text="Screenshot showing the configuration step 1 to send multiple requests whose variables are in QueryParameters.":::
632632
633633
or
634634
635635
:::image type="content" source="media/connector-rest/pagination-example-1-rest-linked-service-relative-url.png" alt-text="Screenshot showing the configuration step 2 to send multiple requests whose variables are in QueryParameters.":::
636636
637-
**Step 2**: Set **Pagination rules** as either option 1 or option 2:
637+
*Step 2*: Set **Pagination rules** as either option 1 or option 2:
638638
639-
Option1: `"QueryParameters.{offset}" : "RANGE:0:10000:1000"`
639+
- Option1: **"QueryParameters.{offset}" : "RANGE:0:10000:1000"**
640640
641-
Option2: `"AbsoluteUrl.{offset}" : "RANGE:0:10000:1000"`
641+
- Option2: **"AbsoluteUrl.{offset}" : "RANGE:0:10000:1000"**
642642
643643
644644
#### Example 2:Variables in AbsoluteUrl
@@ -653,9 +653,9 @@ BaseUrl/api/now/table/t2
653653
BaseUrl/api/now/table/t100
654654
```
655655
656-
**Step 1**: Input `{id}` either in **Base URL** in the linked service configuration page or **Relative URL** in the dataset connection pane.
656+
*Step 1*: Input `{id}` either in **Base URL** in the linked service configuration page or **Relative URL** in the dataset connection pane.
657657
658-
**Step 2**: Set **Pagination rules** as `"AbsoluteUrl.{id}" :"RANGE:1:100:1"`.
658+
*Step 2*: Set **Pagination rules** as **"AbsoluteUrl.{id}" :"RANGE:1:100:1"**.
659659
660660
661661
#### Example 3:Variables in Headers
@@ -670,9 +670,9 @@ Request 2: Header(id->20)<br/>
670670
......<br/>
671671
Request 100: Header(id->100)<br/>
672672
673-
**Step 1**: Input `{id}` in **Additional headers**.
673+
*Step 1*: Input `{id}` in **Additional headers**.
674674
675-
**Step 2**: Set **Pagination rules** as `"Headers.{id}" : "RARNGE:0:100:10"`.
675+
*Step 2*: Set **Pagination rules** as **"Headers.{id}" : "RARNGE:0:100:10"**.
676676
677677
:::image type="content" source="media/connector-rest/pagination-example-3.png" alt-text="Screenshot showing the configuration steps to send multiple requests whose variables are in Headers.":::
678678
@@ -712,9 +712,9 @@ Data: [
712712
}
713713
```
714714
715-
**Step 1**: Set the range of **Pagination rules** as Example 1 and leave the end of range empty as `"AbsoluteUrl.{offset}": "RANGE:0::1000"`.
715+
*Step 1*: Set the range of **Pagination rules** as Example 1 and leave the end of range empty as **"AbsoluteUrl.{offset}": "RANGE:0::1000"**.
716716
717-
**Step 2**: Set different end condition rules according to different last responses. Six examples are shown below:
717+
*Step 2*: Set different end condition rules according to different last responses. Six examples are shown below:
718718
719719
- **Example 4.1: The pagination will end when the value of the specific node in response is empty**
720720
@@ -725,7 +725,7 @@ Data: [
725725
Data: []
726726
}
727727
```
728-
Set the end condition rule as `"EndCondition:$.data": "Empty"`.
728+
Set the end condition rule as **"EndCondition:$.data": "Empty"**.
729729
730730
:::image type="content" source="media/connector-rest/pagination-example-4-1.png" alt-text="Screenshot showing the EndCondition setting for Example 4.1.":::
731731
@@ -737,7 +737,7 @@ Data: [
737737
{
738738
}
739739
```
740-
Set the end condition rule as `"EndCondition:$.data": "NonExist"`.
740+
Set the end condition rule as **"EndCondition:$.data": "NonExist"**.
741741
742742
:::image type="content" source="media/connector-rest/pagination-example-4-2.png" alt-text="Screenshot showing the EndCondition setting for Example 4.2.":::
743743
@@ -754,7 +754,7 @@ Data: [
754754
Complete: true
755755
}
756756
```
757-
Set the end condition rule as `"EndCondition:$.Complete": "Exist"`.
757+
Set the end condition rule as **"EndCondition:$.Complete": "Exist"**.
758758
759759
:::image type="content" source="media/connector-rest/pagination-example-4-3.png" alt-text="Screenshot showing the EndCondition setting for Example 4.3.":::
760760
@@ -783,7 +783,7 @@ Data: [
783783
Complete: true
784784
}
785785
```
786-
Set the end condition rule as `"EndCondition:$.Complete": "Const:true"`.
786+
Set the end condition rule as **"EndCondition:$.Complete": "Const:true"**.
787787
788788
:::image type="content" source="media/connector-rest/pagination-example-4-4.png" alt-text="Screenshot showing the EndCondition setting for Example 4.4.":::
789789
@@ -793,7 +793,7 @@ Data: [
793793
......<br/>
794794
Last Response header: header(Complete->1)<br/>
795795
796-
Set the end condition rule as `"EndCondition:headers.Complete": "Const:1"`.
796+
Set the end condition rule as **"EndCondition:headers.Complete": "Const:1"**.
797797
798798
:::image type="content" source="media/connector-rest/pagination-example-4-5.png" alt-text="Screenshot showing the EndCondition setting for Example 4.5.":::
799799
@@ -803,7 +803,7 @@ Data: [
803803
......<br/>
804804
Last Response header: header(CompleteTime->20220920)<br/>
805805
806-
Set the end condition rule as `"EndCondition:headers.CompleteTime": "Exist"`.
806+
Set the end condition rule as **"EndCondition:headers.CompleteTime": "Exist"**.
807807
808808
:::image type="content" source="media/connector-rest/pagination-example-4-6.png" alt-text="Screenshot showing the EndCondition setting for Example 4.6.":::
809809
@@ -857,9 +857,9 @@ The last response is:
857857
}
858858
```
859859

860-
**Step 1**: Set **Pagination rules** as `"AbsoluteUrl": "$.paging.next"`.
860+
*Step 1*: Set **Pagination rules** as **"AbsoluteUrl": "$.paging.next"**.
861861

862-
**Step 2**: If `next` in the last response is always same with the last request URL and not empty, endless requests will be sent. The end condition can be used to avoid endless requests. Therefore, set the end condition rule refer to Example 4.1-4.6.
862+
*Step 2*: If `next` in the last response is always same with the last request URL and not empty, endless requests will be sent. The end condition can be used to avoid endless requests. Therefore, set the end condition rule refer to Example 4.1-4.6.
863863

864864
#### Example 6:Set the max request number to avoid endless request
865865

0 commit comments

Comments
 (0)