Request

GET /currency/5231cbd54ab63c53dc90046c/

Response

200 OK
Content-Type: application/json
{
    "symbol": "EUR", 
    "rates": [
        {
            "rate": "1.00", 
            "currency_to": "MXN", 
            "datetime": "2013-09-12T14:12:37.162000+00:00"
        }, 
        {
            "rate": "1.00", 
            "currency_to": "USD", 
            "datetime": "2013-09-12T14:12:37.162000+00:00"
        }, 
        {
            "rate": "1.00", 
            "currency_to": "AUD", 
            "datetime": "2013-09-12T14:12:37.162000+00:00"
        }, 
        {
            "rate": "1.00", 
            "currency_to": "CHF", 
            "datetime": "2013-09-12T14:12:37.162000+00:00"
        }, 
        {
            "rate": "1.00", 
            "currency_to": "NOK", 
            "datetime": "2013-09-12T14:12:37.162000+00:00"
        }, 
        {
            "rate": "1.00", 
            "currency_to": "RUB", 
            "datetime": "2013-09-12T14:12:37.162000+00:00"
        }, 
        {
            "rate": "1.00", 
            "currency_to": "EGP", 
            "datetime": "2013-09-12T14:12:37.162000+00:00"
        }, 
        {
            "rate": "1.00", 
            "currency_to": "INR", 
            "datetime": "2013-09-12T14:12:37.162000+00:00"
        }, 
        {
            "rate": "1.00", 
            "currency_to": "CNY", 
            "datetime": "2013-09-12T14:12:37.162000+00:00"
        }, 
        {
            "rate": "1.00", 
            "currency_to": "JPY", 
            "datetime": "2013-09-12T14:12:37.162000+00:00"
        }, 
        {
            "rate": "1.00", 
            "currency_to": "TRY", 
            "datetime": "2013-09-12T14:12:37.162000+00:00"
        }, 
        {
            "rate": "1.00", 
            "currency_to": "BRL", 
            "datetime": "2013-09-12T14:12:37.162000+00:00"
        }, 
        {
            "rate": "1.00", 
            "currency_to": "MAD", 
            "datetime": "2013-09-12T14:12:37.162000+00:00"
        }, 
        {
            "rate": "1.00", 
            "currency_to": "GBP", 
            "datetime": "2013-09-12T14:12:37.162000+00:00"
        }, 
        {
            "rate": "1.00", 
            "currency_to": "NZD", 
            "datetime": "2013-09-12T14:12:37.162000+00:00"
        }, 
        {
            "rate": "1.00", 
            "currency_to": "SEK", 
            "datetime": "2013-09-12T14:12:37.162000+00:00"
        }, 
        {
            "rate": "1.00", 
            "currency_to": "DKK", 
            "datetime": "2013-09-12T14:12:37.162000+00:00"
        }, 
        {
            "rate": "1.00", 
            "currency_to": "HKD", 
            "datetime": "2013-09-12T14:12:37.162000+00:00"
        }, 
        {
            "rate": "1.00", 
            "currency_to": "CAD", 
            "datetime": "2013-09-12T14:12:37.162000+00:00"
        }
    ], 
    "id": "5231cbd54ab63c53dc90046c", 
    "resource_uri": "/api/v1/currency/5231cbd54ab63c53dc90046c/"
}

Request

GET /currency/5231cbd54ab63c53dc90046c/

Response

200 OK
Content-Type: application/xml; charset=utf-8
<object>
  <symbol>EUR</symbol>
  <rates type="list">
    <object>
      <rate>1.00</rate>
      <currency_to>MXN</currency_to>
      <datetime>2013-09-12T14:12:37.162000+00:00</datetime>
    </object>
    <object>
      <rate>1.00</rate>
      <currency_to>USD</currency_to>
      <datetime>2013-09-12T14:12:37.162000+00:00</datetime>
    </object>
    <object>
      <rate>1.00</rate>
      <currency_to>AUD</currency_to>
      <datetime>2013-09-12T14:12:37.162000+00:00</datetime>
    </object>
    <object>
      <rate>1.00</rate>
      <currency_to>CHF</currency_to>
      <datetime>2013-09-12T14:12:37.162000+00:00</datetime>
    </object>
    <object>
      <rate>1.00</rate>
      <currency_to>NOK</currency_to>
      <datetime>2013-09-12T14:12:37.162000+00:00</datetime>
    </object>
    <object>
      <rate>1.00</rate>
      <currency_to>RUB</currency_to>
      <datetime>2013-09-12T14:12:37.162000+00:00</datetime>
    </object>
    <object>
      <rate>1.00</rate>
      <currency_to>EGP</currency_to>
      <datetime>2013-09-12T14:12:37.162000+00:00</datetime>
    </object>
    <object>
      <rate>1.00</rate>
      <currency_to>INR</currency_to>
      <datetime>2013-09-12T14:12:37.162000+00:00</datetime>
    </object>
    <object>
      <rate>1.00</rate>
      <currency_to>CNY</currency_to>
      <datetime>2013-09-12T14:12:37.162000+00:00</datetime>
    </object>
    <object>
      <rate>1.00</rate>
      <currency_to>JPY</currency_to>
      <datetime>2013-09-12T14:12:37.162000+00:00</datetime>
    </object>
    <object>
      <rate>1.00</rate>
      <currency_to>TRY</currency_to>
      <datetime>2013-09-12T14:12:37.162000+00:00</datetime>
    </object>
    <object>
      <rate>1.00</rate>
      <currency_to>BRL</currency_to>
      <datetime>2013-09-12T14:12:37.162000+00:00</datetime>
    </object>
    <object>
      <rate>1.00</rate>
      <currency_to>MAD</currency_to>
      <datetime>2013-09-12T14:12:37.162000+00:00</datetime>
    </object>
    <object>
      <rate>1.00</rate>
      <currency_to>GBP</currency_to>
      <datetime>2013-09-12T14:12:37.162000+00:00</datetime>
    </object>
    <object>
      <rate>1.00</rate>
      <currency_to>NZD</currency_to>
      <datetime>2013-09-12T14:12:37.162000+00:00</datetime>
    </object>
    <object>
      <rate>1.00</rate>
      <currency_to>SEK</currency_to>
      <datetime>2013-09-12T14:12:37.162000+00:00</datetime>
    </object>
    <object>
      <rate>1.00</rate>
      <currency_to>DKK</currency_to>
      <datetime>2013-09-12T14:12:37.162000+00:00</datetime>
    </object>
    <object>
      <rate>1.00</rate>
      <currency_to>HKD</currency_to>
      <datetime>2013-09-12T14:12:37.162000+00:00</datetime>
    </object>
    <object>
      <rate>1.00</rate>
      <currency_to>CAD</currency_to>
      <datetime>2013-09-12T14:12:37.162000+00:00</datetime>
    </object>
  </rates>
  <id>5231cbd54ab63c53dc90046c</id>
  <resource_uri>/api/v1/currency/5231cbd54ab63c53dc90046c/</resource_uri>
