/// <summary>
 /// GET api/Receivedinvoices/{supplierId}/ReceivedInvoices
 /// Returns received invoice list for specific contact.
 /// </summary>
 public RowsResultWrapper <ReceivedInvoice> ReceivedInvoicesBySupplier(int supplierId, ReceivedInvoiceFilter filter = null)
 {
     return(Get <RowsResultWrapper <ReceivedInvoice> >(ResourceUrl + "/" + supplierId + "/ReceivedInvoices"));
 }
 /// <summary>
 /// GET api/ReceivedInvoices
 /// Returns list of received invoices. Filters are optional.
 /// </summary>
 public RowsResultWrapper <ReceivedInvoice> ReceivedInvoices(ReceivedInvoiceFilter filter = null)
 {
     return(Get <RowsResultWrapper <ReceivedInvoice> >(ResourceUrl, filter));
 }
 /// <summary>
 /// GET api/Receivedinvoices/Expand
 /// Returns Receivied invoice list with related entities such as contact information etc.
 /// </summary>
 public RowsResultWrapper <ReceivedInvoiceExpand> ReceivedInvoicesExpand(ReceivedInvoiceFilter filter = null)
 {
     return(Get <RowsResultWrapper <ReceivedInvoiceExpand> >(ResourceUrl + "/Expand", filter));
 }
예제 #4
0
 /// <summary>
 /// GET api/Receivedinvoices/{supplierId}/ReceivedInvoices
 /// Returns received invoice list for specific contact.
 /// </summary>
 public async Task <RowsResultWrapper <ReceivedInvoice> > ReceivedInvoicesBySupplierAsync(int supplierId, ReceivedInvoiceFilter filter = null)
 {
     return(await GetAsync <RowsResultWrapper <ReceivedInvoice> >(ResourceUrl + "/" + supplierId + "/ReceivedInvoices"));
 }