Class Response
The resulting object is based on the Result property defined in the Result section of the Activity Streams Schema.
Namespace: Genetsis\core\activityid
Package: Genetsis
Category: Bean
Version: 1.0
Located at core/activityid/Response.php
Package: Genetsis
Category: Bean
Version: 1.0
Located at core/activityid/Response.php
public
mixed
|
|
public
|
|
public
mixed
|
|
public
|
|
public
mixed
|
|
public
|
|
public
mixed
|
|
public
|
integer |
RESPONSE_SUCCESS
SUCCESS: The activity was successful created |
#
201
|
integer |
RESPONSE_BAD_REQUEST
ERROR: Bad Request: The request could not be understood by the server due to malformed syntax. |
#
400
|
integer |
RESPONSE_AUTH_REQUIRE
AUTH ERROR: Non authenticated user |
#
401
|
integer |
RESPONSE_NOT_FOUND
NOT FOUND: Resource not found in server |
#
404
|
integer |
RESPONSE_CONFLICT
ERROR: Conflict: The request could not be completed due to a conflict with the current state of the resource |
#
409
|
integer |
RESPONSE_VALIDATION_ERROR
ERROR: Precondition failed: Business validation error |
#
412
|
integer |
RESPONSE_INTERNAL_ERROR
ERROR: Internal Server Error: The server encountered an unexpected condition which prevented it from fulfilling the request |
#
500
|