Options
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Email to a Friend
- Printer Friendly Page
- Report Inappropriate Content
[AQUA] Better error codes for AQUA API
Status:
Under Consideration
Submitted by
ben_rightscale
on
02-08-2016
11:37 AM

If you use an invalid field in an AQuA query, the error is "There is a syntax error in one of the queries in the AQuA input". This is significantly less useful than the SOAP API, which actually tells you which field is invalid. SOAP example:
...
<zns:queryString>select AccountingCode, AppliedToInvoiceItemId, ChargeAmount, ChargeDate, ChargeName, CreatedById, CreatedDate, Id, ProcessingType, Quantity, RevRecStartDate, ServiceEndDate, ServiceStartDate, SKU, SubscriptionId, TaxAmount, TaxCode, TaxExemptAmount, TaxMode, UnitPrice, UOM, UpdatedById, UpdatedDate, InvoiceId, ChargeId, ProductId, ProductRatePlanChargeId, RatePlanChargeId from InvoiceItem</zns:queryString> </zns:query>
...
SOAP response (status 500):
... invalid field for query: InvoiceItem.productrateplanchargeid ...
2 Comments
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.