Welcome‎ > ‎Version 3‎ > ‎Broadcast Api (Read Only)‎ > ‎Data Structures‎ > ‎

Broadcast Segment Listing

Data Structure holding either a broadcast offer or a broadcast segment.  It will always contain one or the other.  There will never be a case where both offer and segment are null, or a case where both offer and segment are not null.

Fields:
Field Data Type Nulls Description
offer
broadcast offer
Y
Null if segment is not null.
segment
broadcast segment
Y
Null if offer is not null.
 

Sample JSON Response:
{
    "offer": /*
see broadcast offer */,
    "segment": null
}


or

{
    "offer": null
,
    "segment":
/* see broadcast segment */
}


Sample XML Response:
<segmentListing>
    <offer><!-- see broadcast offer --></offer>
    <segment i:nil="true"/>
</segmentListing>


or

<segmentListing>
   
<offer i:nil="true"/>
    <segment>
<!-- see broadcast segment --></segment>
</segmentListing>

Comments