Developer forum

Forum » Integration » Business Central Shipping integration fields

Business Central Shipping integration fields

Joseph Vause
Reply

Good Afternoon,

Is there a way of setting these fields via the API? Seems like your documentation says it is only available via the live integration? The Sales Order REST Api doesn't have that as an endpoint and was just wondering how to set it from a DW Instance that doesn't use live integration

 


Replies

 
Rasmus Sanggaard Dynamicweb Employee
Rasmus Sanggaard
Reply

Hi Joseph,

Maybe you could share more details on what you're trying to achieve.

The fields you're referring to are used to send shipping information to NAV/BC through the Live integration via the codeunit and SOAP endpoint.

If you're looking for specific fields, you can expose SalesOrder via the v4 endpoint, which should provide all the fields you're looking for.

https://doc.dynamicweb.dev/manual/tutorials/integration/blueprints/bc-odata-v4-blueprint.html#exposing-v4-pages-in-business-central

BR Rasmus Sanggaard

 

 

 

 
Joseph Vause
Reply

Hi Rasmus,

Thanks for the respoose.

We are looking at exporting these to BC via the Rest API (as i believe its not possible via the Odata endpoints?) so that when we push an order to BC it has these fields filled in.

 
Rasmus Sanggaard Dynamicweb Employee
Rasmus Sanggaard
Reply

Hi,

Both the default REST API and exposed pages as endpoints are OData-based. If you want to expose these specific fields, you can do it via the SalesOrders page, as I mentioned in the previous post. These fields are not part of Business Centrals default REST API. 

 

BR Rasmus Sanggaard

 

You must be logged in to post in the forum