D365 Retail

Field notes on Dynamics 365 Commerce & Retail

All articles
MPOSRetail ServerIntegration

Generating C# Classes from JSON for MPOS / Retail Server API Integrations

24 June 20181 min readHitesh Manglani

Building an integration between MPOS and a CRM system via Retail Server / CRT meant deserializing JSON REST responses into C# classes. Writing those classes and their properties by hand for every response shape felt like the kind of thing that should already be automated.

It is: jsonutils.com takes a sample JSON API response and generates the C# classes to deserialize it.

Small time-saver, but a real one — worth bookmarking for the next CRT integration.

More on this topic

Stuck on a D365 Commerce issue?

If you need hands-on help with MPOS, CRT extensions, or a Retail deployment, get in touch — I still build these things.

Talk to me