Get All Contest Entries for a Profile

From ePrize Developers Wiki

Revision as of 19:00, 26 July 2010 by Todd-chapman (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search
$ curl -i -X GET -H "Accept: text/xml" \
  http://127.0.0.1:10001/v1/solution/contestv2/profile/1.5J4L55FNLN2CZZDV/contest/entry

HTTP 200 (OK)
Cache-Control: public
Connection: close
Date: Sat, 10 Jul 2010 10:49:00 GMT
Server: POE HTTPD Component/0.09 (5.008008)
Content-Length: 533
Content-Type: text/xml; charset=utf-8
Expires: Mon, 26 Jul 2010 19:09:37 GMT

<?xml version="1.0" encoding="UTF-8" ?>
<result>
  <entry>
    <body>this is the body of my essay</body>
    <category>1</category>
    <city>PLEASANT RIDGE</city>
    <description></description>
    <entry_id>1</entry_id>
    <entry_state>transmuted</entry_state>
    <first_name>Todd</first_name>
    <last_name>C</last_name>
    <rating_ave>0.857</rating_ave>
    <rating_count>7</rating_count>
    <state>MI</state>
    <title>this is the title of my essay</title>
    <views>0</views>
    <votes>1</votes>
  </entry>
</result>
Personal tools