Getting sales invoices for a customer with the API

AitorEG
Member Posts: 342
Hi everyone!
I'm testing the API for a clud NAV BC installation, because probably we are going to integrate with a online Shop. I am testing with postman .
I can get the list of sales invoices like this:
How can I filter the invoices for a certain customer? I'm trying different ways, but I only find sintax errors..
f I add this:
I get the invoices of that customer, but after the rest of invoices....
Any tip?
Thank you
I'm testing the API for a clud NAV BC installation, because probably we are going to integrate with a online Shop. I am testing with postman .
I can get the list of sales invoices like this:
{{BaseURL}}/companies/{{CRONUS}}/salesInvoices
How can I filter the invoices for a certain customer? I'm trying different ways, but I only find sintax errors..
f I add this:
{{BaseURL}}/companies/{{CRONUS}}/salesInvoices?customerId=8603775b-d795-44fe-b370-9ee597a20bd0
I get the invoices of that customer, but after the rest of invoices....
Any tip?
Thank you
0
Best Answer
-
SOLUTION:
{{BaseURL}}/companies/{{CRONUS}}/salesInvoices?$filter=customerId eq 8603775b-d795-44fe-b370-9ee597a20bd0
0
Answers
-
SOLUTION:
{{BaseURL}}/companies/{{CRONUS}}/salesInvoices?$filter=customerId eq 8603775b-d795-44fe-b370-9ee597a20bd0
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions