Skip to main content

Vendor

Overview

API methods for lookup operations on Vendors.

Methods

APIDescription
GET api/Vendor/GetAllVendorsReturns a list of Vendors that the API token has rights to view.
GET api/Vendor/GetVendorsBySystemId/{ACSystemId}Returns a list of Vendors for a given Facility that the API token has rights to view.
GET api/Vendor/GetVendorById/{VendorId}Returns a single VendorViewModel if the API token has rights to view it
POST api/Vendor/AddVendorAdds a single Vendor to the system. Returns Success/Error code plus primary key of Vendor added.
POST api/Vendor/UpdateVendorUpdates a single Vendor that is already in the system. Returns Success/Error code.
POST api/Vendor/RemoveVendor/{VendorId}Deletes a single Vendor that is already in the system. Returns Success/Error code