Difference between revisions of "API Status Code"

From unroole CMS wiki
Jump to: navigation, search
 
Line 4: Line 4:
 
! Description
 
! Description
 
|-
 
|-
| OK
+
| 200
 
| No errors occurred. Success.
 
| No errors occurred. Success.
 
|-
 
|-
| ERROR
+
| 412
| Check specific action for details.
+
| Error occurred. Check specific action for details.
 
|-
 
|-
| ACTION_NOT_FOUND
+
| 406
| The specified action does not exist.
+
| 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.
 
|-
 
|-
| ACCESS_DENIED
+
| 401
| 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 specified API Persistence Token does not exist. <br />* The account-id or channel-id in the url is incorrect.  
+
| 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.