Skip to content

Instantly share code, notes, and snippets.

@jamescook
Created June 2, 2009 19:37
Show Gist options
  • Save jamescook/122522 to your computer and use it in GitHub Desktop.
Save jamescook/122522 to your computer and use it in GitHub Desktop.
-($:~/rails/insight-card-services)(master)-- curl -X POST --basic -u james-admin:isotope http://localhost:3002/api/v1/card_loads -d 'account_number=1234567890&amount=55&store_id=349'
<?xml version="1.0" encoding="UTF-8"?>
<card>
<account-number>c9d95d44fac48699b23477e3c765e349a25c59d0</account-number>
<balance type="decimal">80.0</balance>
<created-at type="datetime">2009-06-02T19:36:41Z</created-at>
<credit-limit type="integer">200</credit-limit>
<id type="integer">6490</id>
<is-instant-issue type="boolean">true</is-instant-issue>
<last-four-digits>7890</last-four-digits>
<person-id type="integer">15703</person-id>
<reported-lost-by-user-id type="integer" nil="true"></reported-lost-by-user-id>
<reported-lost-on type="datetime" nil="true"></reported-lost-on>
<store-id type="integer">349</store-id>
<total-loads type="decimal">80.0</total-loads>
<updated-at type="datetime">2009-06-02T19:37:25Z</updated-at>
</card>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment