Skip to content

Instantly share code, notes, and snippets.

@derekkraan
Created October 8, 2014 11:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save derekkraan/3fe85c26b52aedde3fcb to your computer and use it in GitHub Desktop.
Save derekkraan/3fe85c26b52aedde3fcb to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<response>
<meta>
<results type="integer">24030</results>
<offset type="integer">0</offset>
<filters type="array"/>
</meta>
<trainings type="array">
<training>
<id type="integer">123</id>
<status>published</status>
<modified>Some value</modified>
<institute-id type="integer">456</institute-id>
<name>Example Training</name>
<short-name>example-training</short-name>
<external-id>Some value</external-id>
<url>http://springest.tld/example-institute/example-training</url>
<information-request-url>http://springest.tld/example-institute/example-training/information-request</information-request-url>
<booking-url>http://springest.tld/example-institute/example-training/booking</booking-url>
<more-info-url>http://springest.tld/conversions/registerClick/123/456?redirect=http%3A%2F%2Fwww.example.com%2Fcourse%2F161%2F578&amp;referrer=0123456789abcdef</more-info-url>
<training-type>cursus</training-type>
<price>Some value</price>
<price-currency>&amp;euro;</price-currency>
<average-rating type="float">8.2</average-rating>
<count type="integer">123</count>
<max-participants type="integer">20</max-participants>
<total-course-days type="decimal">1.0</total-course-days>
<time-unit>days</time-unit>
<duration type="decimal">1.0</duration>
<duration-unit>days</duration-unit>
<vat-included>yes</vat-included>
<institute>
<id type="integer">123</id>
<name>Example Institute</name>
<short-name>example-institute</short-name>
<url>http://springest.tld/example-institute</url>
<logo>http://springest.tld/images/logos/example-institute-big.jpg</logo>
<provider-url>http://example-institute.tld</provider-url>
</institute>
<description>A short description of this training</description>
<regions type="array">
<region>
<id type="integer">4</id>
<country>Nederland</country>
<short>Utrecht</short>
<long></long>
<order type="integer">40</order>
</region>
</regions>
<levels type="array">
<level>
<id type="integer">2</id>
<name>HBO</name>
</level>
</levels>
<methods type="array">
<method>
<id type="integer">7</id>
<name>Open inschrijving</name>
</method>
</methods>
<subjects type="array">
<subject>
<id type="integer">226</id>
<category-id type="integer">9</category-id>
<name>Opleidingsadvies</name>
<short-name>opleidingsadvies</short-name>
<category-short-name>opleiding-onderwijs</category-short-name>
<url>http://test.host/opleiding-onderwijs/opleidingsadvies</url>
<count type="integer">12764</count>
</subject>
</subjects>
</training>
</trainings>
</response>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment