logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
cgkcdev  
#1 Posted : Monday, April 22, 2024 10:19:12 PM(UTC)
cgkcdev

Rank: Newbie

Groups: Registered
Joined: 4/22/2024(UTC)
Posts: 6
United States

Ref: Http.Post /api/centerpoint/apinvoices

There seems to be some missing information from the REST API. When creating an APInvoice the "Lines" only seems to allow the following fields: "salesItemId","accountId","description","quantity1","quantity2","unitCost","amount","notation"? The user interface has many more fields available when entering line items to an APInvoice. How can we make the other fields (such as Project...) available in the API so we can send that line item information when creating an APInvoice through the API?

Ref: Http.Get /api/centerpoint/apinvoices/:id
Another issue, when requesting a specific APInvoice by id, the returned APInvoice does not include any line-item details. Why is this not available in the REST API?
aarony  
#2 Posted : Tuesday, April 23, 2024 4:59:45 PM(UTC)
aarony

Rank: Administration

Groups: Administrators, Moderator, Registered
Joined: 2/28/2018(UTC)
Posts: 53
Location: Red Wing, MN

Was thanked: 4 time(s) in 4 post(s)
Thank you for your feedback.

It is not our intent to offer all the functionality available through the CenterPoint User Interface with the REST API.
Its purpose is to allow 3rd parties to integrate with CenterPoint by providing and accepting simplified core data.
Our goal is to keep the interface simple and expand upon it as needed over time.

If there is functionality you would like to see included in the REST API, please document it here and we will be happy to enter a ticket to be considered in a future release.

Regards,

- Aaron.
Users browsing this topic
Guest (3)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.