Dears, Kindly need your help
Could I remove (id, rownumber and note ) from response? How?
Could I return InventoryId:Ac316 direct not like object? How?
Best answer by andriikravetskyi35
View originalDears, Kindly need your help
Could I remove (id, rownumber and note ) from response? How?
Could I return InventoryId:Ac316 direct not like object? How?
Best answer by andriikravetskyi35
View originalYou can append $select=InventoryID at the end of your GET/POST URL to filter out specific fields that you want returned from the API call.
Example:
https://{{baseUrl}}/entity/Default/20.200.001/StockItem/100-000001?$select=InventoryID
Now, this will still return JSON with a value field within the Inventory object. One suggestion is to create a generic type that can help you deserialize the object.
Thanks for your help, But we are already using $select . You can check attached file.
I need to remove (id, rownumber and note ) from response
if you want to remove item, you can send DELETE request to StockItem endpoint, Acumatica REST API support all types of requests. Also you can extend Default endpoint and add needed actions to endpoint like on screen shot:
I don't believe I can help you do what you're asking, but maybe you could explain why you can only have a single value and we could try to figure out a way to get around that.
That can represent every InventoryCD with array of SitedCD
Thanks
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.