GET api/WorkOrderApproval/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

WorkOrderApprovalViewModel
NameDescriptionTypeAdditional information
WorkOrderApprovalId

integer

None.

WorkOrderId

integer

None.

ApprovalTemplateId

integer

None.

UserId

integer

None.

SubmittedDateTime

date

None.

ApprovedDateTime

date

None.

ApprovalComments

string

None.

ApprovalStatusId

integer

None.

Level

integer

None.

WorkOrderCode

string

None.

ApprovalTemplateName

string

None.

ApprovalFlag

integer

None.

UserName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "WorkOrderApprovalId": 1,
  "WorkOrderId": 2,
  "ApprovalTemplateId": 3,
  "UserId": 4,
  "SubmittedDateTime": "2026-01-27T17:55:51.8448561+05:30",
  "ApprovedDateTime": "2026-01-27T17:55:51.8448561+05:30",
  "ApprovalComments": "sample string 6",
  "ApprovalStatusId": 7,
  "Level": 8,
  "WorkOrderCode": "sample string 9",
  "ApprovalTemplateName": "sample string 10",
  "ApprovalFlag": 11,
  "UserName": "sample string 12"
}

application/xml, text/xml

Sample:
<WorkOrderApprovalViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netsoft.Web.Api.ViewModel">
  <ApprovalComments>sample string 6</ApprovalComments>
  <ApprovalFlag>11</ApprovalFlag>
  <ApprovalStatusId>7</ApprovalStatusId>
  <ApprovalTemplateId>3</ApprovalTemplateId>
  <ApprovalTemplateName>sample string 10</ApprovalTemplateName>
  <ApprovedDateTime>2026-01-27T17:55:51.8448561+05:30</ApprovedDateTime>
  <Level>8</Level>
  <SubmittedDateTime>2026-01-27T17:55:51.8448561+05:30</SubmittedDateTime>
  <UserId>4</UserId>
  <UserName>sample string 12</UserName>
  <WorkOrderApprovalId>1</WorkOrderApprovalId>
  <WorkOrderCode>sample string 9</WorkOrderCode>
  <WorkOrderId>2</WorkOrderId>
</WorkOrderApprovalViewModel>