Configure paging in the URL for Web Services connector

Good morning folks,

I am trying to integrate Adobe Creative Cloud using Web Services connector and need more information on how to configure paging. Adobe’s endpoints will accept paging only in the url path. It’s a mandatory parameter (User Access APIs).

I am not sure how this can be configured. I have configured the below in the paging steps:

TERMINATE_IF ($response.lastPage$ ==  true)
$offset$ = $offset$  + 1; with the initial page offset set to 0.

And passed the above variable in the context url users/12345@AdobeOrg/$offset$

Any help would be appreciated. Thank you in advance.

Cheers,
Aparna

Hi @rallabhandiaparna

How about if you try to update the full endpoint instead of only offset variable. Can you please try some thing like this

initial context url → ````v2/usermanagement/users/{orgId}/1

where page number is hardcoded as 1 initially. Then in pagination step you can try like below

TERMINATE_IF ($response.lastPage$ == true)
$offset$ = $offset$ + 1;
$endpoint.fullUrl$  = $application.baseUrl$ + ```
/v2/usermanagement/users/{orgId}/$offset$

May be this could help.

Please let me know if this helps.

Regards
Vikas.

Hello Vikas,

Thank you. It didn’t work. However, the steps I have configured are working. So I will leave it at that.

Thank you for your assistance. Much appreciated.

Cheers,
Aparna

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.