GET api/ServiceOrderApproval/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ServiceOrderApprovalViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceOrderApprovalId | integer |
None. |
|
| ServiceOrderId | integer |
None. |
|
| ApprovalTemplateId | integer |
None. |
|
| UserId | integer |
None. |
|
| SubmittedDateTime | date |
None. |
|
| ApprovedDateTime | date |
None. |
|
| ApprovalComments | string |
None. |
|
| ServiceOrderNo | string |
None. |
|
| ApprovalTemplateName | string |
None. |
|
| ApprovalStatusId | integer |
None. |
|
| Level | integer |
None. |
|
| ApprovalFlag | integer |
None. |
|
| UserName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ServiceOrderApprovalId": 1,
"ServiceOrderId": 2,
"ApprovalTemplateId": 3,
"UserId": 4,
"SubmittedDateTime": "2026-07-21T15:51:04.0596764+05:30",
"ApprovedDateTime": "2026-07-21T15:51:04.0596764+05:30",
"ApprovalComments": "sample string 6",
"ServiceOrderNo": "sample string 7",
"ApprovalTemplateName": "sample string 8",
"ApprovalStatusId": 9,
"Level": 10,
"ApprovalFlag": 11,
"UserName": "sample string 12"
}
application/xml, text/xml
Sample:
<ServiceOrderApprovalViewModel 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>9</ApprovalStatusId> <ApprovalTemplateId>3</ApprovalTemplateId> <ApprovalTemplateName>sample string 8</ApprovalTemplateName> <ApprovedDateTime>2026-07-21T15:51:04.0596764+05:30</ApprovedDateTime> <Level>10</Level> <ServiceOrderApprovalId>1</ServiceOrderApprovalId> <ServiceOrderId>2</ServiceOrderId> <ServiceOrderNo>sample string 7</ServiceOrderNo> <SubmittedDateTime>2026-07-21T15:51:04.0596764+05:30</SubmittedDateTime> <UserId>4</UserId> <UserName>sample string 12</UserName> </ServiceOrderApprovalViewModel>