Page 1 of 1

invoice No/ID for newly created order

PostPosted: Wed Nov 23, 2022 3:44 pm
by pricerc
Is there something in the DTO returned by Quote/.../MakeOrder that will give me a clue about where to find my new sales order?

(I'm looking, but I ain't seeing it)

Re: invoice No/ID for newly created order  Topic is solved

PostPosted: Wed Nov 23, 2022 4:40 pm
by Scott.Pearce
HATEOAS dictates creating a new resource should indicate the location of that new resource in the response header. Have a look for a "Location" property in the response headers that you get back from Quote/.../MakeOrder.

Re: invoice No/ID for newly created order

PostPosted: Wed Nov 23, 2022 6:21 pm
by pricerc
Found it, thanks.

2022-11-23 20_20_07-Clipboard.png