Parameters for SalesQuote MAKEORDER  Topic is solved

Discussions relating to the REST API of Jiwa 7.

Parameters for SalesQuote MAKEORDER

Postby pricerc » Fri Mar 10, 2023 9:33 am

The REST API metadata on my development system seems to suggest that you can pass parameters to the MAKE ORDER method:

2023-03-10 11_29_30-Jiwa 7 2021 - VMware Workstation.png
2023-03-10 11_29_30-Jiwa 7 2021 - VMware Workstation.png (26.76 KiB) Viewed 980 times


But looking at
Code: Select all
SalesQuote Post(SalesQuoteMAKEORDERRequest request)
in the source code suggests to me that the metadata is misleading.

Am I correct that the only thing of interest in that method is the QuoteID, and that any body in the POST is ignored?

edit to add the underlying reason for the question:

a 3rd party is wanting to add customer p/o number and change the doc type at the time of quote acceptance.
/Ryan

ERP Consultant,
Advanced ERP Limited, NZ
https://aerp.co.nz
User avatar
pricerc
Senpai
Senpai
 
Posts: 504
Joined: Mon Aug 10, 2009 12:22 pm
Location: Auckland, NZ
Topics Solved: 20

Re: Parameters for SalesQuote MAKEORDER  Topic is solved

Postby Mike.Sheen » Wed Apr 05, 2023 11:07 am

pricerc wrote:Am I correct that the only thing of interest in that method is the QuoteID, and that any body in the POST is ignored?


Correct.

The request DTO looks like this:

Code: Select all
[Serializable()]
[ApiResponse(200, "Created OK")]
[ApiResponse(401, "Not authenticated")]
[ApiResponse(403, "Not authorised")]
[ApiResponse(404, "No Sales Quote with the QuoteID provided was found")]
public class SalesQuoteMAKEORDERRequest : IReturn<JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes.SalesQuote>
{
   public string QuoteID { get; set; }
}
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: 2444
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 756


Return to REST API

Who is online

Users browsing this forum: No registered users and 4 guests