GET api/Roles/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

RolesModel
NameDescriptionTypeAdditional information
Name

string

None.

Description

string

None.

Id

integer

None.

Status

string

None.

CreatedBy

string

None.

CreateTimestamp

date

None.

ModifiedBy

string

None.

ModifiedTimestamp

date

None.

DataStateFlag

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Description": "sample string 2",
  "Id": 3,
  "Status": "sample string 4",
  "CreatedBy": "sample string 5",
  "CreateTimestamp": "2024-11-21T08:49:49.2274999+00:00",
  "ModifiedBy": "sample string 7",
  "ModifiedTimestamp": "2024-11-21T08:49:49.2274999+00:00",
  "DataStateFlag": "sample string 8"
}

application/xml, text/xml

Sample:
<RolesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">
  <CreateTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-11-21T08:49:49.2274999Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreateTimestamp>
  <CreatedBy>sample string 5</CreatedBy>
  <DataStateFlag>sample string 8</DataStateFlag>
  <Id>3</Id>
  <ModifiedBy>sample string 7</ModifiedBy>
  <ModifiedTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-11-21T08:49:49.2274999Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </ModifiedTimestamp>
  <Status>sample string 4</Status>
  <Description>sample string 2</Description>
  <Name>sample string 1</Name>
</RolesModel>