GetAuthorizationsAccount
Draft documentation version
Documentation is partial and not validated !
Return all
BusinessAccount Authorization related to BusinessAccount OR Organization
Version |
Alpha
|
Require User context
|
|
Authorization |
|
Errors |
|
Route
GET
/Authorization/Account
Parameters
Parameter |
Required |
Sample |
Description |
AccountID |
|
2
|
BusinessAccount OR Organization ID
|
UpdatedDate |
|
2014-09-15T13:59:20.0000000Z
|
Return Authorization having an updated date more recent
|
Remarks
- To override Content-type in your clients HTTP Accept Header, append the
.json
suffix or ?format=json
- To embed the response in a jsonp callback, append
?callback=myCallback
Post Data sample
AccountID=2&UpdatedDate=2014-09-15T13:59:20.0000000Z&
cURL command sample
curl -k -H "Authorization: Bearer [YOUR_ACCESS_TOKEN]" -H "Content-Type:application/json" https://api.wit-datacenter.com/Authorization/Account?AccountID=2&UpdatedDate=2014-09-15T13%3a59%3a20.0000000Z
Returned Entity
Array of
Authorization
JSON Sample
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
[{"wType":"Authorization","accountID":0,"user":{"wType":"UserShort","mail":"String","referenceKey":"00000000000000000000000000000000","cultureID":0,"id":0,"picture":"00000000000000000000000000000000","name":"String"},"rolesStatus":[{"wType":"RoleStatus","id":0,"roleID":0,"status":"NotValidated"}],"creationDate":"0001-01-01T00:00:00.0000000Z","updateDate":"0001-01-01T00:00:00.0000000Z"}]