</object>

Request

GET /currency/5231cbd54ab63c53dc90046c/

Response

200 OK
Content-Type: text/yaml; charset=utf-8
id: !!python/unicode '5231cbd54ab63c53dc90046c'
rates:
- {currency_to: !!python/unicode 'MXN', datetime: '2013-09-12T14:12:37.162000+00:00',
rate: !!python/unicode '1.00'}
- {currency_to: !!python/unicode 'USD', datetime: '2013-09-12T14:12:37.162000+00:00',
rate: !!python/unicode '1.00'}
- {currency_to: !!python/unicode 'AUD', datetime: '2013-09-12T14:12:37.162000+00:00',
rate: !!python/unicode '1.00'}
- {currency_to: !!python/unicode 'CHF', datetime: '2013-09-12T14:12:37.162000+00:00',
rate: !!python/unicode '1.00'}
- {currency_to: !!python/unicode 'NOK', datetime: '2013-09-12T14:12:37.162000+00:00',
rate: !!python/unicode '1.00'}
- {currency_to: !!python/unicode 'RUB', datetime: '2013-09-12T14:12:37.162000+00:00',
rate: !!python/unicode '1.00'}
- {currency_to: !!python/unicode 'EGP', datetime: '2013-09-12T14:12:37.162000+00:00',
rate: !!python/unicode '1.00'}
- {currency_to: !!python/unicode 'INR', datetime: '2013-09-12T14:12:37.162000+00:00',
rate: !!python/unicode '1.00'}
- {currency_to: !!python/unicode 'CNY', datetime: '2013-09-12T14:12:37.162000+00:00',
rate: !!python/unicode '1.00'}
- {currency_to: !!python/unicode 'JPY', datetime: '2013-09-12T14:12:37.162000+00:00',
rate: !!python/unicode '1.00'}
- {currency_to: !!python/unicode 'TRY', datetime: '2013-09-12T14:12:37.162000+00:00',
rate: !!python/unicode '1.00'}
- {currency_to: !!python/unicode 'BRL', datetime: '2013-09-12T14:12:37.162000+00:00',
rate: !!python/unicode '1.00'}
- {currency_to: !!python/unicode 'MAD', datetime: '2013-09-12T14:12:37.162000+00:00',
rate: !!python/unicode '1.00'}
- {currency_to: !!python/unicode 'GBP', datetime: '2013-09-12T14:12:37.162000+00:00',
rate: !!python/unicode '1.00'}
- {currency_to: !!python/unicode 'NZD', datetime: '2013-09-12T14:12:37.162000+00:00',
rate: !!python/unicode '1.00'}
- {currency_to: !!python/unicode 'SEK', datetime: '2013-09-12T14:12:37.162000+00:00',
rate: !!python/unicode '1.00'}
- {currency_to: !!python/unicode 'DKK', datetime: '2013-09-12T14:12:37.162000+00:00',
rate: !!python/unicode '1.00'}
- {currency_to: !!python/unicode 'HKD', datetime: '2013-09-12T14:12:37.162000+00:00',
rate: !!python/unicode '1.00'}
- {currency_to: !!python/unicode 'CAD', datetime: '2013-09-12T14:12:37.162000+00:00',
rate: !!python/unicode '1.00'}
resource_uri: !!python/unicode '/api/v1/currency/5231cbd54ab63c53dc90046c/'
symbol: !!python/unicode 'EUR'