GET api/secRight/{id}
Return a single value from the Rights table using the primary key as ID.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The Rights Primary Key. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
secRightDb| Name | Description | Type | Additional information |
|---|---|---|---|
| RightID | integer |
None. |
|
| RightName | string |
Required Max length: 50 |
|
| RightDescription | string |
Max length: 120 |
|
| RightTypeID | integer |
None. |
|
| IsActive | boolean |
None. |
|
| IsClientAssignable | boolean |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| UpdatedBy | integer |
None. |
|
| UpdatedDate | date |
None. |
|
| ReportID | integer |
None. |
|
| results | Collection of ValidationResult |
None. |
Response Formats
application/json, text/json
Sample:
{
"results": null,
"RightID": 1,
"RightName": "sample string 2",
"RightDescription": "sample string 3",
"RightTypeID": 4,
"IsActive": true,
"IsClientAssignable": true,
"CreatedBy": 7,
"CreatedDate": "2025-12-06T23:43:10.2109179+00:00",
"UpdatedBy": 9,
"UpdatedDate": "2025-12-06T23:43:10.2109179+00:00",
"ReportID": 1
}
application/xml, text/xml
Sample:
<secRightDb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
<results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" />
<CreatedBy>7</CreatedBy>
<CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-12-06T23:43:10.2109179Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</CreatedDate>
<IsActive>true</IsActive>
<IsClientAssignable>true</IsClientAssignable>
<ReportID>1</ReportID>
<RightDescription>sample string 3</RightDescription>
<RightID>1</RightID>
<RightName>sample string 2</RightName>
<RightTypeID>4</RightTypeID>
<UpdatedBy>9</UpdatedBy>
<UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-12-06T23:43:10.2109179Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</UpdatedDate>
</secRightDb>