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:
630
630
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":::
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
-
:::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":::
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
637
**Step 2**: Set **Pagination rules** as either option 1 or option 2:
:::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
679
-
#### Example 4:Variables are in AbsoluteUrl/QueryParameters/Headers, the end variable is not pre-defined and the end condition is based on the response.
679
+
#### Example 4:Variables are in AbsoluteUrl/QueryParameters/Headers, the end variable is not pre-defined and the end condition is based on the response
680
680
681
681
This example provides configuration steps to send multiple requests whose variables are in AbsoluteUrl/QueryParameters/Headers but the end variable is not defined. For different responses, different end condition rule settings are shown in Example 4.1-4.6.
682
682
@@ -712,7 +712,7 @@ 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
717
**Step 2**: Set different end condition rules according to different last responses. Six examples are shown below:
718
718
@@ -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,11 +754,11 @@ 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
761
-
- **Example 4.4: The pagination will end when the value of the specific node in response is a user-defined const value.**
761
+
- **Example 4.4: The pagination will end when the value of the specific node in response is a user-defined const value**
762
762
763
763
Last response:
764
764
@@ -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,7 +857,7 @@ 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
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.
0 commit comments