Skip to main content
Solved

REST API - empty response for Bill request.


Hello,

I created a bill in Acumatica 2020/R1 and am trying to retrieve it via the Contract-Based REST API. I’ve tried with and without parameters like this:

GET https://acumatica-dev.psfc.coop/entity/Default/18.200.001//Bill?$select=Date,Amount,ReferenceNbr,Vendor,VendorRef,Details/Description,Details/UnitCost,Details/Qty,Details/Amount,Details/Account&$expand=Details

and this:
GET https://acumatica-dev.psfc.coop/entity/Default/18.200.001//Bill

I get back a 200 response and empty array [] in the body.

Can anyone please help me with this?

Best answer by larryly

@ihe63  Can’t give you any answer because I don’t have chance to working on Acumatica’s API. With my guess, all fields should be defined in endpoint. I’m not sure if you need extend endpoint for your custom field. 

 

View original
Did this topic help you find an answer to your question?

3 replies

Forum|alt.badge.img+1
  • Semi-Pro II
  • 88 replies
  • July 20, 2021

@ihe63 I tried your first URL. It looks good.

 

 


  • Author
  • Freshman I
  • 1 reply
  • July 20, 2021

We have three custom fields defined for the Bills and Adjustment form. I successfully made the call to get the schema and they appear in the custom field tags, but could their presence be a reason why my queries fail?


Forum|alt.badge.img+1
  • Semi-Pro II
  • 88 replies
  • Answer
  • July 20, 2021

@ihe63  Can’t give you any answer because I don’t have chance to working on Acumatica’s API. With my guess, all fields should be defined in endpoint. I’m not sure if you need extend endpoint for your custom field. 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings