vendorPurchase resource type

Important: Currently all requests to API v2.0 must append $schemaversion=2.0 to the request URL to work properly. This is to uptake the new improved $metadata model avaliable from Business Central 17. An update will be applied shortly to apply the schemaversion automatically to API v2.0. For all other APIs $schemaversion=1.0 will be the default, unless specified in the request URL with $schemaversion=2.0. A solution is being worked on, where the schemaversion will be defined in the extension.

Represents a vendor purchase in Dynamics 365 Business Central.


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


Method Return Type Description
GET vendorPurchase vendorPurchase Gets a vendor purchase object.


Property Type Description
vendorId GUID The unique ID of vendor.
vendorNumber string Specifies vendor's number.
name string Represents the vendor purchase's name.
totalPurchaseAmount decimal Represents the vendor purchases.
dateFilter_FilterOnly date Represents the date filter for the vendor purchase.

JSON representation

Here is a JSON representation of the vendorPurchase resource.

    "vendorId": "GUID",
    "vendorNumber": "string",
    "name": "string",
    "totalPurchaseAmount": "decimal",
    "dateFilter_FilterOnly": "date"

See Also

GET vendorPurchase