...
de URL → https://www.mooqe.it/dummy-api/incidents?page_number=<hier page number>&page_size=<hier page size>
page number → 1e pagina is 0
pagesize → 1000
Welke stappen dien je in deze situatie te ondernemen:
Ga naar het bewerk scherm van de betreffende bronBewerk het veld URL
Bewerk het veld 'Url'
Code Block | ||
---|---|---|
| ||
page_size = 1000
if 'page_number' not in locals():
page_number = 0
'https://www.mooqe.it/dummy-api/incidents?page_number={page_number}&page_size={page_size}.format(page_number = page_number, page_size = page_size)
|
Bewerk het veld ‘Loop partial result’
Code Block | ||
---|---|---|
| ||
if FlowComponent.StatusCode == 206:
page_number += 1
result = False
else:
result = True
result |