salesOrderPOSTRequest

Discussions relating to the REST API of Jiwa 7.

Re: salesOrderPOSTRequest

Postby Mike.Sheen » Thu May 21, 2020 10:03 pm

Thanks, Stuart for offering a possible work-around.

I've tested this against our own api.jiwa.com.au, and when I POST the following DTO against https://api.jiwa.com.au/SalesOrders using a note type ID which is NOT the default, it correctly creates the sales order and returns the response with the right note and note type:

Code: Select all

  "DebtorAccountNo": "1001", 
  "Notes": [
    {     
      "NoteType": {
        "NoteTypeID": "EE3BDB34-0879-472A-A28A-216C7EF85FA0",
      },
      "NoteText": "test"
    }
  ], 
}


One thing to check might be the case of your NoteTypeID - try a GET on /SalesOrders/NoteTypes and see if the case shown there matches what you are POSTing when creating the sales order.
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2440
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 755

Previous

Return to REST API

Who is online

Users browsing this forum: No registered users and 1 guest

cron