GET Program Name by REST API Tag Type | Community
Skip to main content
Level 5
March 17, 2021
Question

GET Program Name by REST API Tag Type

  • March 17, 2021
  • 1 reply
  • 3881 views

Business use case is to get Program ID details via REST API by using this call https://developers.marketo.com/rest-api/endpoint-reference/asset-endpoint-reference/#!/Programs/getProgramListByTagUsingGET

But need few details regarding below questions

 

1. In response JSON, sequence will be either ascending or descending or in random order or is there way to sort it based on dateTime

 

2. In Marketo, if program created is more than 200 with tag type, then maxReturn value 200 can be managed by offset query

 

Have anyone have done this in their project?

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SanfordWhiteman
Level 10
March 17, 2021

1. The order is indeterminate from the client side.

 

2. Yes? Don't know what your precise question is... offset and maxReturn work together but I wouldn't say they "manage" each other.

Level 5
March 18, 2021

Hi @sanfordwhiteman 

 

When you say offset and maxReturn work together that mean if program is more than 200 lets say 300 program then offset value will be changed from 1 to 2. is it correct?

 

Jay
SanfordWhiteman
Level 10
March 18, 2021

When you say offset and maxReturn work together that mean if program is more than 200 lets say 300 program then offset value will be changed from 1 to 2. is it correct?

 


No, the offset is the count of items, not count of pages. To get the second page with results 201-300, the offset is 201.