diff --git a/src/ClientContacts/Models/GetClientContactsResponse.cs b/src/ClientContacts/Models/GetClientContactsResponse.cs index 273d710..5cccc00 100644 --- a/src/ClientContacts/Models/GetClientContactsResponse.cs +++ b/src/ClientContacts/Models/GetClientContactsResponse.cs @@ -1,9 +1,11 @@ using System.Collections.Generic; +using Newtonsoft.Json; namespace Novaloop.PaymoApi.ClientContacts.Models { public class GetClientContactsResponse { + [JsonProperty("clientcontacts")] public IEnumerable ClientContacts { get; set; } } } \ No newline at end of file diff --git a/src/Clients/Models/GetClientsResponse.cs b/src/Clients/Models/GetClientsResponse.cs index 439be1f..b5b4996 100644 --- a/src/Clients/Models/GetClientsResponse.cs +++ b/src/Clients/Models/GetClientsResponse.cs @@ -1,9 +1,11 @@ using System.Collections.Generic; +using Newtonsoft.Json; namespace Novaloop.PaymoApi.Clients.Models { public class GetClientsResponse { + [JsonProperty("clients")] public IEnumerable Clients { get; set; } } } \ No newline at end of file diff --git a/src/Tasks/Models/GetTasksResponse.cs b/src/Tasks/Models/GetTasksResponse.cs index f6c7364..935346a 100644 --- a/src/Tasks/Models/GetTasksResponse.cs +++ b/src/Tasks/Models/GetTasksResponse.cs @@ -1,9 +1,11 @@ using System.Collections.Generic; +using Newtonsoft.Json; namespace Novaloop.PaymoApi.Tasks.Models { public class GetTasksResponse { + [JsonProperty("tasks")] public IEnumerable Tasks { get; set; } } } \ No newline at end of file