Get applyVendorEntries
Retrieves the properties and relationships of an apply vendor entry object for Business Central.
HTTP request
Replace the URL prefix for Business Central depending on environment following the guideline.
GET businesscentralPrefix/companies({id})/vendorPaymentJournals({id})/vendorPayments({id})/applyVendorEntries({id})
Request headers
Header | Value |
---|---|
Authorization | Bearer {token}. Required. |
Request body
Do not supply a request body for this method.
Response
If successful, this method returns a 200 OK
response code and an applyVendorEntry object in the response body.
Example
Request
Here is an example of the request.
GET https://{businesscentralPrefix}/api/v2.0/companies({id})/applyVendorEntries({id})
Response Here is an example of the response.
{
"id" : "5d115c9c-44e3-ea11-bb43-000d3a2feca1",
"applied" : true,
"appliesToId" : "1e8cb9c0-44e3-ea11-bb43-000d3a2feca1",
"postingDate" : "2020-10-05",
"documentType" : "Invoice",
"documentNumber" : "2001",
"externalDocumentNumber" : "2001",
"vendorNumber" : "10000",
"vendorName" : "First Up Consultants",
"description" : "",
"remainingAmount" : 0
}
Remarks
This resource type requires Business Central version 18.0.
Related information
Tips for working with the APIs
applyVendorEntry
PATCH applyVendorEntry