Difference between revisions of "API Status Code"

From unroole CMS wiki
Jump to: navigation, search
(Created page with "{| class="wikitable" |- ! Code ! Description |- | OK | No errors occurred. Success. |- | ACCESS_DENIED | The user associated with the API Persistence Token does not have t...")
 
 
(3 intermediate revisions by one user not shown)
Line 4: Line 4:
 
! Description
 
! Description
 
|-
 
|-
| OK
+
| 200
 
| No errors occurred. Success.
 
| No errors occurred. Success.
 
|-
 
|-
| ACCESS_DENIED
+
| 412
| The user associated with the [[API Persistence Token]] does not have the permission for this action.
+
| Error occurred. Check specific action for details.
 
|-
 
|-
| WRONG_TOKEN
+
| 406
| The specified [[API Persistence Token]] does not match.
+
| Access Denied. It may be a result of one of the following: <br />* The user associated with the [[API Persistence Token]] does not have the permission for this action. <br />* The account-id or channel-id in the url is incorrect.
 
|-
 
|-
| ADDITIONAL_RESULTS
+
| 401
| Success, but more results can be returned. The result set was truncated.
+
| The specified [[API Persistence Token]] does not exist in the system.
 
|}
 
|}

Latest revision as of 10:42, 5 June 2012

Code Description
200 No errors occurred. Success.
412 Error occurred. Check specific action for details.
406 Access Denied. It may be a result of one of the following:
* The user associated with the API Persistence Token does not have the permission for this action.
* The account-id or channel-id in the url is incorrect.
401 The specified API Persistence Token does not exist in the system.