cancel
Showing results for 
Search instead for 
Did you mean: 

Issue Filtering on Incentive Management OData APIs (Kubernetes) PipelineRuns API

Ron_Hagan
Product and Topic Expert
Product and Topic Expert
0 Kudos

I'm trying to execute a GET request to retrieve PipelineRuns from the API in the subject.

In Postman, if I do a straight GET without any filters, I get 10 records back.  There are 147 rows in the CS_PIPELINERUN table for this environment as I've queried the table in WEBIDE.

I would like to be able to filter on the StartTime field of the API but I can't seem to be able to get the syntax correct.  As an example, if I want to retrieve just the one PipelineRun for March 29, 2023 at 19:05:35.480, I've tried this:  cng-pipeline/odata/PipelineRuns?$filter=StartTime eq 2023-03-29T19:05:35.480Z

This still brings back 10 records.  I then tried this (this is the actual value from the table):

cng-pipeline/odata/PipelineRuns?StartTime=2023-03-29 19:05:35.480000000

This also returns 10 records.

My questions are: 1. What is the correct syntax for filtering a PipelineRun using the StartTime?

2.  Is there some sort of limit on the number of records this API will allow to be returned and if so, how do I change/override it with a parameter?

In the documentation for the API, it says the Contact is the Incentive Management API Support Team but I can't seem to find anything about them, much less how to contact them.

I know I'm probably whistling up a tree but I'm really hoping somebody knows the answers to these questions and can help me.

Thanks in advance!

Ron

 

Accepted Solutions (1)

Accepted Solutions (1)

yogananda
Product and Topic Expert
Product and Topic Expert
0 Kudos

@Ron_Hagan report your issue to SAP Support team via ticket and show the screenshot with API response you get

Answers (0)