Page 1 of 2

Rest Api and Manufacturing

PostPosted: Wed Dec 11, 2019 6:18 pm
by SBarnes
Am right in assuming that currently the Rest API doesn't support manufacturing and more specifically manufacturing work orders work orders?

Re: Rest Api and Manufacturing  Topic is solved

PostPosted: Wed Dec 11, 2019 6:39 pm
by Mike.Sheen
SBarnes wrote:Am right in assuming that currently the Rest API doesn't support manufacturing and more specifically manufacturing work orders work orders?


Correct. Feel free to add an improvement request, though - I was expecting this to be requested at some point as interacting with Work Orders via the API would enable some pretty exciting applications.

Re: Rest Api and Manufacturing

PostPosted: Wed Dec 11, 2019 6:50 pm
by SBarnes
Exciting isn't quite the word I had in mind, this might be one of those don't try this at home moments. :lol:

Do the business objects at this stage do the serialisation as this may need to happen before an improvement request would be possible?

Re: Rest Api and Manufacturing

PostPosted: Wed Dec 11, 2019 6:55 pm
by Mike.Sheen
SBarnes wrote:Do the business objects at this stage do the serialisation as this may need to happen before an improvement request would be possible?


No, they don't do any serialisation or deserialisation - I'd certainly want us to add that support instead of rolling your own. It is possible to do yourself, but it really would be a lot cleaner if we added that support to the business logic as well as adding routes to the API.

Re: Rest Api and Manufacturing

PostPosted: Wed Dec 11, 2019 7:00 pm
by SBarnes
That would be the ideal but it might come down to time, stock take is also not in the api yet is it?

Re: Rest Api and Manufacturing

PostPosted: Wed Dec 11, 2019 7:06 pm
by Mike.Sheen
SBarnes wrote:stock take is also not in the api yet is it?


No, not yet. That would be another useful addition as it will enable things like mobile applications for warehouse staff to perform stock takes.

Re: Rest Api and Manufacturing

PostPosted: Wed Dec 11, 2019 7:12 pm
by SBarnes
That's part of exactly what I am looking at with probably a Xamarin forms app as ServiceStack will work with it.

Re: Rest Api and Manufacturing

PostPosted: Thu Dec 12, 2019 5:38 am
by SBarnes
I would also assume that the stock take objects don't currently support serialisation as well?

Re: Rest Api and Manufacturing

PostPosted: Thu Dec 12, 2019 9:05 am
by Mike.Sheen
SBarnes wrote:I would also assume that the stock take objects don't currently support serialisation as well?


Correct.

Re: Rest Api and Manufacturing

PostPosted: Thu Dec 12, 2019 9:13 am
by SBarnes
OK,

If roll your own becomes the necessary option I am assuming it would involve basically inherit from the relevant business object and implement the IJiwaDTOSerialisable and IJiwaDTODeserialisable interfaces, then build services to support the necessary routes?