ACLStatusCode Property
This property contains the status code of the operation performed on the entry.
Syntax
gdata.getACLStatusCode(index, [callback])
Default Value
""
Callback
The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).
The callback for the getACLStatusCode([callback]) method is defined as:
function(err, data){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'data' is the value returned by the method.
The callback for the setACLStatusCode([callback]) method is defined as:
function(err){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'err' has 2 properties which hold detailed information:
err.code err.message
Remarks
This property contains the status code of the operation performed on the entry.
Possible Status Codes are:
Status Code | Explanation |
200 (OK) | No error. |
201 (CREATED) | Creation of a resource was successful. |
304 (NOT MODIFIED) | The resource hasn't changed since the time specified in the request's If-Modified-Since header. |
400 (BAD REQUEST) | Invalid request URI or header, or unsupported nonstandard parameter. |
401 (UNAUTHORIZED) | Authorization required. |
403 (FORBIDDEN) | Unsupported standard parameter, or authentication or authorization failed. |
404 (NOT FOUND) | Resource (such as a feed or entry) not found. |
409 (CONFLICT) | Specified version number doesn't match resource's latest version number. |
410 (GONE) | Requested change history is no longer available on the server. Refer to service-specific documentation for more details. |
500 (INTERNAL SERVER ERROR) | Internal error. This is the default code that is used for all unrecognized server errors. |
The size of the array is controlled by the ACLCount property.
This property is read-only and not available at design time.
Data Type
String