postedApprovalEntry resource type

Represents a historical approval entry for a posted record in Business Central.

Note

For information about enabling APIs for Business Central, see Enabling the APIs for Dynamics 365 Business Central.

Methods

MethodReturn typeDescription
GET postedApprovalEntrypostedApprovalEntryGets a posted approval entry object.

Properties

PropertyTypeDescription
idGUIDThe unique ID of the posted approval entry. Read-only.
entryNumberintegerThe entry number of the posted approval entry.
tableIdintegerThe ID of the table that contains the posted record.
documentNumberstringThe number of the document associated with the posted approval entry.
sequenceNumberintegerThe sequence number of the posted approval entry.
senderIdstringThe ID of the user who sent the approval request.
senderNamestringThe full name of the user who sent the approval request.
approvalCodestringThe code that identifies the approval workflow.
salespersonPurchCodestringThe salesperson or purchaser code associated with the posted approval entry.
salespersonPurchNamestringThe salesperson or purchaser name associated with the posted approval entry.
approverIdstringThe ID of the approver.
approverNamestringThe full name of the approver.
statusNAV.approvalStatusThe final status of the posted approval entry.
dateTimeSentForApprovaldatetimeThe date and time when the request was sent for approval.
lastDateTimeModifieddatetimeThe date and time when the approval entry was last modified.
lastModifiedByIdstringThe ID of the user who last modified the approval entry.
commentbooleanIndicates whether the posted approval entry has a comment.
dueDatedateThe date when the approval request was due.
amountdecimalThe amount associated with the posted approval entry.
amountLCYdecimalThe amount associated with the posted approval entry in the local currency.
currencyCodestringThe currency code of the amount.
approvalTypeNAV.workflowApprovalTypeThe type of approval workflow.
limitTypeNAV.workflowApprovalLimitTypeThe type of approval limit.
availableCreditLimitLCYdecimalThe available credit limit in the local currency.
recordIdstringThe ID of the posted record associated with the approval entry.
delegationDateFormulastringThe date formula used to determine when the request could be delegated.
numberOfApprovedRequestsintegerThe number of approved requests in the approval sequence.
numberOfRejectedRequestsintegerThe number of rejected requests in the approval sequence.
iterationNumberintegerThe workflow iteration number of the posted approval entry.
lastModifiedDateTimedatetimeThe date and time when the posted approval entry was last modified. Read-only.

JSON representation

Here's a JSON representation of the postedApprovalEntry resource.

{
    "id": "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb",
    "entryNumber": 41,
    "tableId": 112,
    "documentNumber": "PSI-103021",
    "sequenceNumber": 1,
    "senderId": "ALEX",
    "senderName": "Alex Wilber",
    "approvalCode": "SALES-INVOICE",
    "salespersonPurchCode": "JO",
    "salespersonPurchName": "John Roberts",
    "approverId": "SARA",
    "approverName": "Sara Davis",
    "status": "Approved",
    "dateTimeSentForApproval": "2026-08-01T08:15:00Z",
    "lastDateTimeModified": "2026-08-01T10:20:00Z",
    "lastModifiedById": "SARA",
    "comment": true,
    "dueDate": "2026-08-08",
    "amount": 2450.00,
    "amountLCY": 2450.00,
    "currencyCode": "USD",
    "approvalType": "Approver",
    "limitType": "Approval Limits",
    "availableCreditLimitLCY": 25000.00,
    "recordId": "Sales Invoice Header: PSI-103021",
    "delegationDateFormula": "3D",
    "numberOfApprovedRequests": 1,
    "numberOfRejectedRequests": 0,
    "iterationNumber": 1,
    "lastModifiedDateTime": "2026-08-01T10:20:00Z"
}

GET postedApprovalEntry