Page 1 of 1

Parameters for SalesQuote MAKEORDER

PostPosted: Fri Mar 10, 2023 9:33 am
by pricerc
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 5429 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.

Re: Parameters for SalesQuote MAKEORDER  Topic is solved

PostPosted: Wed Apr 05, 2023 11:07 am
by Mike.Sheen
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; }
}