This query will provide a list of a grid field’s definition for a particular Grid ID. It can be used after you obtain the grid ID from the BEWSGR query result. In our example, we will obtain the fields for Grid ID 840, which was obtained from the A.1 XML response:
<ROW id="3">
<D n="3565">826</D>
<D n="3586">+</D>
<D n="3597">R5</D>
<D n="3598">SD</D>
<D n="3619">Grid Field List</D>
<D n="3620">840</D>
<D n="3622">BEWSGF</D>
<D n="3637">+</D>
<D n="3638">2</D><D n="3763">BEWSGF</D>
</ROW>