GET api/secRightType

Get all values from the ServiceUnits table

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

secRightTypeDb
NameDescriptionTypeAdditional information
RightTypeID

integer

None.

RightTypeCode

string

Required

Max length: 6

RightTypeDescription

string

Max length: 30

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

results

Collection of ValidationResult

None.

Response Formats

application/json, text/json

Sample:
{
  "results": null,
  "RightTypeID": 1,
  "RightTypeCode": "sample string 2",
  "RightTypeDescription": "sample string 3",
  "CreatedBy": 4,
  "CreatedDate": "2025-12-06T23:39:34.7307633+00:00",
  "UpdatedBy": 6,
  "UpdatedDate": "2025-12-06T23:39:34.7307633+00:00"
}

application/xml, text/xml

Sample:
<secRightTypeDb 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>4</CreatedBy>
  <CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:39:34.7307633Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreatedDate>
  <RightTypeCode>sample string 2</RightTypeCode>
  <RightTypeDescription>sample string 3</RightTypeDescription>
  <RightTypeID>1</RightTypeID>
  <UpdatedBy>6</UpdatedBy>
  <UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:39:34.7307633Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </UpdatedDate>
</secRightTypeDb>