GET api/admin/v1/RevenueTypes/{revenueTypeId}
Details of the Revenue Type
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
revenueTypeId |
ID of the Revenue Type |
integer |
Required |
Body Parameters
None
Response Information
Resource Description
Revenue Type details
RevenueTypeDtoName | Description | Type | Additional information |
---|---|---|---|
DefaultCost |
Default value of the cost |
decimal number |
None |
IsHourlyCost |
True if is an hourly cost |
boolean |
None |
IsDailyCost |
True if is a daily cost |
boolean |
None |
IsMonthlyCost |
True if is a monthly cost |
boolean |
None |
Code |
The short code of the element |
string |
None |
Description |
The description of the element |
string |
None |
IsActive |
True if the element is active, false otherwise |
boolean |
None |
Permissions |
Permissions |
PermissionDto |
None |
CreationDate |
Creation |
date |
None |
CreatedBy |
The user who has made the insert |
UserMinDto |
None |
LastUpdateDate |
Date of the last update |
date |
None |
LastUpdatedBy |
The user who has made the last update |
UserMinDto |
None |
Id |
Unique ID |
integer |
None |
Response Formats
application/json, text/json
Sample:
{ "DefaultCost": 1.0, "IsHourlyCost": true, "IsDailyCost": true, "IsMonthlyCost": true, "Code": "sample string 5", "Description": "sample string 6", "IsActive": true, "Permissions": { "CanModify": true, "CanDelete": true }, "CreationDate": "2024-11-21T10:16:57.5723475+01:00", "CreatedBy": { "Login": "sample string 1", "FullName": "sample string 2", "Avatar": "sample string 3", "Id": 4 }, "LastUpdateDate": "2024-11-21T10:16:57.5723475+01:00", "LastUpdatedBy": { "Login": "sample string 1", "FullName": "sample string 2", "Avatar": "sample string 3", "Id": 4 }, "Id": 8 }
application/xml, text/xml
Sample:
<RevenueTypeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models"> <Id>8</Id> <CreatedBy> <Id>4</Id> <Avatar>sample string 3</Avatar> <FullName>sample string 2</FullName> <Login>sample string 1</Login> </CreatedBy> <CreationDate>2024-11-21T10:16:57.5723475+01:00</CreationDate> <LastUpdateDate>2024-11-21T10:16:57.5723475+01:00</LastUpdateDate> <LastUpdatedBy> <Id>4</Id> <Avatar>sample string 3</Avatar> <FullName>sample string 2</FullName> <Login>sample string 1</Login> </LastUpdatedBy> <Code>sample string 5</Code> <Description>sample string 6</Description> <IsActive>true</IsActive> <Permissions> <CanDelete>true</CanDelete> <CanModify>true</CanModify> </Permissions> <DefaultCost>1</DefaultCost> <IsDailyCost>true</IsDailyCost> <IsHourlyCost>true</IsHourlyCost> <IsMonthlyCost>true</IsMonthlyCost> </RevenueTypeDto>