Using APIs on containers

Update 2021/2/10: Microsoft stopped creating images for Docker in the summer of 2020. We now publish artifacts, which can be used to spin up containers and BcContainerHelper has replaced NavContainerHelper. This blog post reflects the old way of using NAV/BC on Docker and references NavContainerHelper, which is outdated.

A while ago, I added two functions to the ContainerHelper for using APIs on containers:

  • Get-BCContainerApiCompanyId
  • Invoke-BCContainerApi

In the end, these functions are just invoking a REST method on the container, so why create a function for this? Continue reading