Definition for ctDynamicsSL header object.

All ctDynamicsSL services (orders, customers, products, statements) use the same header object.

For the purposes of this article we will use the ctDymamicsSL.orders service as an example.

//Create a new Header object:
ctDynamicsSL.orders.ctDynamicsSLHeader myCTDynamicsSL = new ctDynamicsSL.orders.ctDynamicsSLHeader();

//License Information Fields:
//licenseName: The Company name my licenseKey is registered to.

myCTDynamicsSL.licenseName = "MY COMPANY NAME";

//licenseExpiration: The Expiration date in MM/DD/YYYY format for my license. Leave as blank string if no expiration.
myCTDynamicsSL.licenseExpiration = "1/1/2020";

 //licenseKey: My ctDynamicsSL license key.
myCTDynamicsSL.licenseKey = "A1B2C3D4C5D6E7F8G9H1I2J3K4";

//softwareName: The name of the software package licensed to you by Catalina Technology
myCTDynamicsSL.softwareName = "CTAPI";

//Configuration Fields:
//siteKey: This key is the encryption key. It must match the encryption key used when creating your XML config file.
//For more information see: ctConfigEditor

myCTDynamicsSL.siteKey = "X1234Y1234M1235N";

//siteID: This is the siteID. It must match a siteId in the XML config file. This tells the webservice which database connection strings to use as well as other configurable options
//For more information see: ctConfigEditor

myCTDynamicsSL.siteID =

//cpnyID: This is the solomon CpnyId you wish to work with.
myCTDynamicsSL.cpnyID = "01";