You can get quick answer of your question by entering here
How to determine the total number of rows and columns in the seat layout?
The updated API does not include separate tags for total_rows
or total_columns
. However, you can easily calculate them by parsing the seat layout JSON.
Each seat object includes its position like this:
{ "ColumnNo": 2, "RowNo": 4 }
To determine the full layout:
-
Total Rows = Highest
RowNo
+ 1 -
Total Columns = Highest
ColumnNo
+ 1
You can compute these values dynamically using a simple loop or function in your integration technology (JavaScript, PHP, etc.).
This approach allows the API to remain lightweight while giving full control to developers for layout rendering.