Table-based Resource GET Method Order of Response Items
search cancel

Table-based Resource GET Method Order of Response Items

book

Article ID: 132623

calendar_today

Updated On:

Products

CA Live API Creator

Issue/Introduction



When obtaining table data with the GET method of Table-based Resource, the output order of response items may be different from the column definition order of the table.
In what order are the response items output?

for example:
(Table)
Column definition order: col A, col B, col C, col D, col E
Primary Key: col A, col D

(Response)
Output order: col A,  col D, col B, col C, col E

Environment

Release:
Component: APILAC

Resolution

The output order of LAC response items is as follows.
First, the primary key column is output.
The remaining columns are output in the order of table definition.