This topic will demonstrate how to download files attached to a detail entity inside Acumatica ERP by using the Contract-Based API.
The code snippet above was created using the Json.NET framework (Newtonsoft.Json.dll).
To obtain HTTP cookie header from a SOAP response, add a reference to the .Net framework System.ServiceModel and System.ServiceModel.Web assemblies and the following 2 using directives in your code file:
using System.ServiceModel;
using System.ServiceModel.Web;