GET Api/IndentApproval/GetByIndent/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of IndentApprovalViewModel
NameDescriptionTypeAdditional 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:44:58.2120533+05:30",
    "ApprovedDateTime": "2026-05-11T13:44:58.2120533+05:30",
    "ApprovalComments": "sample string 5",
    "ApprovalStatusId": 6,
    "Level": 7,
    "IndentCode": "sample string 8",
    "UserName": "sample string 9",
    "ApprovalFlag": 10
  },
  {
    "IndentApprovalId": 1,
    "IndentId": 2,
    "ApprovalTemplateId": 1,
    "UserId": 3,
    "SubmittedDateTime": "2026-05-11T13:44:58.2120533+05:30",
    "ApprovedDateTime": "2026-05-11T13:44:58.2120533+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:
<ArrayOfIndentApprovalViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netsoft.Web.Api.ViewModel">
  <IndentApprovalViewModel>
    <ApprovalComments>sample string 5</ApprovalComments>
    <ApprovalFlag>10</ApprovalFlag>
    <ApprovalStatusId>6</ApprovalStatusId>
    <ApprovalTemplateId>1</ApprovalTemplateId>
    <ApprovedDateTime>2026-05-11T13:44:58.2120533+05:30</ApprovedDateTime>
    <IndentApprovalId>1</IndentApprovalId>
    <IndentCode>sample string 8</IndentCode>
    <IndentId>2</IndentId>
    <Level>7</Level>
    <SubmittedDateTime>2026-05-11T13:44:58.2120533+05:30</SubmittedDateTime>
    <UserId>3</UserId>
    <UserName>sample string 9</UserName>
  </IndentApprovalViewModel>
  <IndentApprovalViewModel>
    <ApprovalComments>sample string 5</ApprovalComments>
    <ApprovalFlag>10</ApprovalFlag>
    <ApprovalStatusId>6</ApprovalStatusId>
    <ApprovalTemplateId>1</ApprovalTemplateId>
    <ApprovedDateTime>2026-05-11T13:44:58.2120533+05:30</ApprovedDateTime>
    <IndentApprovalId>1</IndentApprovalId>
    <IndentCode>sample string 8</IndentCode>
    <IndentId>2</IndentId>
    <Level>7</Level>
    <SubmittedDateTime>2026-05-11T13:44:58.2120533+05:30</SubmittedDateTime>
    <UserId>3</UserId>
    <UserName>sample string 9</UserName>
  </IndentApprovalViewModel>
</ArrayOfIndentApprovalViewModel>