From b52850fa54028336d9812a7784cf58bcd20eef8d Mon Sep 17 00:00:00 2001 From: mattwrightva <107576133+mattwrightva@users.noreply.github.com> Date: Fri, 24 Feb 2023 11:24:20 -0700 Subject: [PATCH] MHV-41829: Adjustments made to thread api (#11831) * MHV-41829: Adjustments made to thread api * MHV-41829: Thread list api query parameters changed --- lib/sm/client.rb | 4 +- .../my_health/v1/threads_controller.rb | 4 +- modules/my_health/docs/openapi.yaml | 8 ++-- modules/my_health/docs/openapi_merged.yaml | 12 +++--- .../docs/schemas/SecureMessageThread.yml | 2 +- .../spec/request/v1/threads_request_spec.rb | 9 +++-- spec/support/schemas/message_threads.json | 2 +- .../schemas_camelized/message_threads.json | 2 +- .../threads/gets_threads_in_a_folder.yml | 40 ++++++++++++------- .../gets_threads_in_a_folder_camel.yml | 40 ++++++++++++------- 10 files changed, 75 insertions(+), 48 deletions(-) diff --git a/lib/sm/client.rb b/lib/sm/client.rb index 6b1d76914d0..26e3498c46c 100644 --- a/lib/sm/client.rb +++ b/lib/sm/client.rb @@ -171,10 +171,10 @@ def get_folder_messages(user_uuid, folder_id, use_cache) # # @return [Common::Collection] # - def get_folder_threads(folder_id, page_start, page_end, sort_field, sort_order) + def get_folder_threads(folder_id, page_size, page_number, sort_field, sort_order) path = "folder/threadlistview/#{folder_id}" - params = "/pageStart/#{page_start}/pageEnd/#{page_end}/sortField/#{sort_field}/sortOrder/#{sort_order}" + params = "?pageSize=#{page_size}&pageNumber=#{page_number}&sortField=#{sort_field}&sortOrder=#{sort_order}" json = perform(:get, path + params, nil, token_headers).body diff --git a/modules/my_health/app/controllers/my_health/v1/threads_controller.rb b/modules/my_health/app/controllers/my_health/v1/threads_controller.rb index b2cba0711f5..06ba0e34d60 100644 --- a/modules/my_health/app/controllers/my_health/v1/threads_controller.rb +++ b/modules/my_health/app/controllers/my_health/v1/threads_controller.rb @@ -6,8 +6,8 @@ class ThreadsController < SMController def index resource = client.get_folder_threads( params[:folder_id].to_s, - params[:page_start], - params[:page_end], + params[:page_size], + params[:page_number], params[:sort_field], params[:sort_order] ) diff --git a/modules/my_health/docs/openapi.yaml b/modules/my_health/docs/openapi.yaml index d8709df9a4d..44890e6390d 100644 --- a/modules/my_health/docs/openapi.yaml +++ b/modules/my_health/docs/openapi.yaml @@ -134,15 +134,15 @@ paths: required: true schema: type: string - - description: Pagination start numbering + - description: The size of the pagination you want in: query - name: pageStart, + name: pageSize, required: true schema: type: string - - description: Pagination end numbering (max 100) + - description: The page number to get based on your page size in: query - name: pageEnd, + name: pageNumber, required: true schema: type: string diff --git a/modules/my_health/docs/openapi_merged.yaml b/modules/my_health/docs/openapi_merged.yaml index 84f42a411f2..014921759ab 100644 --- a/modules/my_health/docs/openapi_merged.yaml +++ b/modules/my_health/docs/openapi_merged.yaml @@ -134,15 +134,15 @@ paths: required: true schema: type: string - - description: Pagination start numbering + - description: The size of the pagination you want in: query - name: pageStart, + name: pageSize, required: true schema: type: string - - description: Pagination end numbering (max 100) + - description: The page number to get based on your page size in: query - name: pageEnd, + name: pageNumber, required: true schema: type: string @@ -1200,11 +1200,11 @@ components: category: type: string enum: - - OTHER + - OTHERS - COVID - APPOINTMENTS - MEDICATIONS - - TEST_RESULTS + - TEST_RESULT - EDUCATION example: MEDICATIONS subject: diff --git a/modules/my_health/docs/schemas/SecureMessageThread.yml b/modules/my_health/docs/schemas/SecureMessageThread.yml index 8d4d3922176..a3be0f4e89b 100644 --- a/modules/my_health/docs/schemas/SecureMessageThread.yml +++ b/modules/my_health/docs/schemas/SecureMessageThread.yml @@ -36,7 +36,7 @@ properties: example: 123 category: type: string - enum: [OTHER, COVID, APPOINTMENTS, MEDICATIONS, TEST_RESULTS, EDUCATION] + enum: [OTHERS, COVID, APPOINTMENTS, MEDICATIONS, TEST_RESULT, EDUCATION] example: MEDICATIONS subject: type: string diff --git a/modules/my_health/spec/request/v1/threads_request_spec.rb b/modules/my_health/spec/request/v1/threads_request_spec.rb index 7e15e8aeece..27ae82ed5bb 100644 --- a/modules/my_health/spec/request/v1/threads_request_spec.rb +++ b/modules/my_health/spec/request/v1/threads_request_spec.rb @@ -43,7 +43,10 @@ let(:mhv_account_type) { 'Premium' } context 'not a va patient' do - before { get "/my_health/v1/messaging/folders/#{inbox_id}/threads" } + before do + get "/my_health/v1/messaging/folders/#{inbox_id}/threads", + params: { page_size: '5', page_number: '1', sort_field: 'SENDER_NAME', sort_order: 'ASC' } + end let(:va_patient) { false } let(:current_user) do @@ -58,7 +61,7 @@ it 'responds to GET #index' do VCR.use_cassette('sm_client/threads/gets_threads_in_a_folder') do get "/my_health/v1/messaging/folders/#{inbox_id}/threads", - params: { page_start: '1', page_end: '5', sort_field: 'SENDER_NAME', sort_order: 'ASC' } + params: { page_size: '5', page_number: '1', sort_field: 'SENDER_NAME', sort_order: 'ASC' } end expect(response).to be_successful @@ -69,7 +72,7 @@ it 'responds to GET #index when camel-inflected' do VCR.use_cassette('sm_client/threads/gets_threads_in_a_folder_camel') do get "/my_health/v1/messaging/folders/#{inbox_id}/threads", - params: { page_start: '1', page_end: '5', sort_field: 'SENDER_NAME', sort_order: 'ASC' }, + params: { page_size: '5', page_number: '1', sort_field: 'SENDER_NAME', sort_order: 'ASC' }, headers: { 'X-Key-Inflection' => 'camel' } end diff --git a/spec/support/schemas/message_threads.json b/spec/support/schemas/message_threads.json index ed46d95f942..778e1cf3583 100644 --- a/spec/support/schemas/message_threads.json +++ b/spec/support/schemas/message_threads.json @@ -46,7 +46,7 @@ "COVID", "APPOINTMENTS", "MEDICATIONS", - "TEST_RESULTS", + "TEST_RESULT", "EDUCATION" ] }, diff --git a/spec/support/schemas_camelized/message_threads.json b/spec/support/schemas_camelized/message_threads.json index 9310b7ca258..0117285103a 100644 --- a/spec/support/schemas_camelized/message_threads.json +++ b/spec/support/schemas_camelized/message_threads.json @@ -46,7 +46,7 @@ "COVID", "APPOINTMENTS", "MEDICATIONS", - "TEST_RESULTS", + "TEST_RESULT", "EDUCATION" ] }, diff --git a/spec/support/vcr_cassettes/sm_client/threads/gets_threads_in_a_folder.yml b/spec/support/vcr_cassettes/sm_client/threads/gets_threads_in_a_folder.yml index 9c250f938c7..8fbf13a2765 100644 --- a/spec/support/vcr_cassettes/sm_client/threads/gets_threads_in_a_folder.yml +++ b/spec/support/vcr_cassettes/sm_client/threads/gets_threads_in_a_folder.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: "/mhv-sm-api/patient/v1/folder/threadlistview/0/pageStart/1/pageEnd/5/sortField/SENDER_NAME/sortOrder/ASC" + uri: "/mhv-sm-api/patient/v1/folder/threadlistview/0?pageNumber=1&pageSize=5&sortField=SENDER_NAME&sortOrder=ASC" body: encoding: US-ASCII string: '' @@ -22,13 +22,13 @@ http_interactions: message: OK headers: Date: - - Tue, 14 Feb 2023 20:01:34 GMT + - Fri, 24 Feb 2023 17:13:11 GMT Content-Type: - application/json Content-Length: - - '634' + - '872' X-Amzn-Requestid: - - 38c684ff-57e6-4beb-9987-f366f1c26f3c + - 99a70b0b-6b64-4c19-bfbc-22f47a387d1b X-Xss-Protection: - 1; mode=block Strict-Transport-Security: @@ -38,7 +38,7 @@ http_interactions: X-Amzn-Remapped-Connection: - close X-Amz-Apigw-Id: - - AWFI0FWTPHMFQrA= + - A2p2KEKiPHMFntQ= Cache-Control: - no-cache, no-store, max-age=0, must-revalidate X-Content-Type-Options: @@ -46,22 +46,34 @@ http_interactions: Expires: - '0' X-Amzn-Trace-Id: - - Root=1-63ebe89e-2c461b0e3b9718fe4033222e;Sampled=0 + - Root=1-63f8f027-459a6d4102917ab27a98d429;Sampled=0 Pragma: - no-cache X-Amzn-Remapped-Date: - - Tue, 14 Feb 2023 20:01:34 GMT + - Fri, 24 Feb 2023 17:13:11 GMT body: encoding: ASCII-8BIT - string: '[{"threadId":7065799,"folderId":0,"messageId":7066101,"threadPageSize":454,"messageCount":3,"category":"APPOINTMENTS","subject":"test","triageGroupName":"TIU - Call Back Test T&G 001*****Mohammad_SLC4","sentDate":"2021-11-18T15:29:49.000+00:00","draftDate":null,"senderId":6897060,"senderName":"AARDAL, - JONATHAN M","recipientName":"ECSTEN, THOMAS ","recipientId":6820911,"proxySenderName":null,"hasAttachment":false,"unsentDrafts":false,"unreadMessages":true},{"threadId":7065496,"folderId":0,"messageId":7066097,"threadPageSize":454,"messageCount":3,"category":"APPOINTMENTS","subject":"Appointment","triageGroupName":"David_PatientPreferencesTest1","sentDate":"2021-11-18T14:54:16.000+00:00","draftDate":null,"senderId":6865806,"senderName":"GARY, - KENNETH E","recipientName":"ECSTEN, THOMAS ","recipientId":6820911,"proxySenderName":null,"hasAttachment":false,"unsentDrafts":false,"unreadMessages":true},{"threadId":7065567,"folderId":0,"messageId":7066088,"threadPageSize":454,"messageCount":3,"category":"OTHERS","subject":"General","triageGroupName":"adfasfasfasdsd","sentDate":"2021-11-18T14:46:49.000+00:00","draftDate":null,"senderId":6865806,"senderName":"GARY, - KENNETH E","recipientName":"ECSTEN, THOMAS ","recipientId":6820911,"proxySenderName":null,"hasAttachment":false,"unsentDrafts":false,"unreadMessages":true},{"threadId":7268557,"folderId":0,"messageId":7297917,"threadPageSize":454,"messageCount":2,"category":"APPOINTMENTS","subject":"foo","triageGroupName":"***Mohammad_Fort + string: '[{"threadId":7298505,"folderId":0,"messageId":7298506,"threadPageSize":454,"messageCount":1,"category":"EDUCATION","subject":"Education + Inquiry","triageGroupName":"WORKLOAD CAPTURE_SLC 4_Mohammad","sentDate":"2023-02-15T17:01:55.000+00:00","draftDate":null,"senderId":20029,"senderName":"ISLAM, + MOHAMMAD RAFIQ","recipientName":"ECSTEN, THOMAS ","recipientId":6820911,"proxySenderName":null,"hasAttachment":false,"unsentDrafts":false,"unreadMessages":false},{"threadId":7268557,"folderId":0,"messageId":7297917,"threadPageSize":454,"messageCount":2,"category":"APPOINTMENTS","subject":"foo","triageGroupName":"***Mohammad_Fort Belovoir TG 100_SLC4%","sentDate":"2023-02-13T16:56:58.000+00:00","draftDate":null,"senderId":20029,"senderName":"ISLAM, MOHAMMAD RAFIQ","recipientName":"ECSTEN, THOMAS ","recipientId":6820911,"proxySenderName":null,"hasAttachment":false,"unsentDrafts":false,"unreadMessages":true},{"threadId":7292354,"folderId":0,"messageId":7292355,"threadPageSize":454,"messageCount":1,"category":"OTHERS","subject":"DG MESSAGE || NO ATTACHMENT","triageGroupName":"****ABCUS***HIBERNET***TG || SLC4","sentDate":"2023-02-02T16:55:48.000+00:00","draftDate":null,"senderId":20029,"senderName":"ISLAM, - MOHAMMAD RAFIQ","recipientName":"BNP!!! TEST DG_SLC4","recipientId":7218891,"proxySenderName":null,"hasAttachment":false,"unsentDrafts":false,"unreadMessages":false}]' - recorded_at: Tue, 14 Feb 2023 20:01:34 GMT + MOHAMMAD RAFIQ","recipientName":"BNP!!! TEST DG_SLC4","recipientId":7218891,"proxySenderName":null,"hasAttachment":false,"unsentDrafts":false,"unreadMessages":false},{"threadId":7232798,"folderId":0,"messageId":7232799,"threadPageSize":454,"messageCount":1,"category":"OTHERS","subject":"DG + MESSAGE","triageGroupName":"***Mohammad_Fort Belovoir TG 200_APPT_SLC4%","sentDate":"2022-12-06T21:21:31.000+00:00","draftDate":null,"senderId":20029,"senderName":"ISLAM, + MOHAMMAD RAFIQ","recipientName":"BNP!!! TEST DG_SLC4","recipientId":7218891,"proxySenderName":null,"hasAttachment":true,"unsentDrafts":false,"unreadMessages":false},{"threadId":7231443,"folderId":0,"messageId":7231444,"threadPageSize":454,"messageCount":1,"category":"OTHERS","subject":"DG + MESSAGE 009","triageGroupName":"***Mohammad_Fort Belovoir TG 100_SLC4%","sentDate":"2022-12-02T21:45:18.000+00:00","draftDate":null,"senderId":20029,"senderName":"ISLAM, + MOHAMMAD RAFIQ","recipientName":"BNP!!! TEST DG_SLC4","recipientId":7218891,"proxySenderName":null,"hasAttachment":true,"unsentDrafts":false,"unreadMessages":false},{"threadId":7231389,"folderId":0,"messageId":7231390,"threadPageSize":454,"messageCount":1,"category":"OTHERS","subject":"DXP: + DG MESSAGE","triageGroupName":"EXTRA_LONG_TRIAGE GROUP_NAME_0045678_FACILITY_SLC4","sentDate":"2022-12-02T18:44:40.000+00:00","draftDate":null,"senderId":20029,"senderName":"ISLAM, + MOHAMMAD RAFIQ","recipientName":"BNP!!! TEST DG_SLC4","recipientId":7218891,"proxySenderName":null,"hasAttachment":true,"unsentDrafts":false,"unreadMessages":false},{"threadId":7230620,"folderId":0,"messageId":7230621,"threadPageSize":454,"messageCount":1,"category":"TEST_RESULT","subject":"Test + Inquiry","triageGroupName":"TIU Call Back Test T&G 001*****Mohammad_SLC4","sentDate":"2022-11-22T21:34:38.000+00:00","draftDate":null,"senderId":20029,"senderName":"ISLAM, + MOHAMMAD RAFIQ","recipientName":"BNP!!! TEST DG_SLC4","recipientId":7218891,"proxySenderName":null,"hasAttachment":true,"unsentDrafts":false,"unreadMessages":false},{"threadId":7073605,"folderId":0,"messageId":7227114,"threadPageSize":454,"messageCount":4,"category":"MEDICATIONS","subject":"Medication + Inquiry","triageGroupName":"***Jeasmitha-Cardio-Clinic***","sentDate":"2022-11-16T21:43:53.000+00:00","draftDate":null,"senderId":6874030,"senderName":"JONNALAGADDA, + GEETHA ","recipientName":"ECSTEN, THOMAS ","recipientId":6820911,"proxySenderName":null,"hasAttachment":false,"unsentDrafts":false,"unreadMessages":false},{"threadId":7217443,"folderId":0,"messageId":7227081,"threadPageSize":454,"messageCount":2,"category":"OTHERS","subject":"THOMAS + 1","triageGroupName":"***Mohammad_Fort Belovoir TG 200_APPT_SLC4%","sentDate":"2022-11-16T21:05:46.000+00:00","draftDate":null,"senderId":20029,"senderName":"ISLAM, + MOHAMMAD RAFIQ","recipientName":"ECSTEN, THOMAS ","recipientId":6820911,"proxySenderName":null,"hasAttachment":true,"unsentDrafts":false,"unreadMessages":false},{"threadId":7218923,"folderId":0,"messageId":7218924,"threadPageSize":454,"messageCount":1,"category":"OTHERS","subject":"DG + MESSAGE "BNP"","triageGroupName":"***Mohammad_Fort Belovoir TG 100_SLC4%","sentDate":"2022-11-04T14:23:26.000+00:00","draftDate":null,"senderId":20029,"senderName":"ISLAM, + MOHAMMAD RAFIQ","recipientName":"BNP!!! TEST DG_SLC4","recipientId":7218891,"proxySenderName":null,"hasAttachment":true,"unsentDrafts":false,"unreadMessages":false}]' + recorded_at: Fri, 24 Feb 2023 17:13:11 GMT recorded_with: VCR 6.1.0 diff --git a/spec/support/vcr_cassettes/sm_client/threads/gets_threads_in_a_folder_camel.yml b/spec/support/vcr_cassettes/sm_client/threads/gets_threads_in_a_folder_camel.yml index 6da47094356..10b402c3b1a 100644 --- a/spec/support/vcr_cassettes/sm_client/threads/gets_threads_in_a_folder_camel.yml +++ b/spec/support/vcr_cassettes/sm_client/threads/gets_threads_in_a_folder_camel.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: "/mhv-sm-api/patient/v1/folder/threadlistview/0/pageStart/1/pageEnd/5/sortField/SENDER_NAME/sortOrder/ASC" + uri: "/mhv-sm-api/patient/v1/folder/threadlistview/0?pageNumber=1&pageSize=5&sortField=SENDER_NAME&sortOrder=ASC" body: encoding: US-ASCII string: '' @@ -22,13 +22,13 @@ http_interactions: message: OK headers: Date: - - Tue, 14 Feb 2023 20:26:58 GMT + - Fri, 24 Feb 2023 17:13:12 GMT Content-Type: - application/json Content-Length: - - '634' + - '872' X-Amzn-Requestid: - - 7a5c0bbc-ff3a-48c2-abc1-0a18369f3e6a + - 1b70103e-760a-4a73-a8ad-c72c53f3c991 X-Xss-Protection: - 1; mode=block Strict-Transport-Security: @@ -38,7 +38,7 @@ http_interactions: X-Amzn-Remapped-Connection: - close X-Amz-Apigw-Id: - - AWI25F3kPHMFkXA= + - A2p2RGPKPHMFZUw= Cache-Control: - no-cache, no-store, max-age=0, must-revalidate X-Content-Type-Options: @@ -46,22 +46,34 @@ http_interactions: Expires: - '0' X-Amzn-Trace-Id: - - Root=1-63ebee92-57c5f74500a1180734e018c1;Sampled=0 + - Root=1-63f8f027-0ca1cfc63386f43c494a3562;Sampled=0 Pragma: - no-cache X-Amzn-Remapped-Date: - - Tue, 14 Feb 2023 20:26:58 GMT + - Fri, 24 Feb 2023 17:13:12 GMT body: encoding: ASCII-8BIT - string: '[{"threadId":7065799,"folderId":0,"messageId":7066101,"threadPageSize":454,"messageCount":3,"category":"APPOINTMENTS","subject":"test","triageGroupName":"TIU - Call Back Test T&G 001*****Mohammad_SLC4","sentDate":"2021-11-18T15:29:49.000+00:00","draftDate":null,"senderId":6897060,"senderName":"AARDAL, - JONATHAN M","recipientName":"ECSTEN, THOMAS ","recipientId":6820911,"proxySenderName":null,"hasAttachment":false,"unsentDrafts":false,"unreadMessages":true},{"threadId":7065496,"folderId":0,"messageId":7066097,"threadPageSize":454,"messageCount":3,"category":"APPOINTMENTS","subject":"Appointment","triageGroupName":"David_PatientPreferencesTest1","sentDate":"2021-11-18T14:54:16.000+00:00","draftDate":null,"senderId":6865806,"senderName":"GARY, - KENNETH E","recipientName":"ECSTEN, THOMAS ","recipientId":6820911,"proxySenderName":null,"hasAttachment":false,"unsentDrafts":false,"unreadMessages":true},{"threadId":7065567,"folderId":0,"messageId":7066088,"threadPageSize":454,"messageCount":3,"category":"OTHERS","subject":"General","triageGroupName":"adfasfasfasdsd","sentDate":"2021-11-18T14:46:49.000+00:00","draftDate":null,"senderId":6865806,"senderName":"GARY, - KENNETH E","recipientName":"ECSTEN, THOMAS ","recipientId":6820911,"proxySenderName":null,"hasAttachment":false,"unsentDrafts":false,"unreadMessages":true},{"threadId":7268557,"folderId":0,"messageId":7297917,"threadPageSize":454,"messageCount":2,"category":"APPOINTMENTS","subject":"foo","triageGroupName":"***Mohammad_Fort + string: '[{"threadId":7298505,"folderId":0,"messageId":7298506,"threadPageSize":454,"messageCount":1,"category":"EDUCATION","subject":"Education + Inquiry","triageGroupName":"WORKLOAD CAPTURE_SLC 4_Mohammad","sentDate":"2023-02-15T17:01:55.000+00:00","draftDate":null,"senderId":20029,"senderName":"ISLAM, + MOHAMMAD RAFIQ","recipientName":"ECSTEN, THOMAS ","recipientId":6820911,"proxySenderName":null,"hasAttachment":false,"unsentDrafts":false,"unreadMessages":false},{"threadId":7268557,"folderId":0,"messageId":7297917,"threadPageSize":454,"messageCount":2,"category":"APPOINTMENTS","subject":"foo","triageGroupName":"***Mohammad_Fort Belovoir TG 100_SLC4%","sentDate":"2023-02-13T16:56:58.000+00:00","draftDate":null,"senderId":20029,"senderName":"ISLAM, MOHAMMAD RAFIQ","recipientName":"ECSTEN, THOMAS ","recipientId":6820911,"proxySenderName":null,"hasAttachment":false,"unsentDrafts":false,"unreadMessages":true},{"threadId":7292354,"folderId":0,"messageId":7292355,"threadPageSize":454,"messageCount":1,"category":"OTHERS","subject":"DG MESSAGE || NO ATTACHMENT","triageGroupName":"****ABCUS***HIBERNET***TG || SLC4","sentDate":"2023-02-02T16:55:48.000+00:00","draftDate":null,"senderId":20029,"senderName":"ISLAM, - MOHAMMAD RAFIQ","recipientName":"BNP!!! TEST DG_SLC4","recipientId":7218891,"proxySenderName":null,"hasAttachment":false,"unsentDrafts":false,"unreadMessages":false}]' - recorded_at: Tue, 14 Feb 2023 20:26:58 GMT + MOHAMMAD RAFIQ","recipientName":"BNP!!! TEST DG_SLC4","recipientId":7218891,"proxySenderName":null,"hasAttachment":false,"unsentDrafts":false,"unreadMessages":false},{"threadId":7232798,"folderId":0,"messageId":7232799,"threadPageSize":454,"messageCount":1,"category":"OTHERS","subject":"DG + MESSAGE","triageGroupName":"***Mohammad_Fort Belovoir TG 200_APPT_SLC4%","sentDate":"2022-12-06T21:21:31.000+00:00","draftDate":null,"senderId":20029,"senderName":"ISLAM, + MOHAMMAD RAFIQ","recipientName":"BNP!!! TEST DG_SLC4","recipientId":7218891,"proxySenderName":null,"hasAttachment":true,"unsentDrafts":false,"unreadMessages":false},{"threadId":7231443,"folderId":0,"messageId":7231444,"threadPageSize":454,"messageCount":1,"category":"OTHERS","subject":"DG + MESSAGE 009","triageGroupName":"***Mohammad_Fort Belovoir TG 100_SLC4%","sentDate":"2022-12-02T21:45:18.000+00:00","draftDate":null,"senderId":20029,"senderName":"ISLAM, + MOHAMMAD RAFIQ","recipientName":"BNP!!! TEST DG_SLC4","recipientId":7218891,"proxySenderName":null,"hasAttachment":true,"unsentDrafts":false,"unreadMessages":false},{"threadId":7231389,"folderId":0,"messageId":7231390,"threadPageSize":454,"messageCount":1,"category":"OTHERS","subject":"DXP: + DG MESSAGE","triageGroupName":"EXTRA_LONG_TRIAGE GROUP_NAME_0045678_FACILITY_SLC4","sentDate":"2022-12-02T18:44:40.000+00:00","draftDate":null,"senderId":20029,"senderName":"ISLAM, + MOHAMMAD RAFIQ","recipientName":"BNP!!! TEST DG_SLC4","recipientId":7218891,"proxySenderName":null,"hasAttachment":true,"unsentDrafts":false,"unreadMessages":false},{"threadId":7230620,"folderId":0,"messageId":7230621,"threadPageSize":454,"messageCount":1,"category":"TEST_RESULT","subject":"Test + Inquiry","triageGroupName":"TIU Call Back Test T&G 001*****Mohammad_SLC4","sentDate":"2022-11-22T21:34:38.000+00:00","draftDate":null,"senderId":20029,"senderName":"ISLAM, + MOHAMMAD RAFIQ","recipientName":"BNP!!! TEST DG_SLC4","recipientId":7218891,"proxySenderName":null,"hasAttachment":true,"unsentDrafts":false,"unreadMessages":false},{"threadId":7073605,"folderId":0,"messageId":7227114,"threadPageSize":454,"messageCount":4,"category":"MEDICATIONS","subject":"Medication + Inquiry","triageGroupName":"***Jeasmitha-Cardio-Clinic***","sentDate":"2022-11-16T21:43:53.000+00:00","draftDate":null,"senderId":6874030,"senderName":"JONNALAGADDA, + GEETHA ","recipientName":"ECSTEN, THOMAS ","recipientId":6820911,"proxySenderName":null,"hasAttachment":false,"unsentDrafts":false,"unreadMessages":false},{"threadId":7217443,"folderId":0,"messageId":7227081,"threadPageSize":454,"messageCount":2,"category":"OTHERS","subject":"THOMAS + 1","triageGroupName":"***Mohammad_Fort Belovoir TG 200_APPT_SLC4%","sentDate":"2022-11-16T21:05:46.000+00:00","draftDate":null,"senderId":20029,"senderName":"ISLAM, + MOHAMMAD RAFIQ","recipientName":"ECSTEN, THOMAS ","recipientId":6820911,"proxySenderName":null,"hasAttachment":true,"unsentDrafts":false,"unreadMessages":false},{"threadId":7218923,"folderId":0,"messageId":7218924,"threadPageSize":454,"messageCount":1,"category":"OTHERS","subject":"DG + MESSAGE "BNP"","triageGroupName":"***Mohammad_Fort Belovoir TG 100_SLC4%","sentDate":"2022-11-04T14:23:26.000+00:00","draftDate":null,"senderId":20029,"senderName":"ISLAM, + MOHAMMAD RAFIQ","recipientName":"BNP!!! TEST DG_SLC4","recipientId":7218891,"proxySenderName":null,"hasAttachment":true,"unsentDrafts":false,"unreadMessages":false}]' + recorded_at: Fri, 24 Feb 2023 17:13:12 GMT recorded_with: VCR 6.1.0