From ePrize Developers Wiki
(Difference between revisions)
|
|
(One intermediate revision not shown.) |
Line 1: |
Line 1: |
- | <font style="color: red; font-style: italic;">Code Services API calls will not be available until September 2009.</font>
| + | Does not exist. |
- | {{RESTfulAPI
| + | |
- | |crumbs=[[API Home Page]] :: [[Code Services]]
| + | |
- | |summary=TODO: Fill me in.
| + | |
- | }}
| + | |
- | | + | |
- | {{RESTfulExample
| + | |
- | |title=Successfully validate a code
| + | |
- | |summary=This demonstrates successfully validating a code.
| + | |
- | |responsecode=200 OK
| + | |
- | |response=<?xml version="1.0" encoding="UTF-8" ?>
| + | |
- | <result ver="1.0">
| + | |
- | <codeResponse>
| + | |
- | <code>{code}</code>
| + | |
- | <codeClass>{codeClass}</codeClass>
| + | |
- | </codeResponse>
| + | |
- | </result>
| + | |
- | }}
| + | |
- | | + | |
- | {{RESTfulExample
| + | |
- | |title=Attempting to validate a code that doesn't exist
| + | |
- | |summary=This demonstrates an unsuccessful attempt at validating a code that doesn't exist.
| + | |
- | |responsecode=404 Not Found
| + | |
- | |response=<?xml version="1.0" encoding="UTF-8"?>
| + | |
- | <result ver="1.0">
| + | |
- | <reason>Unable to locate the specified code.</reason>
| + | |
- | </result>
| + | |
- | }}
| + | |
- | | + | |
- | {{RESTfulExample
| + | |
- | |title=Attempting to validate a code in a code class that doesn't exist
| + | |
- | |summary=This demonstrates an unsuccessful attempt at validating a code for a code class that doesn't exist.
| + | |
- | |responsecode=404 Not Found
| + | |
- | |response=<?xml version="1.0" encoding="UTF-8"?>
| + | |
- | <result ver="1.0">
| + | |
- | <reason>Unable to locate the specified code class.</reason>
| + | |
- | </result>
| + | |
- | }}
| + | |
Current revision
Does not exist.