-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated documentation to match current state for 0.20 release. Added …
…Id to map markers, updated unit app payload call to return call types, added notes api controller call for getting unexpires and started notes, added call and call priorities api call to get by department id. Added stub eventing hub to update when department info changes (not yet implemented)
- Loading branch information
Showing
27 changed files
with
520 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
Web/Resgrid.Services/Controllers/Version3/Models/Calls/DepartmentCallDispatchGroupResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
|
||
namespace Resgrid.Web.Services.Controllers.Version3.Models.Calls | ||
{ | ||
public class DepartmentCallDispatchGroupResult | ||
{ | ||
public int CallDispatchGroupId { get; set; } | ||
public int CallId { get; set; } | ||
public int DepartmentGroupId { get; set; } | ||
public int DispatchCount { get; set; } | ||
public DateTime? LastDispatchedOn { get; set; } | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
Web/Resgrid.Services/Controllers/Version3/Models/Calls/DepartmentCallDispatchResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System; | ||
|
||
namespace Resgrid.Web.Services.Controllers.Version3.Models.Calls | ||
{ | ||
public class DepartmentCallDispatchResult | ||
{ | ||
public int CallDispatchId { get; set; } | ||
public int CallId { get; set; } | ||
public string UserId { get; set; } | ||
public int? GroupId { get; set; } | ||
public int DispatchCount { get; set; } | ||
public DateTime? LastDispatchedOn { get; set; } | ||
public int? ActionLogId { get; set; } | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
Web/Resgrid.Services/Controllers/Version3/Models/Calls/DepartmentCallDispatchRoleResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
|
||
namespace Resgrid.Web.Services.Controllers.Version3.Models.Calls | ||
{ | ||
public class DepartmentCallDispatchRoleResult | ||
{ | ||
public int CallDispatchRoleId { get; set; } | ||
public int CallId { get; set; } | ||
public int RoleId { get; set; } | ||
public int DispatchCount { get; set; } | ||
public DateTime? LastDispatchedOn { get; set; } | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
Web/Resgrid.Services/Controllers/Version3/Models/Calls/DepartmentCallDispatchUnitResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
|
||
namespace Resgrid.Web.Services.Controllers.Version3.Models.Calls | ||
{ | ||
public class DepartmentCallDispatchUnitResult | ||
{ | ||
public int CallDispatchUnitId { get; set; } | ||
public int CallId { get; set; } | ||
public int UnitId { get; set; } | ||
public int DispatchCount { get; set; } | ||
public DateTime? LastDispatchedOn { get; set; } | ||
} | ||
} |
56 changes: 56 additions & 0 deletions
56
Web/Resgrid.Services/Controllers/Version3/Models/Calls/DepartmentCallResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
namespace Resgrid.Web.Services.Controllers.Version3.Models.Calls | ||
{ | ||
public class DepartmentCallResult | ||
{ | ||
public int CallId { get; set; } | ||
public string Number { get; set; } | ||
public int DepartmentId { get; set; } | ||
public string ReportingUserId { get; set; } | ||
public int Priority { get; set; } | ||
public bool IsCritical { get; set; } | ||
public string Type { get; set; } | ||
public string IncidentNumber { get; set; } | ||
public string Name { get; set; } | ||
public string NatureOfCall { get; set; } | ||
public string MapPage { get; set; } | ||
public string Notes { get; set; } | ||
public string CompletedNotes { get; set; } | ||
public string Address { get; set; } | ||
public string GeoLocationData { get; set; } | ||
public DateTime LoggedOn { get; set; } | ||
public DateTime LoggedOnUtc { get; set; } | ||
public string ClosedByUserId { get; set; } | ||
public DateTime? ClosedOn { get; set; } | ||
public int State { get; set; } | ||
public bool IsDeleted { get; set; } | ||
public int CallSource { get; set; } | ||
public int DispatchCount { get; set; } | ||
public DateTime? LastDispatchedOn { get; set; } | ||
public string SourceIdentifier { get; set; } | ||
public ICollection<DepartmentCallDispatchResult> Dispatches { get; set; } | ||
//public ICollection<CallAttachment> Attachments { get; set; } | ||
//public ICollection<CallNote> CallNotes { get; set; } | ||
public string W3W { get; set; } | ||
public ICollection<DepartmentCallDispatchGroupResult> GroupDispatches { get; set; } | ||
public ICollection<DepartmentCallDispatchUnitResult> UnitDispatches { get; set; } | ||
public ICollection<DepartmentCallDispatchRoleResult> RoleDispatches { get; set; } | ||
public string ContactName { get; set; } | ||
public string ContactNumber { get; set; } | ||
public bool Public { get; set; } | ||
public string ExternalIdentifier { get; set; } | ||
public string ReferenceNumber { get; set; } | ||
public List<string> GroupCodesToDispatch { get; set; } | ||
public bool AllCall { get; set; } | ||
|
||
public DepartmentCallResult() | ||
{ | ||
Dispatches = new List<DepartmentCallDispatchResult>(); | ||
GroupDispatches = new List<DepartmentCallDispatchGroupResult>(); | ||
UnitDispatches = new List<DepartmentCallDispatchUnitResult>(); | ||
RoleDispatches = new List<DepartmentCallDispatchRoleResult>(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.