GET api/BOMApproval/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
BOMApprovalViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| BOMApprovalId | integer |
None. |
|
| BOMId | integer |
None. |
|
| ApprovalTemplateId | integer |
None. |
|
| UserId | integer |
None. |
|
| SubmittedDateTime | date |
None. |
|
| ApprovedDateTime | date |
None. |
|
| ApprovalComments | string |
None. |
|
| ApprovalStatusId | integer |
None. |
|
| Level | integer |
None. |
|
| BOMCode | string |
None. |
|
| BOMName | string |
None. |
|
| ApprovalTemplateName | string |
None. |
|
| ApprovalFlag | integer |
None. |
|
| UserName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"BOMApprovalId": 1,
"BOMId": 2,
"ApprovalTemplateId": 3,
"UserId": 4,
"SubmittedDateTime": "2026-01-27T19:11:38.1104826+05:30",
"ApprovedDateTime": "2026-01-27T19:11:38.1104826+05:30",
"ApprovalComments": "sample string 6",
"ApprovalStatusId": 7,
"Level": 8,
"BOMCode": "sample string 9",
"BOMName": "sample string 10",
"ApprovalTemplateName": "sample string 11",
"ApprovalFlag": 12,
"UserName": "sample string 13"
}
application/xml, text/xml
Sample:
<BOMApprovalViewModel 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>12</ApprovalFlag> <ApprovalStatusId>7</ApprovalStatusId> <ApprovalTemplateId>3</ApprovalTemplateId> <ApprovalTemplateName>sample string 11</ApprovalTemplateName> <ApprovedDateTime>2026-01-27T19:11:38.1104826+05:30</ApprovedDateTime> <BOMApprovalId>1</BOMApprovalId> <BOMCode>sample string 9</BOMCode> <BOMId>2</BOMId> <BOMName>sample string 10</BOMName> <Level>8</Level> <SubmittedDateTime>2026-01-27T19:11:38.1104826+05:30</SubmittedDateTime> <UserId>4</UserId> <UserName>sample string 13</UserName> </BOMApprovalViewModel>