IBM Support

getOrderList API only returns 500 records

Troubleshooting


Problem

getOrderList API only returns 500 records

Symptom

PART: API-OM 5.0 SP1 Platform
PRODUCT: Distributed Order Management

The getOrderList API only returns 500 records.

Cause

Resolving The Problem

Workaround:
Try passing MaximumRecords attribute in the input XML. The API will return the number of records sent in this value.

Just one word of caution....if you set your MaximumRecords to a very large number than your output XML is going to be huge if the API returns all of the orders in one call.

We suggest that if you want more that 500 orders then you should call the API in a loop and pass the OrderHeaderKey and OrderHeaderKeyQryType="GT" in the input XML.

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

PRI49242

Product Synonym

[<p><b>]Fact[</b><p>];

Document Information

Modified date:
16 June 2018

UID

swg21549767