-
-
Notifications
You must be signed in to change notification settings - Fork 76
Develop #227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Develop #227
Changes from 2 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
f027617
CU-3w8z67w Added API call for contact notes.
ucswift dc09caa
CU-3w8z67w Adding in call files head support
ucswift 785502e
Update Web/Resgrid.Web.Services/Controllers/v4/ContactsController.cs
ucswift 816e708
Update Web/Resgrid.Web.Services/Controllers/v4/ContactsController.cs
ucswift 311d40d
Update Web/Resgrid.Web.Services/Controllers/v4/ContactsController.cs
ucswift File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
68 changes: 68 additions & 0 deletions
68
Web/Resgrid.Web.Services/Models/v4/Contacts/ContactNotesResult.cs
This file contains hidden or 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,68 @@ | ||
| using System; | ||
| using Resgrid.Web.Services.Models.v4.CallTypes; | ||
| using System.Collections.Generic; | ||
| using Humanizer; | ||
|
|
||
| namespace Resgrid.Web.Services.Models.v4.Contacts | ||
| { | ||
| /// <summary> | ||
| /// Gets the notes for a contact | ||
| /// </summary> | ||
| public class ContactNotesResult : StandardApiResponseV4Base | ||
| { | ||
| /// <summary> | ||
| /// Response Data | ||
| /// </summary> | ||
| public List<ContactNoteResultData> Data { get; set; } | ||
|
|
||
| /// <summary> | ||
| /// Default constructor | ||
| /// </summary> | ||
| public ContactNotesResult() | ||
| { | ||
| Data = new List<ContactNoteResultData>(); | ||
| } | ||
| } | ||
|
|
||
| /// <summary> | ||
| /// A contact note | ||
| /// </summary> | ||
| public class ContactNoteResultData | ||
| { | ||
| public string ContactNoteId { get; set; } | ||
|
|
||
| public string ContactId { get; set; } | ||
|
|
||
| public string ContactNoteTypeId { get; set; } | ||
|
|
||
| public string Note { get; set; } | ||
|
|
||
| public string NoteType { get; set; } | ||
|
|
||
| public bool ShouldAlert { get; set; } | ||
|
|
||
| public int Visibility { get; set; } // 0 Internal, 1 Visible to Client | ||
|
|
||
| public DateTime? ExpiresOnUtc { get; set; } | ||
|
|
||
| public string ExpiresOn { get; set; } | ||
|
|
||
| public bool IsDeleted { get; set; } | ||
|
|
||
| public DateTime AddedOnUtc { get; set; } | ||
|
|
||
| public string AddedOn { get; set; } | ||
|
|
||
| public string AddedByUserId { get; set; } | ||
|
|
||
| public string AddedByName { get; set; } | ||
|
|
||
| public DateTime? EditedOnUtc { get; set; } | ||
|
|
||
| public string EditedOn { get; set; } | ||
|
|
||
| public string EditedByUserId { get; set; } | ||
|
|
||
| public string EditedByName { get; set; } | ||
| } | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.