usps-imis-api 1.0.0.pre.rc.8 → 1.0.0.pre.rc.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +4 -0
- data/Gemfile.lock +20 -2
- data/Readme.md +2 -0
- data/lib/usps/imis/api.rb +11 -12
- data/lib/usps/imis/business_object.rb +7 -8
- data/lib/usps/imis/data.rb +4 -0
- data/lib/usps/imis/error.rb +1 -1
- data/lib/usps/imis/query.rb +50 -18
- data/lib/usps/imis/requests.rb +7 -3
- data/lib/usps/imis/version.rb +1 -1
- data/spec/fixtures/vcr_cassettes/.keep +0 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Api/_authorize/automatically_refreshes_an_expired_token.yml +67 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Api/_imis_id_for/gets_the_iMIS_ID.yml +131 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Api/_imis_id_for/with_a_query_error/wraps_errors.yml +67 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Api/_inspect/does_not_show_the_token_instance_variable.yml +67 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Api/_inspect/is_configured_to_exclude_the_token_instance_variable.yml +67 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Api/_on/chains_with_on_to_a_single_block.yml +256 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Api/_on/nests_on_and_with.yml +256 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Api/_on/returns_a_BusinessObject_without_a_block.yml +67 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Api/_on/sends_an_update_from_put.yml +256 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Api/_put/sends_an_update.yml +256 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Api/_put/when_receiving_a_response_error/wraps_the_error.yml +67 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Api/_query/collects_all_query_results.yml +67 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Api/_with/blocks_calling_imis_id_.yml +67 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Api/_with/blocks_calling_imis_id_for.yml +67 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Api/_with/sends_an_update_from_put.yml +256 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Api/_with/sends_an_update_from_update.yml +256 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Api/_with/uses_a_panel_correctly.yml +145 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Api/stores_the_initial_imis_id.yml +67 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_BusinessObject/_put_field/submits_the_correct_update_request.yml +627 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_BusinessObject/with_stubbed_data/_filter_fields/formats_fields_correctly.yml +67 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_BusinessObject/with_stubbed_data/_get/delegation_to_get_fields/delegates_to_get_fields.yml +67 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_BusinessObject/with_stubbed_data/_get/returns_multiple_values.yml +67 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_BusinessObject/with_stubbed_data/_get_field/returns_a_string_value.yml +67 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_BusinessObject/with_stubbed_data/_get_field/returns_an_integer_value.yml +67 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_BusinessObject/with_stubbed_data/_get_fields/returns_multiple_values.yml +67 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Mapper/_fetch/fetches_a_mapped_field.yml +158 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Mapper/_fetch/raises_for_unmapped_updates.yml +67 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Mapper/_fetch/supports_Hash_access_syntax.yml +158 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Mapper/_fetch/supports_Hash_access_syntax_on_the_Api_directly.yml +158 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Mapper/_update/raises_for_unmapped_updates.yml +67 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Mapper/_update/sends_a_mapped_update.yml +256 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Mapper/initialize_with_imis_id/stores_the_initial_imis_id.yml +67 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Panels_BasePanel/requires_business_object_to_be_defined.yml +67 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Panels_BasePanel/requires_payload_data_to_be_defined.yml +67 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Panels_Education/api_example/_get/loads_a_specific_object.yml +146 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Panels_Education/api_example/_get/returns_specific_fields.yml +146 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Panels_Education/api_example/_get_field/returns_a_specific_field.yml +146 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Panels_Education/api_example/_get_fields/returns_specific_fields.yml +146 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Panels_Education/api_example/interacts_with_records_correctly.yml +495 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Panels_Education/initialization_with_ID/can_initialize_with_an_iMIS_ID.yml +67 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Panels_Vsc/_get/loads_a_specific_object.yml +145 -0
- data/spec/fixtures/vcr_cassettes/Usps_Imis_Panels_Vsc/handles_new_records_correctly.yml +319 -0
- data/spec/lib/usps/imis/api_spec.rb +4 -14
- data/spec/lib/usps/imis/business_object_spec.rb +1 -1
- data/spec/lib/usps/imis/data_spec.rb +9 -0
- data/spec/lib/usps/imis/mapper_spec.rb +1 -1
- data/spec/lib/usps/imis/panels/base_panel_spec.rb +1 -1
- data/spec/lib/usps/imis/panels/education_spec.rb +1 -1
- data/spec/lib/usps/imis/panels/vsc_spec.rb +1 -1
- data/spec/spec_helper.rb +40 -0
- metadata +44 -1
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: post
|
|
5
|
+
uri: https://abcdev.imiscloud.com/Token
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: grant_type=password&username=<USERNAME>&password=<PASSWORD>
|
|
9
|
+
headers:
|
|
10
|
+
Accept-Encoding:
|
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
12
|
+
Accept:
|
|
13
|
+
- "*/*"
|
|
14
|
+
User-Agent:
|
|
15
|
+
- Ruby
|
|
16
|
+
Host:
|
|
17
|
+
- abcdev.imiscloud.com
|
|
18
|
+
response:
|
|
19
|
+
status:
|
|
20
|
+
code: 200
|
|
21
|
+
message: OK
|
|
22
|
+
headers:
|
|
23
|
+
Date:
|
|
24
|
+
- Sun, 26 Oct 2025 01:24:35 GMT
|
|
25
|
+
Content-Type:
|
|
26
|
+
- application/json; charset=UTF-8
|
|
27
|
+
Transfer-Encoding:
|
|
28
|
+
- chunked
|
|
29
|
+
Connection:
|
|
30
|
+
- keep-alive
|
|
31
|
+
Server:
|
|
32
|
+
- cloudflare
|
|
33
|
+
Cf-Ray:
|
|
34
|
+
- 994627ac5ad9eacf-ORD
|
|
35
|
+
Cf-Cache-Status:
|
|
36
|
+
- DYNAMIC
|
|
37
|
+
Access-Control-Allow-Origin:
|
|
38
|
+
- "*"
|
|
39
|
+
Cache-Control:
|
|
40
|
+
- no-cache
|
|
41
|
+
Expires:
|
|
42
|
+
- "-1"
|
|
43
|
+
Strict-Transport-Security:
|
|
44
|
+
- max-age=31536000
|
|
45
|
+
Vary:
|
|
46
|
+
- Accept-Encoding,Accept-Encoding
|
|
47
|
+
Pragma:
|
|
48
|
+
- no-cache
|
|
49
|
+
Access-Control-Expose-Headers:
|
|
50
|
+
- Request-Context
|
|
51
|
+
Request-Context:
|
|
52
|
+
- appId=cid-v1:9c05b5dd-9acf-4a59-aabb-1775785c005f
|
|
53
|
+
X-Aspnet-Version:
|
|
54
|
+
- 4.0.30319
|
|
55
|
+
X-Content-Type-Options:
|
|
56
|
+
- nosniff
|
|
57
|
+
- nosniff
|
|
58
|
+
Set-Cookie:
|
|
59
|
+
- __cf_bm=ay.DDO9tg3k_2VMNFGWv8jIGyV2IzDXvN8UxYTUX95c-1761441875-1.0.1.1-OdhLfx._E4CKfNuJpEMQ1ah7LZW244T.uOe.Iq8xmff08_JqrsFNUMZzJPnaf2O0uLpWdTXXnwGjB7QAWnwgrJ7Lxp1q794ThSPaXUOv7XA;
|
|
60
|
+
path=/; expires=Sun, 26-Oct-25 01:54:35 GMT; domain=.abcdev.imiscloud.com;
|
|
61
|
+
HttpOnly; Secure; SameSite=None
|
|
62
|
+
body:
|
|
63
|
+
encoding: ASCII-8BIT
|
|
64
|
+
string: '{"access_token":"<ACCESS_TOKEN>","token_type":"bearer","expires_in":3599,"userName":"J.S.FIANDER@GMAIL.COM",".issued":"Sun,
|
|
65
|
+
26 Oct 2025 01:24:35 GMT",".expires":"Sun, 26 Oct 2025 02:24:35 GMT"}'
|
|
66
|
+
recorded_at: Sun, 26 Oct 2025 01:24:35 GMT
|
|
67
|
+
recorded_with: VCR 6.3.1
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: post
|
|
5
|
+
uri: https://abcdev.imiscloud.com/Token
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: grant_type=password&username=<USERNAME>&password=<PASSWORD>
|
|
9
|
+
headers:
|
|
10
|
+
Accept-Encoding:
|
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
12
|
+
Accept:
|
|
13
|
+
- "*/*"
|
|
14
|
+
User-Agent:
|
|
15
|
+
- Ruby
|
|
16
|
+
Host:
|
|
17
|
+
- abcdev.imiscloud.com
|
|
18
|
+
response:
|
|
19
|
+
status:
|
|
20
|
+
code: 200
|
|
21
|
+
message: OK
|
|
22
|
+
headers:
|
|
23
|
+
Date:
|
|
24
|
+
- Sun, 26 Oct 2025 01:24:33 GMT
|
|
25
|
+
Content-Type:
|
|
26
|
+
- application/json; charset=UTF-8
|
|
27
|
+
Transfer-Encoding:
|
|
28
|
+
- chunked
|
|
29
|
+
Connection:
|
|
30
|
+
- keep-alive
|
|
31
|
+
Server:
|
|
32
|
+
- cloudflare
|
|
33
|
+
Cf-Ray:
|
|
34
|
+
- 9946279a58f6acb1-ORD
|
|
35
|
+
Cf-Cache-Status:
|
|
36
|
+
- DYNAMIC
|
|
37
|
+
Access-Control-Allow-Origin:
|
|
38
|
+
- "*"
|
|
39
|
+
Cache-Control:
|
|
40
|
+
- no-cache
|
|
41
|
+
Expires:
|
|
42
|
+
- "-1"
|
|
43
|
+
Strict-Transport-Security:
|
|
44
|
+
- max-age=31536000
|
|
45
|
+
Vary:
|
|
46
|
+
- Accept-Encoding,Accept-Encoding
|
|
47
|
+
Pragma:
|
|
48
|
+
- no-cache
|
|
49
|
+
Access-Control-Expose-Headers:
|
|
50
|
+
- Request-Context
|
|
51
|
+
Request-Context:
|
|
52
|
+
- appId=cid-v1:9c05b5dd-9acf-4a59-aabb-1775785c005f
|
|
53
|
+
X-Aspnet-Version:
|
|
54
|
+
- 4.0.30319
|
|
55
|
+
X-Content-Type-Options:
|
|
56
|
+
- nosniff
|
|
57
|
+
- nosniff
|
|
58
|
+
Set-Cookie:
|
|
59
|
+
- __cf_bm=Ee3qpocVk_LlQ_tdYu524hfHDSDoQ9AZ799ofKrUlec-1761441873-1.0.1.1-hL9.BejyW2bZ4MLYuVrrxBlsi0P678.3GxYa45klswB0zrCcYahD7EAJKYudP80V8Crbmv0Wv.0VhuktaB0J4fNW4jG5TNBxbG3U088cUs4;
|
|
60
|
+
path=/; expires=Sun, 26-Oct-25 01:54:33 GMT; domain=.abcdev.imiscloud.com;
|
|
61
|
+
HttpOnly; Secure; SameSite=None
|
|
62
|
+
body:
|
|
63
|
+
encoding: ASCII-8BIT
|
|
64
|
+
string: '{"access_token":"<ACCESS_TOKEN>","token_type":"bearer","expires_in":3599,"userName":"J.S.FIANDER@GMAIL.COM",".issued":"Sun,
|
|
65
|
+
26 Oct 2025 01:24:33 GMT",".expires":"Sun, 26 Oct 2025 02:24:33 GMT"}'
|
|
66
|
+
recorded_at: Sun, 26 Oct 2025 01:24:33 GMT
|
|
67
|
+
recorded_with: VCR 6.3.1
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: post
|
|
5
|
+
uri: https://abcdev.imiscloud.com/Token
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: grant_type=password&username=<USERNAME>&password=<PASSWORD>
|
|
9
|
+
headers:
|
|
10
|
+
Accept-Encoding:
|
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
12
|
+
Accept:
|
|
13
|
+
- "*/*"
|
|
14
|
+
User-Agent:
|
|
15
|
+
- Ruby
|
|
16
|
+
Host:
|
|
17
|
+
- abcdev.imiscloud.com
|
|
18
|
+
response:
|
|
19
|
+
status:
|
|
20
|
+
code: 200
|
|
21
|
+
message: OK
|
|
22
|
+
headers:
|
|
23
|
+
Date:
|
|
24
|
+
- Sun, 26 Oct 2025 01:24:35 GMT
|
|
25
|
+
Content-Type:
|
|
26
|
+
- application/json; charset=UTF-8
|
|
27
|
+
Transfer-Encoding:
|
|
28
|
+
- chunked
|
|
29
|
+
Connection:
|
|
30
|
+
- keep-alive
|
|
31
|
+
Server:
|
|
32
|
+
- cloudflare
|
|
33
|
+
Cf-Ray:
|
|
34
|
+
- 994627ab4ef2c667-ORD
|
|
35
|
+
Cf-Cache-Status:
|
|
36
|
+
- DYNAMIC
|
|
37
|
+
Access-Control-Allow-Origin:
|
|
38
|
+
- "*"
|
|
39
|
+
Cache-Control:
|
|
40
|
+
- no-cache
|
|
41
|
+
Expires:
|
|
42
|
+
- "-1"
|
|
43
|
+
Strict-Transport-Security:
|
|
44
|
+
- max-age=31536000
|
|
45
|
+
Vary:
|
|
46
|
+
- Accept-Encoding,Accept-Encoding
|
|
47
|
+
Pragma:
|
|
48
|
+
- no-cache
|
|
49
|
+
Access-Control-Expose-Headers:
|
|
50
|
+
- Request-Context
|
|
51
|
+
Request-Context:
|
|
52
|
+
- appId=cid-v1:9c05b5dd-9acf-4a59-aabb-1775785c005f
|
|
53
|
+
X-Aspnet-Version:
|
|
54
|
+
- 4.0.30319
|
|
55
|
+
X-Content-Type-Options:
|
|
56
|
+
- nosniff
|
|
57
|
+
- nosniff
|
|
58
|
+
Set-Cookie:
|
|
59
|
+
- __cf_bm=VzJld89VF7hC.lgdE3QRQBcxCaxRT42Ub8ntg8CCH4I-1761441875-1.0.1.1-Z56hcQTbaxJFtFs73yS9LcxYt310f5hfzUYKKUEf8AlllAseIO9AKUBG2EBXuooyd0HbHncBVs8BcAwYAYnUawKHtJS38uCFf3nZq0JAXCU;
|
|
60
|
+
path=/; expires=Sun, 26-Oct-25 01:54:35 GMT; domain=.abcdev.imiscloud.com;
|
|
61
|
+
HttpOnly; Secure; SameSite=None
|
|
62
|
+
body:
|
|
63
|
+
encoding: ASCII-8BIT
|
|
64
|
+
string: '{"access_token":"<ACCESS_TOKEN>","token_type":"bearer","expires_in":3599,"userName":"J.S.FIANDER@GMAIL.COM",".issued":"Sun,
|
|
65
|
+
26 Oct 2025 01:24:35 GMT",".expires":"Sun, 26 Oct 2025 02:24:35 GMT"}'
|
|
66
|
+
recorded_at: Sun, 26 Oct 2025 01:24:35 GMT
|
|
67
|
+
recorded_with: VCR 6.3.1
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: post
|
|
5
|
+
uri: https://abcdev.imiscloud.com/Token
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: grant_type=password&username=<USERNAME>&password=<PASSWORD>
|
|
9
|
+
headers:
|
|
10
|
+
Accept-Encoding:
|
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
12
|
+
Accept:
|
|
13
|
+
- "*/*"
|
|
14
|
+
User-Agent:
|
|
15
|
+
- Ruby
|
|
16
|
+
Host:
|
|
17
|
+
- abcdev.imiscloud.com
|
|
18
|
+
response:
|
|
19
|
+
status:
|
|
20
|
+
code: 200
|
|
21
|
+
message: OK
|
|
22
|
+
headers:
|
|
23
|
+
Date:
|
|
24
|
+
- Sun, 26 Oct 2025 01:24:35 GMT
|
|
25
|
+
Content-Type:
|
|
26
|
+
- application/json; charset=UTF-8
|
|
27
|
+
Transfer-Encoding:
|
|
28
|
+
- chunked
|
|
29
|
+
Connection:
|
|
30
|
+
- keep-alive
|
|
31
|
+
Server:
|
|
32
|
+
- cloudflare
|
|
33
|
+
Cf-Ray:
|
|
34
|
+
- 994627a80e5aaf01-ORD
|
|
35
|
+
Cf-Cache-Status:
|
|
36
|
+
- DYNAMIC
|
|
37
|
+
Access-Control-Allow-Origin:
|
|
38
|
+
- "*"
|
|
39
|
+
Cache-Control:
|
|
40
|
+
- no-cache
|
|
41
|
+
Expires:
|
|
42
|
+
- "-1"
|
|
43
|
+
Strict-Transport-Security:
|
|
44
|
+
- max-age=31536000
|
|
45
|
+
Vary:
|
|
46
|
+
- Accept-Encoding,Accept-Encoding
|
|
47
|
+
Pragma:
|
|
48
|
+
- no-cache
|
|
49
|
+
Access-Control-Expose-Headers:
|
|
50
|
+
- Request-Context
|
|
51
|
+
Request-Context:
|
|
52
|
+
- appId=cid-v1:9c05b5dd-9acf-4a59-aabb-1775785c005f
|
|
53
|
+
X-Aspnet-Version:
|
|
54
|
+
- 4.0.30319
|
|
55
|
+
X-Content-Type-Options:
|
|
56
|
+
- nosniff
|
|
57
|
+
- nosniff
|
|
58
|
+
Set-Cookie:
|
|
59
|
+
- __cf_bm=6IjNQQvP9G1PXX26l9ZzyecaztzHFj6wV.7AvMEQuJU-1761441875-1.0.1.1-.au.jGdHxKZfG30_dDsBELtD0rGzsnSX4r7Cqo.P9DbknGlbb4Bte00hr7mv68WAcmThwIRgmE6xrFZhocQAdG19Z5rlHtkEnN4hwgL.8_I;
|
|
60
|
+
path=/; expires=Sun, 26-Oct-25 01:54:35 GMT; domain=.abcdev.imiscloud.com;
|
|
61
|
+
HttpOnly; Secure; SameSite=None
|
|
62
|
+
body:
|
|
63
|
+
encoding: ASCII-8BIT
|
|
64
|
+
string: '{"access_token":"<ACCESS_TOKEN>","token_type":"bearer","expires_in":3599,"userName":"J.S.FIANDER@GMAIL.COM",".issued":"Sun,
|
|
65
|
+
26 Oct 2025 01:24:35 GMT",".expires":"Sun, 26 Oct 2025 02:24:35 GMT"}'
|
|
66
|
+
recorded_at: Sun, 26 Oct 2025 01:24:35 GMT
|
|
67
|
+
- request:
|
|
68
|
+
method: get
|
|
69
|
+
uri: https://abcdev.imiscloud.com/api/ABC_ASC_Individual_Demog/31092
|
|
70
|
+
body:
|
|
71
|
+
encoding: US-ASCII
|
|
72
|
+
string: ''
|
|
73
|
+
headers:
|
|
74
|
+
Accept-Encoding:
|
|
75
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
76
|
+
Accept:
|
|
77
|
+
- "*/*"
|
|
78
|
+
User-Agent:
|
|
79
|
+
- Ruby
|
|
80
|
+
Host:
|
|
81
|
+
- abcdev.imiscloud.com
|
|
82
|
+
Authorization:
|
|
83
|
+
- Bearer <BEARER_TOKEN>
|
|
84
|
+
response:
|
|
85
|
+
status:
|
|
86
|
+
code: 200
|
|
87
|
+
message: OK
|
|
88
|
+
headers:
|
|
89
|
+
Date:
|
|
90
|
+
- Sun, 26 Oct 2025 01:24:35 GMT
|
|
91
|
+
Content-Type:
|
|
92
|
+
- application/json; charset=utf-8
|
|
93
|
+
Transfer-Encoding:
|
|
94
|
+
- chunked
|
|
95
|
+
Connection:
|
|
96
|
+
- keep-alive
|
|
97
|
+
Server:
|
|
98
|
+
- cloudflare
|
|
99
|
+
Cf-Ray:
|
|
100
|
+
- 994627a8fcd7d8ab-ORD
|
|
101
|
+
Cf-Cache-Status:
|
|
102
|
+
- DYNAMIC
|
|
103
|
+
Cache-Control:
|
|
104
|
+
- no-cache
|
|
105
|
+
Expires:
|
|
106
|
+
- "-1"
|
|
107
|
+
Strict-Transport-Security:
|
|
108
|
+
- max-age=31536000
|
|
109
|
+
Vary:
|
|
110
|
+
- Accept-Encoding,Accept-Encoding
|
|
111
|
+
Pragma:
|
|
112
|
+
- no-cache
|
|
113
|
+
Access-Control-Expose-Headers:
|
|
114
|
+
- Request-Context
|
|
115
|
+
Request-Context:
|
|
116
|
+
- appId=cid-v1:9c05b5dd-9acf-4a59-aabb-1775785c005f
|
|
117
|
+
X-Aspnet-Version:
|
|
118
|
+
- 4.0.30319
|
|
119
|
+
X-Content-Type-Options:
|
|
120
|
+
- nosniff
|
|
121
|
+
- nosniff
|
|
122
|
+
Set-Cookie:
|
|
123
|
+
- __cf_bm=KReb9dISrQ1yjTfD1pZtnDdnhB.IDgz_dDHTUXoOS40-1761441875-1.0.1.1-GW7bJtspr72Oh2S32EapvIs3ZRi8Q5ji3X_Fzvm71zzdYoS7QuxbRmujV8POD9HZLQzbxHVVbmVqBCTE8P_GcWBNyPxnscG88xtI.Z2aDUM;
|
|
124
|
+
path=/; expires=Sun, 26-Oct-25 01:54:35 GMT; domain=.abcdev.imiscloud.com;
|
|
125
|
+
HttpOnly; Secure; SameSite=None
|
|
126
|
+
body:
|
|
127
|
+
encoding: ASCII-8BIT
|
|
128
|
+
string: '{"$type":"Asi.Soa.Core.DataContracts.GenericEntityData, Asi.Contracts","EntityTypeName":"ABC_ASC_Individual_Demog","PrimaryParentEntityTypeName":"Party","Identity":{"$type":"Asi.Soa.Core.DataContracts.IdentityData,
|
|
129
|
+
Asi.Contracts","EntityTypeName":"ABC_ASC_Individual_Demog","IdentityElements":{"$type":"System.Collections.ObjectModel.Collection`1[[System.String,
|
|
130
|
+
mscorlib]], mscorlib","$values":["31092"]}},"PrimaryParentIdentity":{"$type":"Asi.Soa.Core.DataContracts.IdentityData,
|
|
131
|
+
Asi.Contracts","EntityTypeName":"Party","IdentityElements":{"$type":"System.Collections.ObjectModel.Collection`1[[System.String,
|
|
132
|
+
mscorlib]], mscorlib","$values":["31092"]}},"Properties":{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyDataCollection,
|
|
133
|
+
Asi.Contracts","$values":[{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
134
|
+
Asi.Contracts","Name":"ID","Value":"31092"},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
135
|
+
Asi.Contracts","Name":"Annual_Vessel_Safety_Checks","Value":{"$type":"System.Int32","$value":0}},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
136
|
+
Asi.Contracts","Name":"DBFAM","Value":"E136924"},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
137
|
+
Asi.Contracts","Name":"Deceased","Value":"0001-01-01T00:00:00"},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
138
|
+
Asi.Contracts","Name":"Distno","Value":"09"},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
139
|
+
Asi.Contracts","Name":"Educ_Achievement","Value":"2019-05-09T00:00:00"},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
140
|
+
Asi.Contracts","Name":"Educ_Proficiency","Value":"2018-11-02T00:00:00"},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
141
|
+
Asi.Contracts","Name":"Emeritus","Value":""},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
142
|
+
Asi.Contracts","Name":"Grade","Value":"SN"},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
143
|
+
Asi.Contracts","Name":"HamRadio","Value":""},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
144
|
+
Asi.Contracts","Name":"LFYear","Value":{"$type":"System.Int32","$value":0}},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
145
|
+
Asi.Contracts","Name":"MMS_Updated","Value":"2024-12-31T00:00:00"},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
146
|
+
Asi.Contracts","Name":"Rank","Value":"5"},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
147
|
+
Asi.Contracts","Name":"SpsCRT","Value":""},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
148
|
+
Asi.Contracts","Name":"SpsName","Value":""},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
149
|
+
Asi.Contracts","Name":"SpsSex","Value":""},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
150
|
+
Asi.Contracts","Name":"Sqdcod","Value":"0525"},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
151
|
+
Asi.Contracts","Name":"SrYear","Value":{"$type":"System.Int32","$value":2012}},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
152
|
+
Asi.Contracts","Name":"TOTDUE","Value":{"$type":"System.Int32","$value":17}},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
153
|
+
Asi.Contracts","Name":"TotMMS","Value":{"$type":"System.Int32","$value":15}},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
154
|
+
Asi.Contracts","Name":"Vol_Vessel_Examiner","Value":{"$type":"System.Boolean","$value":false}},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
155
|
+
Asi.Contracts","Name":"Year25","Value":{"$type":"System.Int32","$value":0}},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
156
|
+
Asi.Contracts","Name":"BOC_Grade","Value":""}]}}'
|
|
157
|
+
recorded_at: Sun, 26 Oct 2025 01:24:35 GMT
|
|
158
|
+
- request:
|
|
159
|
+
method: put
|
|
160
|
+
uri: https://abcdev.imiscloud.com/api/ABC_ASC_Individual_Demog/31092
|
|
161
|
+
body:
|
|
162
|
+
encoding: UTF-8
|
|
163
|
+
string: '{"$type":"Asi.Soa.Core.DataContracts.GenericEntityData, Asi.Contracts","EntityTypeName":"ABC_ASC_Individual_Demog","PrimaryParentEntityTypeName":"Party","Identity":{"$type":"Asi.Soa.Core.DataContracts.IdentityData,
|
|
164
|
+
Asi.Contracts","EntityTypeName":"ABC_ASC_Individual_Demog","IdentityElements":{"$type":"System.Collections.ObjectModel.Collection`1[[System.String,
|
|
165
|
+
mscorlib]], mscorlib","$values":["31092"]}},"PrimaryParentIdentity":{"$type":"Asi.Soa.Core.DataContracts.IdentityData,
|
|
166
|
+
Asi.Contracts","EntityTypeName":"Party","IdentityElements":{"$type":"System.Collections.ObjectModel.Collection`1[[System.String,
|
|
167
|
+
mscorlib]], mscorlib","$values":["31092"]}},"Properties":{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyDataCollection,
|
|
168
|
+
Asi.Contracts","$values":[{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
169
|
+
Asi.Contracts","Name":"ID","Value":"31092"},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
170
|
+
Asi.Contracts","Name":"TotMMS","Value":{"$type":"System.Int32","$value":15}}]}}'
|
|
171
|
+
headers:
|
|
172
|
+
Accept-Encoding:
|
|
173
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
174
|
+
Accept:
|
|
175
|
+
- "*/*"
|
|
176
|
+
User-Agent:
|
|
177
|
+
- Ruby
|
|
178
|
+
Host:
|
|
179
|
+
- abcdev.imiscloud.com
|
|
180
|
+
Authorization:
|
|
181
|
+
- Bearer <BEARER_TOKEN>
|
|
182
|
+
response:
|
|
183
|
+
status:
|
|
184
|
+
code: 200
|
|
185
|
+
message: OK
|
|
186
|
+
headers:
|
|
187
|
+
Date:
|
|
188
|
+
- Sun, 26 Oct 2025 01:24:35 GMT
|
|
189
|
+
Content-Type:
|
|
190
|
+
- application/json; charset=utf-8
|
|
191
|
+
Transfer-Encoding:
|
|
192
|
+
- chunked
|
|
193
|
+
Connection:
|
|
194
|
+
- keep-alive
|
|
195
|
+
Server:
|
|
196
|
+
- cloudflare
|
|
197
|
+
Cf-Ray:
|
|
198
|
+
- 994627a9fdb47dda-ORD
|
|
199
|
+
Cf-Cache-Status:
|
|
200
|
+
- DYNAMIC
|
|
201
|
+
Cache-Control:
|
|
202
|
+
- no-cache
|
|
203
|
+
Expires:
|
|
204
|
+
- "-1"
|
|
205
|
+
Strict-Transport-Security:
|
|
206
|
+
- max-age=31536000
|
|
207
|
+
Vary:
|
|
208
|
+
- Accept-Encoding,Accept-Encoding
|
|
209
|
+
Pragma:
|
|
210
|
+
- no-cache
|
|
211
|
+
Access-Control-Expose-Headers:
|
|
212
|
+
- Request-Context
|
|
213
|
+
Request-Context:
|
|
214
|
+
- appId=cid-v1:9c05b5dd-9acf-4a59-aabb-1775785c005f
|
|
215
|
+
X-Aspnet-Version:
|
|
216
|
+
- 4.0.30319
|
|
217
|
+
X-Content-Type-Options:
|
|
218
|
+
- nosniff
|
|
219
|
+
- nosniff
|
|
220
|
+
Set-Cookie:
|
|
221
|
+
- __cf_bm=DzY1LrAKdO78ujIrBPY9wrBpR6QwEX2V6eWh03mdt14-1761441875-1.0.1.1-Xpx6D9m6IpasBOpykBqzv_OweVVksQvZoiR_UXgO_2N2hszSczd8AijIMun8tlOhRnlRqfY3Eko94ubhFHwiw4uP.kn6mr7cfpmxUkCBPqY;
|
|
222
|
+
path=/; expires=Sun, 26-Oct-25 01:54:35 GMT; domain=.abcdev.imiscloud.com;
|
|
223
|
+
HttpOnly; Secure; SameSite=None
|
|
224
|
+
body:
|
|
225
|
+
encoding: ASCII-8BIT
|
|
226
|
+
string: '{"$type":"Asi.Soa.Core.DataContracts.GenericEntityData, Asi.Contracts","EntityTypeName":"ABC_ASC_Individual_Demog","PrimaryParentEntityTypeName":"Party","Identity":{"$type":"Asi.Soa.Core.DataContracts.IdentityData,
|
|
227
|
+
Asi.Contracts","EntityTypeName":"ABC_ASC_Individual_Demog","IdentityElements":{"$type":"System.Collections.ObjectModel.Collection`1[[System.String,
|
|
228
|
+
mscorlib]], mscorlib","$values":["31092"]}},"PrimaryParentIdentity":{"$type":"Asi.Soa.Core.DataContracts.IdentityData,
|
|
229
|
+
Asi.Contracts","EntityTypeName":"Party","IdentityElements":{"$type":"System.Collections.ObjectModel.Collection`1[[System.String,
|
|
230
|
+
mscorlib]], mscorlib","$values":["31092"]}},"Properties":{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyDataCollection,
|
|
231
|
+
Asi.Contracts","$values":[{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
232
|
+
Asi.Contracts","Name":"ID","Value":"31092"},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
233
|
+
Asi.Contracts","Name":"Annual_Vessel_Safety_Checks","Value":{"$type":"System.Int32","$value":0}},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
234
|
+
Asi.Contracts","Name":"DBFAM","Value":"E136924"},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
235
|
+
Asi.Contracts","Name":"Deceased","Value":"0001-01-01T00:00:00"},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
236
|
+
Asi.Contracts","Name":"Distno","Value":"09"},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
237
|
+
Asi.Contracts","Name":"Educ_Achievement","Value":"2019-05-09T00:00:00"},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
238
|
+
Asi.Contracts","Name":"Educ_Proficiency","Value":"2018-11-02T00:00:00"},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
239
|
+
Asi.Contracts","Name":"Emeritus","Value":""},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
240
|
+
Asi.Contracts","Name":"Grade","Value":"SN"},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
241
|
+
Asi.Contracts","Name":"HamRadio","Value":""},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
242
|
+
Asi.Contracts","Name":"LFYear","Value":{"$type":"System.Int32","$value":0}},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
243
|
+
Asi.Contracts","Name":"MMS_Updated","Value":"2024-12-31T00:00:00"},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
244
|
+
Asi.Contracts","Name":"Rank","Value":"5"},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
245
|
+
Asi.Contracts","Name":"SpsCRT","Value":""},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
246
|
+
Asi.Contracts","Name":"SpsName","Value":""},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
247
|
+
Asi.Contracts","Name":"SpsSex","Value":""},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
248
|
+
Asi.Contracts","Name":"Sqdcod","Value":"0525"},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
249
|
+
Asi.Contracts","Name":"SrYear","Value":{"$type":"System.Int32","$value":2012}},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
250
|
+
Asi.Contracts","Name":"TOTDUE","Value":{"$type":"System.Int32","$value":17}},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
251
|
+
Asi.Contracts","Name":"TotMMS","Value":{"$type":"System.Int32","$value":15}},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
252
|
+
Asi.Contracts","Name":"Vol_Vessel_Examiner","Value":{"$type":"System.Boolean","$value":false}},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
253
|
+
Asi.Contracts","Name":"Year25","Value":{"$type":"System.Int32","$value":0}},{"$type":"Asi.Soa.Core.DataContracts.GenericPropertyData,
|
|
254
|
+
Asi.Contracts","Name":"BOC_Grade","Value":""}]}}'
|
|
255
|
+
recorded_at: Sun, 26 Oct 2025 01:24:35 GMT
|
|
256
|
+
recorded_with: VCR 6.3.1
|