GET api/IndentApproval/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
IndentApprovalViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IndentApprovalId | integer |
None. |
|
| IndentId | integer |
None. |
|
| ApprovalTemplateId | integer |
None. |
|
| UserId | integer |
None. |
|
| SubmittedDateTime | date |
None. |
|
| ApprovedDateTime | date |
None. |
|
| ApprovalComments | string |
None. |
|
| ApprovalStatusId | integer |
None. |
|
| Level | integer |
None. |
|
| IndentCode | string |
None. |
|
| UserName | string |
None. |
|
| ApprovalFlag | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"IndentApprovalId": 1,
"IndentId": 2,
"ApprovalTemplateId": 1,
"UserId": 3,
"SubmittedDateTime": "2026-05-11T13:45:08.2119916+05:30",
"ApprovedDateTime": "2026-05-11T13:45:08.2119916+05:30",
"ApprovalComments": "sample string 5",
"ApprovalStatusId": 6,
"Level": 7,
"IndentCode": "sample string 8",
"UserName": "sample string 9",
"ApprovalFlag": 10
}
application/xml, text/xml
Sample:
<IndentApprovalViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netsoft.Web.Api.ViewModel"> <ApprovalComments>sample string 5</ApprovalComments> <ApprovalFlag>10</ApprovalFlag> <ApprovalStatusId>6</ApprovalStatusId> <ApprovalTemplateId>1</ApprovalTemplateId> <ApprovedDateTime>2026-05-11T13:45:08.2119916+05:30</ApprovedDateTime> <IndentApprovalId>1</IndentApprovalId> <IndentCode>sample string 8</IndentCode> <IndentId>2</IndentId> <Level>7</Level> <SubmittedDateTime>2026-05-11T13:45:08.2119916+05:30</SubmittedDateTime> <UserId>3</UserId> <UserName>sample string 9</UserName> </IndentApprovalViewModel>