Home > General Information > How to Create an XML Request Manuallyprevious topic | next topic

How to Create an XML Request Manually

When you want to create a request manually, you first need to know what data you wish to receive, and in which format. For clients who have a subscription for less than 3 organisations, we urge to look at their personalized request message which is sent to them as part of the TBXDS registration information.

Let's assume the following: To build our request, we'll start with a simple XML document, containing only the root element <TBMDataRequest>. Next, we'll fill in the defaults, mentioned last in our wish list: And your default response settings:

Note Since the default values for the ticker types (<TickerType> and ticker-type) is already "TBMALFA", and the default language is also already Dutch ("nl"), the <ResponseSettings> node and the ticker-type attribute can be left out altogether. Because different values are possible, this example does include these settings.

Next, we'll start with the news Note the use of last-article-id, which you can use to receive only data you haven't received before, even if their date was set higher than the one given here (see Last Published Ids). Next, we request the chart data: There are no last ids for charts, since these are always current.

Finally, we'll handle the most important data of all: the exchange quotes. Again, we've got no last ids to handle.

The next section gives an overview of the response structure, assuming everything goes well.