Command 42 — List budgets by clientrework
Same call, some fields renamed. The status filter does not survive the move, so it becomes your job.
Permissions
Section titled “Permissions”V2 checks an app permission on every call — V1 checked none — and a call whose permission is missing answers 400 with errorCode 15, the same status as an invalid payload (see 4.4). Grant these to the API user before porting the command; the names are the ones of the permission tree in flowww.
| Call | Permission |
|---|---|
GET /budget/{budgetGID} | Sales - Quotes → Edit |
GET /budget | Sales - Quotes → List |
Before and after
Section titled “Before and after”curl --location 'https://euapi.flowww.net/v1/fwa_external_get.asp?cmd=42&doctor=USER_LOGIN&pass=USER_PASS&country=ES&key=SYSTEM_KEY&ClientID=93271' \ --data-urlencode 'BugetStatus=0,1,2,3'curl --location 'https://api.flowww.net/v2/budget?clientID=93271&clinicID=1' \ --header 'Authorization: Bearer <api_key>'[ { "BudgetGID": 59, "BudgetGYear": 2026, "BudgetGNumber": 16, "BudgetGStatus": "PENDING", "BudgetStatusName": "Pending", "BudgetGDate": "09/01/2026", "BudgetGClientName": "…", "BudgetGClinicID": 1, "BudgetGClinicName": "…", "BudgetGUserName": "…", "BudgetGTotalAmount": 42.5, "BudgetGCurrencySymbol": "€" }]Field mapping
Section titled “Field mapping”| API V1 | API V2 | Notes |
|---|---|---|
ClientID in the query string | ?clientID= | Without it you get the global list. clientID and userID are not compatible with each other. Use the client’s current id (merged clients are not translated). |
BugetStatus=0,1,2,3 (sic) | — | Gap: there is no status filter. The status comes back on every row as BudgetGStatus (PENDING, ACCEPTED, REJECTED, SOLD, or the number 4 / 5 for discarded and expired) and BudgetStatusName — filter on your side. |
ProductsID / ProductsDescription | — | Not in the list. Read the lines with GET /budget/{budgetGID}. |
| — | GET /budget/{budgetGID} | Full detail of one budget, including its lines and totals. |
What changes compared with V1
Section titled “What changes compared with V1”| Topic | API V1 | API V2 |
|---|---|---|
| Number of results | All, oldest first. | The 50 most recent, with no paging. |
| Budgets without lines | Not listed. | Listed. |
| Clinics | Every clinic. | The clinicID you send, or the clinics the API user can see — see 4.10. |
| Nothing found | Empty list. | 404 “No records found”. Treat it as an empty list. |