GET entitys/{id}/auths
Get the List of authorizations of an entity (based on who is asking)
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Entity code |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
List of Auth
Collection of Lluni.Models.Common.Wip.AuthDto| Name | Description | Type | Additional information |
|---|---|---|---|
| AuthCode | integer |
None. |
|
| EntityCode | integer |
Required |
|
| EntityName | string |
None. |
|
| Description | string |
None. |
|
| CodeName | string |
None. |
|
| ClientId | string |
None. |
|
| Token | string |
None. |
|
| AgentId | integer |
None. |
|
| PaymentGuid | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"AuthCode": 1,
"EntityCode": 2,
"EntityName": "sample string 3",
"Description": "sample string 4",
"CodeName": "sample string 5",
"ClientId": "sample string 6",
"Token": "sample string 7",
"AgentId": 1,
"PaymentGuid": "sample string 8"
},
{
"AuthCode": 1,
"EntityCode": 2,
"EntityName": "sample string 3",
"Description": "sample string 4",
"CodeName": "sample string 5",
"ClientId": "sample string 6",
"Token": "sample string 7",
"AgentId": 1,
"PaymentGuid": "sample string 8"
}
]
application/xml, text/xml
Sample:
<ArrayOfAuthDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lluni.Models.Common.Wip">
<AuthDto>
<AgentId>1</AgentId>
<AuthCode>1</AuthCode>
<ClientId>sample string 6</ClientId>
<CodeName>sample string 5</CodeName>
<Description>sample string 4</Description>
<EntityCode>2</EntityCode>
<EntityName>sample string 3</EntityName>
<PaymentGuid>sample string 8</PaymentGuid>
<Token>sample string 7</Token>
</AuthDto>
<AuthDto>
<AgentId>1</AgentId>
<AuthCode>1</AuthCode>
<ClientId>sample string 6</ClientId>
<CodeName>sample string 5</CodeName>
<Description>sample string 4</Description>
<EntityCode>2</EntityCode>
<EntityName>sample string 3</EntityName>
<PaymentGuid>sample string 8</PaymentGuid>
<Token>sample string 7</Token>
</AuthDto>
</ArrayOfAuthDto>