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
**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:
630
630
631
631
:::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.":::
632
632
633
633
or
634
634
635
635
:::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.":::
636
636
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:
**Step 1**: Input `{id}` in **Additional headers**.
673
+
*Step 1*: Input `{id}` in **Additional headers**.
674
674
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"**.
676
676
677
677
:::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.":::
678
678
@@ -712,9 +712,9 @@ Data: [
712
712
}
713
713
```
714
714
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"**.
716
716
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:
718
718
719
719
- **Example 4.1: The pagination will end when the value of the specific node in response is empty**
720
720
@@ -725,7 +725,7 @@ Data: [
725
725
Data: []
726
726
}
727
727
```
728
-
Set the end condition rule as `"EndCondition:$.data": "Empty"`.
728
+
Set the end condition rule as **"EndCondition:$.data": "Empty"**.
729
729
730
730
:::image type="content" source="media/connector-rest/pagination-example-4-1.png" alt-text="Screenshot showing the EndCondition setting for Example 4.1.":::
731
731
@@ -737,7 +737,7 @@ Data: [
737
737
{
738
738
}
739
739
```
740
-
Set the end condition rule as `"EndCondition:$.data": "NonExist"`.
740
+
Set the end condition rule as **"EndCondition:$.data": "NonExist"**.
741
741
742
742
:::image type="content" source="media/connector-rest/pagination-example-4-2.png" alt-text="Screenshot showing the EndCondition setting for Example 4.2.":::
743
743
@@ -754,7 +754,7 @@ Data: [
754
754
Complete: true
755
755
}
756
756
```
757
-
Set the end condition rule as `"EndCondition:$.Complete": "Exist"`.
757
+
Set the end condition rule as **"EndCondition:$.Complete": "Exist"**.
758
758
759
759
:::image type="content" source="media/connector-rest/pagination-example-4-3.png" alt-text="Screenshot showing the EndCondition setting for Example 4.3.":::
760
760
@@ -783,7 +783,7 @@ Data: [
783
783
Complete: true
784
784
}
785
785
```
786
-
Set the end condition rule as `"EndCondition:$.Complete": "Const:true"`.
786
+
Set the end condition rule as **"EndCondition:$.Complete": "Const:true"**.
787
787
788
788
:::image type="content" source="media/connector-rest/pagination-example-4-4.png" alt-text="Screenshot showing the EndCondition setting for Example 4.4.":::
789
789
@@ -793,7 +793,7 @@ Data: [
793
793
......<br/>
794
794
Last Response header: header(Complete->1)<br/>
795
795
796
-
Set the end condition rule as `"EndCondition:headers.Complete": "Const:1"`.
796
+
Set the end condition rule as **"EndCondition:headers.Complete": "Const:1"**.
797
797
798
798
:::image type="content" source="media/connector-rest/pagination-example-4-5.png" alt-text="Screenshot showing the EndCondition setting for Example 4.5.":::
799
799
@@ -803,7 +803,7 @@ Data: [
803
803
......<br/>
804
804
Last Response header: header(CompleteTime->20220920)<br/>
805
805
806
-
Set the end condition rule as `"EndCondition:headers.CompleteTime": "Exist"`.
806
+
Set the end condition rule as **"EndCondition:headers.CompleteTime": "Exist"**.
807
807
808
808
:::image type="content" source="media/connector-rest/pagination-example-4-6.png" alt-text="Screenshot showing the EndCondition setting for Example 4.6.":::
809
809
@@ -857,9 +857,9 @@ The last response is:
857
857
}
858
858
```
859
859
860
-
**Step 1**: Set **Pagination rules** as `"AbsoluteUrl": "$.paging.next"`.
860
+
*Step 1*: Set **Pagination rules** as **"AbsoluteUrl": "$.paging.next"**.
861
861
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.
863
863
864
864
#### Example 6:Set the max request number to avoid endless request
0 commit comments