GET api/admin/v1/authorizations
Get all authorizations
Request Information
URI Parameters
None
Body Parameters
None
Response Information
Resource Description
List of authorizations
Collection of AuthorizationDtoName | Description | Type | Additional information |
---|---|---|---|
Code |
The short code of the authorization |
string |
None |
Description |
The description of the authorization |
string |
None |
Id |
Unique ID |
integer |
None |
Response Formats
application/json, text/json
Sample:
[ { "Code": "sample string 1", "Description": "sample string 2", "Id": 3 }, { "Code": "sample string 1", "Description": "sample string 2", "Id": 3 } ]
application/xml, text/xml
Sample:
<ArrayOfAuthorizationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models"> <AuthorizationDto> <Id>3</Id> <Code>sample string 1</Code> <Description>sample string 2</Description> </AuthorizationDto> <AuthorizationDto> <Id>3</Id> <Code>sample string 1</Code> <Description>sample string 2</Description> </AuthorizationDto> </ArrayOfAuthorizationDto>