diff --git a/.vs/AutotaskNET/v15/.suo b/.vs/AutotaskNET/v15/.suo index ff6549d..0cd7670 100644 Binary files a/.vs/AutotaskNET/v15/.suo and b/.vs/AutotaskNET/v15/.suo differ diff --git a/.vs/AutotaskNET/v15/Server/sqlite3/storage.ide b/.vs/AutotaskNET/v15/Server/sqlite3/storage.ide index 36f5e8c..021dc62 100644 Binary files a/.vs/AutotaskNET/v15/Server/sqlite3/storage.ide and b/.vs/AutotaskNET/v15/Server/sqlite3/storage.ide differ diff --git a/.vs/AutotaskNET/v15/Server/sqlite3/storage.ide-shm b/.vs/AutotaskNET/v15/Server/sqlite3/storage.ide-shm index 69737a5..df009d1 100644 Binary files a/.vs/AutotaskNET/v15/Server/sqlite3/storage.ide-shm and b/.vs/AutotaskNET/v15/Server/sqlite3/storage.ide-shm differ diff --git a/.vs/AutotaskNET/v15/Server/sqlite3/storage.ide-wal b/.vs/AutotaskNET/v15/Server/sqlite3/storage.ide-wal index 0e55dda..8a4fa33 100644 Binary files a/.vs/AutotaskNET/v15/Server/sqlite3/storage.ide-wal and b/.vs/AutotaskNET/v15/Server/sqlite3/storage.ide-wal differ diff --git a/.vs/AutotaskNET/v16/.suo b/.vs/AutotaskNET/v16/.suo new file mode 100644 index 0000000..efa4cef Binary files /dev/null and b/.vs/AutotaskNET/v16/.suo differ diff --git a/.vs/AutotaskNET/v16/Server/sqlite3/db.lock b/.vs/AutotaskNET/v16/Server/sqlite3/db.lock new file mode 100644 index 0000000..e69de29 diff --git a/.vs/AutotaskNET/v16/Server/sqlite3/storage.ide b/.vs/AutotaskNET/v16/Server/sqlite3/storage.ide new file mode 100644 index 0000000..365373e Binary files /dev/null and b/.vs/AutotaskNET/v16/Server/sqlite3/storage.ide differ diff --git a/AutotaskNET/Entities/Ticket.cs b/AutotaskNET/Entities/Ticket.cs index 036ec54..8a48b66 100644 --- a/AutotaskNET/Entities/Ticket.cs +++ b/AutotaskNET/Entities/Ticket.cs @@ -164,7 +164,7 @@ public static implicit operator net.autotask.webservices.Ticket(Ticket ticket) TicketNumber = ticket.TicketNumber, TicketType = ticket.TicketType, Title = ticket.Title, - UserDefinedFields = Array.ConvertAll(ticket.UserDefinedFields.ToArray(), new Converter(UserDefinedField.ToATWS)) + UserDefinedFields = ticket.UserDefinedFields == null ? null : Array.ConvertAll(ticket.UserDefinedFields.ToArray(), new Converter(UserDefinedField.ToATWS)) }; } //end implicit operator net.autotask.webservices.Ticket(Ticket ticket) diff --git a/AutotaskNET/Entities/TicketNote.cs b/AutotaskNET/Entities/TicketNote.cs index 1439f83..06a43de 100644 --- a/AutotaskNET/Entities/TicketNote.cs +++ b/AutotaskNET/Entities/TicketNote.cs @@ -25,12 +25,12 @@ public class TicketNote : Entity public TicketNote() : base() { } //end TicketNote() public TicketNote(net.autotask.webservices.TicketNote entity) : base(entity) { - this.CreatorResourceID = entity.CreatorResourceID == null ? default(int?) : int.Parse(entity.CreatorResourceID.ToString()); + this.CreatorResourceID = entity.CreatorResourceID == null ? default(long?) : long.Parse(entity.CreatorResourceID.ToString()); this.Description = entity.Description == null ? default(string) : entity.Description.ToString(); this.LastActivityDate = entity.LastActivityDate == null ? default(DateTime?) : DateTime.Parse(entity.LastActivityDate.ToString()); this.NoteType = int.Parse(entity.NoteType.ToString()); this.Publish = int.Parse(entity.Publish.ToString()); - this.TicketID = int.Parse(entity.TicketID.ToString()); + this.TicketID = long.Parse(entity.TicketID.ToString()); this.Title = entity.Title == null ? default(string) : entity.Title.ToString(); } //end TicketNote(net.autotask.webservices.TicketNote entity) @@ -56,9 +56,8 @@ public static implicit operator net.autotask.webservices.TicketNote(TicketNote t #region Fields #region ReadOnly Fields - - - public int? CreatorResourceID; //ReadOnly [Resource] + + public long? CreatorResourceID; //ReadOnly [Resource] public DateTime? LastActivityDate; //ReadOnly #endregion //ReadOnly Fields @@ -68,7 +67,7 @@ public static implicit operator net.autotask.webservices.TicketNote(TicketNote t public string Description; //Required Length:32000 public int NoteType; //Required PickList public int Publish; //Required PickList - public int TicketID; //Required [Ticket] + public long TicketID; //Required [Ticket] public string Title; //Required Length:250 #endregion //Required Fields diff --git a/AutotaskNET/Properties/AssemblyInfo.cs b/AutotaskNET/Properties/AssemblyInfo.cs index 050407c..5cdaa3e 100644 --- a/AutotaskNET/Properties/AssemblyInfo.cs +++ b/AutotaskNET/Properties/AssemblyInfo.cs @@ -33,7 +33,7 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.13.3.0")] -[assembly: AssemblyFileVersion("0.13.3.0")] +[assembly: AssemblyVersion("0.13.5.0")] +[assembly: AssemblyFileVersion("0.13.5.0")] [assembly: NeutralResourcesLanguage("en-CA")] diff --git a/AutotaskNET/bin/Debug/AutotaskNET.dll b/AutotaskNET/bin/Debug/AutotaskNET.dll index 3dbf269..ab7ae70 100644 Binary files a/AutotaskNET/bin/Debug/AutotaskNET.dll and b/AutotaskNET/bin/Debug/AutotaskNET.dll differ diff --git a/AutotaskNET/bin/Debug/AutotaskNET.pdb b/AutotaskNET/bin/Debug/AutotaskNET.pdb index 8f1fe96..e0b6f96 100644 Binary files a/AutotaskNET/bin/Debug/AutotaskNET.pdb and b/AutotaskNET/bin/Debug/AutotaskNET.pdb differ diff --git a/AutotaskNET/obj/Debug/AutotaskNET.csproj.CoreCompileInputs.cache b/AutotaskNET/obj/Debug/AutotaskNET.csproj.CoreCompileInputs.cache deleted file mode 100644 index fb39ae2..0000000 --- a/AutotaskNET/obj/Debug/AutotaskNET.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -63c888d5db50a1eb3b61f2c7a6358cf110fafe7f diff --git a/AutotaskNET/obj/Debug/AutotaskNET.csproj.FileListAbsolute.txt b/AutotaskNET/obj/Debug/AutotaskNET.csproj.FileListAbsolute.txt index fb28196..47b9d31 100644 --- a/AutotaskNET/obj/Debug/AutotaskNET.csproj.FileListAbsolute.txt +++ b/AutotaskNET/obj/Debug/AutotaskNET.csproj.FileListAbsolute.txt @@ -21,6 +21,6 @@ D:\GitHub\AutotaskNET\AutotaskNET\obj\Debug\AutotaskNET.pdb D:\Source\GitHub\AutotaskNET\AutotaskNET\bin\Debug\AutotaskNET.dll.config D:\Source\GitHub\AutotaskNET\AutotaskNET\bin\Debug\AutotaskNET.dll D:\Source\GitHub\AutotaskNET\AutotaskNET\bin\Debug\AutotaskNET.pdb -D:\Source\GitHub\AutotaskNET\AutotaskNET\obj\Debug\AutotaskNET.csproj.CoreCompileInputs.cache +D:\Source\GitHub\AutotaskNET\AutotaskNET\obj\Debug\AutotaskNET.csprojAssemblyReference.cache D:\Source\GitHub\AutotaskNET\AutotaskNET\obj\Debug\AutotaskNET.dll D:\Source\GitHub\AutotaskNET\AutotaskNET\obj\Debug\AutotaskNET.pdb diff --git a/AutotaskNET/obj/Debug/AutotaskNET.csprojAssemblyReference.cache b/AutotaskNET/obj/Debug/AutotaskNET.csprojAssemblyReference.cache new file mode 100644 index 0000000..09f263a Binary files /dev/null and b/AutotaskNET/obj/Debug/AutotaskNET.csprojAssemblyReference.cache differ diff --git a/AutotaskNET/obj/Debug/AutotaskNET.dll b/AutotaskNET/obj/Debug/AutotaskNET.dll index 3dbf269..ab7ae70 100644 Binary files a/AutotaskNET/obj/Debug/AutotaskNET.dll and b/AutotaskNET/obj/Debug/AutotaskNET.dll differ diff --git a/AutotaskNET/obj/Debug/AutotaskNET.pdb b/AutotaskNET/obj/Debug/AutotaskNET.pdb index 8f1fe96..e0b6f96 100644 Binary files a/AutotaskNET/obj/Debug/AutotaskNET.pdb and b/AutotaskNET/obj/Debug/AutotaskNET.pdb differ diff --git a/AutotaskNET/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/AutotaskNET/obj/Debug/DesignTimeResolveAssemblyReferences.cache index d65d458..bc563e3 100644 Binary files a/AutotaskNET/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/AutotaskNET/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/AutotaskNET/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/AutotaskNET/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index c056263..55ce58f 100644 Binary files a/AutotaskNET/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/AutotaskNET/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/AutotaskTEST/Program.cs b/AutotaskTEST/Program.cs index 229726e..0d16920 100644 --- a/AutotaskTEST/Program.cs +++ b/AutotaskTEST/Program.cs @@ -146,10 +146,9 @@ static void Main(string[] args) Console.WriteLine(); #endregion //Contacts - - /* + /* //Entity Information Console.WriteLine($"{DateTime.Now.ToLongTimeString()}\tGetting Entity Information..."); List eInformation = atAPI.GetEntityInfo(); @@ -169,9 +168,9 @@ static void Main(string[] args) Console.WriteLine($"\t\t - {udfInfo.Name} = Type: {udfInfo.Type}"); } Console.WriteLine(); - */ + Console.WriteLine($"{DateTime.Now.ToLongTimeString()}\tDone."); Console.WriteLine(); } diff --git a/AutotaskTEST/bin/Debug/AutotaskNET.dll b/AutotaskTEST/bin/Debug/AutotaskNET.dll index 3dbf269..ab7ae70 100644 Binary files a/AutotaskTEST/bin/Debug/AutotaskNET.dll and b/AutotaskTEST/bin/Debug/AutotaskNET.dll differ diff --git a/AutotaskTEST/bin/Debug/AutotaskNET.pdb b/AutotaskTEST/bin/Debug/AutotaskNET.pdb index 8f1fe96..e0b6f96 100644 Binary files a/AutotaskTEST/bin/Debug/AutotaskNET.pdb and b/AutotaskTEST/bin/Debug/AutotaskNET.pdb differ diff --git a/AutotaskTEST/bin/Debug/AutotaskTEST.exe b/AutotaskTEST/bin/Debug/AutotaskTEST.exe index aa471b9..d3d4edf 100644 Binary files a/AutotaskTEST/bin/Debug/AutotaskTEST.exe and b/AutotaskTEST/bin/Debug/AutotaskTEST.exe differ diff --git a/AutotaskTEST/bin/Debug/AutotaskTEST.pdb b/AutotaskTEST/bin/Debug/AutotaskTEST.pdb index 2a3df87..2f51615 100644 Binary files a/AutotaskTEST/bin/Debug/AutotaskTEST.pdb and b/AutotaskTEST/bin/Debug/AutotaskTEST.pdb differ diff --git a/AutotaskTEST/obj/Debug/AutotaskTEST.csproj.CoreCompileInputs.cache b/AutotaskTEST/obj/Debug/AutotaskTEST.csproj.CoreCompileInputs.cache deleted file mode 100644 index 22a0def..0000000 --- a/AutotaskTEST/obj/Debug/AutotaskTEST.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -da9f51f10142d8f61ac030916abfa79f4ff7040d diff --git a/AutotaskTEST/obj/Debug/AutotaskTEST.csprojAssemblyReference.cache b/AutotaskTEST/obj/Debug/AutotaskTEST.csprojAssemblyReference.cache index a501134..612e332 100644 Binary files a/AutotaskTEST/obj/Debug/AutotaskTEST.csprojAssemblyReference.cache and b/AutotaskTEST/obj/Debug/AutotaskTEST.csprojAssemblyReference.cache differ diff --git a/AutotaskTEST/obj/Debug/AutotaskTEST.exe b/AutotaskTEST/obj/Debug/AutotaskTEST.exe index aa471b9..d3d4edf 100644 Binary files a/AutotaskTEST/obj/Debug/AutotaskTEST.exe and b/AutotaskTEST/obj/Debug/AutotaskTEST.exe differ diff --git a/AutotaskTEST/obj/Debug/AutotaskTEST.pdb b/AutotaskTEST/obj/Debug/AutotaskTEST.pdb index 2a3df87..2f51615 100644 Binary files a/AutotaskTEST/obj/Debug/AutotaskTEST.pdb and b/AutotaskTEST/obj/Debug/AutotaskTEST.pdb differ diff --git a/AutotaskTEST/obj/Debug/AutotaskTest.csproj.FileListAbsolute.txt b/AutotaskTEST/obj/Debug/AutotaskTest.csproj.FileListAbsolute.txt index 1dad43c..4056796 100644 --- a/AutotaskTEST/obj/Debug/AutotaskTest.csproj.FileListAbsolute.txt +++ b/AutotaskTEST/obj/Debug/AutotaskTest.csproj.FileListAbsolute.txt @@ -35,7 +35,6 @@ D:\Source\GitHub\AutotaskNET\AutotaskTEST\bin\Debug\AutotaskNET.dll D:\Source\GitHub\AutotaskNET\AutotaskTEST\bin\Debug\AutotaskNET.pdb D:\Source\GitHub\AutotaskNET\AutotaskTEST\bin\Debug\AutotaskNET.dll.config D:\Source\GitHub\AutotaskNET\AutotaskTEST\obj\Debug\AutotaskTEST.csprojAssemblyReference.cache -D:\Source\GitHub\AutotaskNET\AutotaskTEST\obj\Debug\AutotaskTEST.csproj.CoreCompileInputs.cache D:\Source\GitHub\AutotaskNET\AutotaskTEST\obj\Debug\AutotaskTEST.csproj.CopyComplete D:\Source\GitHub\AutotaskNET\AutotaskTEST\obj\Debug\AutotaskTEST.exe D:\Source\GitHub\AutotaskNET\AutotaskTEST\obj\Debug\AutotaskTEST.pdb diff --git a/README.md b/README.md index f56a366..7339d02 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![Autotask PSA](https://www.risolv.ca/images/AutotaskPSA.png) +![Autotask PSA](https://host.risolv.ca/images/AutotaskPSA.png) ## AutotaskNET ![GitHub License](https://img.shields.io/github/license/risolv/AutotaskNET.svg?logo=GNU&logoColor=FFFFFF&style=flat) ![GitHub Release](https://img.shields.io/github/release/risolv/AutotaskNET.svg?logo=GitHub&logoColor=FFFFFF&style=flat) ![Travis Build Status](https://img.shields.io/travis/com/risolv/AutotaskNET.svg?logo=Travis&logoColor=FFFFFF&style=flat) *Autotask Web Services API .NET Interface*