I'm having a lot of trouble trying to figure out how to create a new Journal Entry through the REST API. I am able to do a GET Journal Entry and see the schema, but it seems to be missing the lines which is required when you want to create a new Journal Entry.
I want to know how I can do a PUT request to create a Journal Entry with the debit and credit lines.
I've tried doing a mix of GET journalEntry + lines to try to figure out the schema, but have come short.
I've also have gone through the REST API SuiteTalk documentation and am still unable to figure it out.
It would be great if someone could share their JSON/code or point me in the right direction.
Thank you,
Gary