Hey fellow Epi users!
I’m currently building a web interface that will pass a PO number to a Quote, and then call the Quote’s /CreateOrder service to convert the quote to an order.
I would like to know what the bare minimum values are, that I need to pass in the body, in order to get this to convert a quote to order.
I’m currently passing:
{
"ds": {
"QuoteHed": [
{
"Company": "SSW",
"QuoteNum": 26320
}
]
}
}
But get:
{
"HttpStatus": 400,
"ReasonPhrase": "REST API Exception",
"ErrorMessage": "Quote records not found. Cannot create order.",
"ErrorType": "Ice.BLException",
"ErrorDetails": [
{
"Message": "Quote records not found. Cannot create order.",
"Type": "Error",
"Program": "Erp.Services.BO.Quote.dll",
"Method": "createOrderInternal",
"ColumnNumber": 17,
"LineNumber": 9649
}
]
}
I am 100% sure the quote exists in the the DB.
Any tips on what all needs to be passed in this request would be appreciated!