vcr/cassettes/features/case_workers/claims/injection_error.yml
---
http_interactions:
- request:
method: get
uri: http://localhost:3001/api/case_workers/claims?api_key=e21a6099-56d9-4697-bd62-441a4b04ed8c&direction=asc&limit=10&page=0&search&sorting=last_submitted_at&status=current
body:
encoding: US-ASCII
string: ''
headers:
X-Forwarded-Proto:
- https
X-Forwarded-Ssl:
- 'on'
User-Agent:
- Faraday v2.9.0
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
response:
status:
code: 200
message: OK
headers:
Content-Type:
- application/json
Vary:
- Accept-Encoding
Etag:
- W/"27fa92c759b85f1d805e5170b82a4e4c"
Cache-Control:
- max-age=0, private, must-revalidate
X-Meta-Request-Version:
- 0.8.2
X-Request-Id:
- 8c18d5b7-34b6-4add-a93d-667dae4a1a45
X-Runtime:
- '0.129078'
Content-Length:
- '1746'
body:
encoding: ASCII-8BIT
string: '{"pagination":{"current_page":1,"total_pages":1,"total_count":1,"limit_value":10},"items":[{"id":1,"uuid":"fb985a94-8167-4704-8191-552a186ef8e2","case_number":"A20161234","state":"allocated","type":"Claim::AdvocateClaim","last_submitted_at":"2024-04-25T11:39:29Z","total":0.0,"vat_amount":0.0,"opened_for_redetermination":false,"written_reasons_outstanding":false,"disk_evidence":false,"prosecution_evidence":null,"messages_count":0,"unread_messages_count":0,"external_user":{"id":1,"uuid":"c453b884-da9c-4c1a-81cd-49e84980eba7","first_name":"Wilbur","last_name":"Rosenbaum","email":"ivan_effertz@mills-conn.test"},"defendants":[{"id":1,"uuid":"94321837-3fcc-4874-8180-4b50bba7134d","first_name":"Khadijah","last_name":"Stiedemann","date_of_birth":"1994-04-25","representation_orders":[{"id":1,"uuid":"c50f8ac9-b26f-455c-8872-c513d94fe95c","maat_reference":"6278484","date":"2016-01-01"},{"id":2,"uuid":"1eba0f7e-aff0-4579-aecd-12280f1ae4cd","maat_reference":"4158877","date":"2023-04-11"}]}],"case_type":{"id":68,"name":"Case
Type 13","is_fixed_fee":false,"requires_cracked_dates":false,"requires_trial_dates":false,"allow_pcmh_fee_type":false,"requires_maat_reference":true,"requires_retrial_dates":false,"roles":["agfs","lgfs"],"fee_type_code":null},"injection_attempts":[{"succeeded":false,"error_messages":["injection
error 1","injection error 2"],"deleted_at":null}],"case_workers":[{"id":2,"uuid":"d5edb7e2-a9b1-440f-94da-5fc419999d57","first_name":"Cordell","last_name":"Nikolaus","email":"cordell.nikolaus@laa.gov.uk"},{"id":1,"uuid":"274e70e2-8c64-4fef-821b-8f12c1d2a8cb","first_name":"Burl","last_name":"Cremin","email":"burl.cremin@laa.gov.uk"}],"court":{"id":336,"code":"ELB-13","name":"Predovic
and Sons-13","court_type":"crown"}}]}'
recorded_at: Thu, 25 Apr 2024 11:39:30 GMT
- request:
method: get
uri: http://localhost:3001/api/case_workers/claims?api_key=e21a6099-56d9-4697-bd62-441a4b04ed8c&direction=asc&limit=10&page=0&search&sorting=last_submitted_at&status=current
body:
encoding: US-ASCII
string: ''
headers:
X-Forwarded-Proto:
- https
X-Forwarded-Ssl:
- 'on'
User-Agent:
- Faraday v2.9.0
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
response:
status:
code: 200
message: OK
headers:
Content-Type:
- application/json
Vary:
- Accept-Encoding
Etag:
- W/"c8b451bd2cb09588eff671fc44bf8445"
Cache-Control:
- max-age=0, private, must-revalidate
X-Meta-Request-Version:
- 0.8.2
X-Request-Id:
- fb83ed61-220c-4938-8945-c0dadc9f406b
X-Runtime:
- '0.050717'
Content-Length:
- '1746'
body:
encoding: ASCII-8BIT
string: '{"pagination":{"current_page":1,"total_pages":1,"total_count":1,"limit_value":10},"items":[{"id":1,"uuid":"fb985a94-8167-4704-8191-552a186ef8e2","case_number":"A20161234","state":"allocated","type":"Claim::AdvocateClaim","last_submitted_at":"2024-04-25T11:39:29Z","total":0.0,"vat_amount":0.0,"opened_for_redetermination":false,"written_reasons_outstanding":false,"disk_evidence":false,"prosecution_evidence":null,"messages_count":0,"unread_messages_count":0,"external_user":{"id":1,"uuid":"c453b884-da9c-4c1a-81cd-49e84980eba7","first_name":"Wilbur","last_name":"Rosenbaum","email":"ivan_effertz@mills-conn.test"},"defendants":[{"id":1,"uuid":"94321837-3fcc-4874-8180-4b50bba7134d","first_name":"Khadijah","last_name":"Stiedemann","date_of_birth":"1994-04-25","representation_orders":[{"id":1,"uuid":"c50f8ac9-b26f-455c-8872-c513d94fe95c","maat_reference":"6278484","date":"2016-01-01"},{"id":2,"uuid":"1eba0f7e-aff0-4579-aecd-12280f1ae4cd","maat_reference":"4158877","date":"2023-04-11"}]}],"case_type":{"id":68,"name":"Case
Type 13","is_fixed_fee":false,"requires_cracked_dates":false,"requires_trial_dates":false,"allow_pcmh_fee_type":false,"requires_maat_reference":true,"requires_retrial_dates":false,"roles":["agfs","lgfs"],"fee_type_code":null},"injection_attempts":[{"succeeded":false,"error_messages":["injection
error 1","injection error 2"],"deleted_at":null}],"case_workers":[{"id":2,"uuid":"d5edb7e2-a9b1-440f-94da-5fc419999d57","first_name":"Cordell","last_name":"Nikolaus","email":"cordell.nikolaus@laa.gov.uk"},{"id":1,"uuid":"274e70e2-8c64-4fef-821b-8f12c1d2a8cb","first_name":"Burl","last_name":"Cremin","email":"burl.cremin@laa.gov.uk"}],"court":{"id":336,"code":"ELB-13","name":"Predovic
and Sons-13","court_type":"crown"}}]}'
recorded_at: Thu, 25 Apr 2024 11:39:31 GMT
- request:
method: get
uri: http://localhost:3001/api/case_workers/claims?api_key=e21a6099-56d9-4697-bd62-441a4b04ed8c&direction=asc&limit=10&page=0&search&sorting=last_submitted_at&status=current
body:
encoding: US-ASCII
string: ''
headers:
X-Forwarded-Proto:
- https
X-Forwarded-Ssl:
- 'on'
User-Agent:
- Faraday v2.9.0
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
response:
status:
code: 200
message: OK
headers:
Content-Type:
- application/json
Vary:
- Accept-Encoding
Etag:
- W/"714f7d512b26ab8f995b79858e3e4895"
Cache-Control:
- max-age=0, private, must-revalidate
X-Meta-Request-Version:
- 0.8.2
X-Request-Id:
- bb2dfb77-0b58-439a-8dab-68722a6cc1f4
X-Runtime:
- '0.035733'
Content-Length:
- '1769'
body:
encoding: ASCII-8BIT
string: '{"pagination":{"current_page":1,"total_pages":1,"total_count":1,"limit_value":10},"items":[{"id":1,"uuid":"fb985a94-8167-4704-8191-552a186ef8e2","case_number":"A20161234","state":"allocated","type":"Claim::AdvocateClaim","last_submitted_at":"2024-04-25T11:39:29Z","total":0.0,"vat_amount":0.0,"opened_for_redetermination":false,"written_reasons_outstanding":false,"disk_evidence":false,"prosecution_evidence":null,"messages_count":0,"unread_messages_count":0,"external_user":{"id":1,"uuid":"c453b884-da9c-4c1a-81cd-49e84980eba7","first_name":"Wilbur","last_name":"Rosenbaum","email":"ivan_effertz@mills-conn.test"},"defendants":[{"id":1,"uuid":"94321837-3fcc-4874-8180-4b50bba7134d","first_name":"Khadijah","last_name":"Stiedemann","date_of_birth":"1994-04-25","representation_orders":[{"id":1,"uuid":"c50f8ac9-b26f-455c-8872-c513d94fe95c","maat_reference":"6278484","date":"2016-01-01"},{"id":2,"uuid":"1eba0f7e-aff0-4579-aecd-12280f1ae4cd","maat_reference":"4158877","date":"2023-04-11"}]}],"case_type":{"id":68,"name":"Case
Type 13","is_fixed_fee":false,"requires_cracked_dates":false,"requires_trial_dates":false,"allow_pcmh_fee_type":false,"requires_maat_reference":true,"requires_retrial_dates":false,"roles":["agfs","lgfs"],"fee_type_code":null},"injection_attempts":[{"succeeded":false,"error_messages":["injection
error 1","injection error 2"],"deleted_at":"2024-04-25T12:39:31+01:00"}],"case_workers":[{"id":2,"uuid":"d5edb7e2-a9b1-440f-94da-5fc419999d57","first_name":"Cordell","last_name":"Nikolaus","email":"cordell.nikolaus@laa.gov.uk"},{"id":1,"uuid":"274e70e2-8c64-4fef-821b-8f12c1d2a8cb","first_name":"Burl","last_name":"Cremin","email":"burl.cremin@laa.gov.uk"}],"court":{"id":336,"code":"ELB-13","name":"Predovic
and Sons-13","court_type":"crown"}}]}'
recorded_at: Thu, 25 Apr 2024 11:39:32 GMT
recorded_with: VCR 6.2.0