ince-api 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/Gemfile.lock +69 -0
- data/README.md +11 -0
- data/ince-api.gemspec +4 -1
- data/lib/ince-api.rb +1 -0
- data/lib/ince_api/get_sim.rb +5 -1
- data/lib/ince_api/multiple_sims_configuration.rb +40 -0
- data/spec/fixtures/vcr_cassettes/get_sim.yml +77 -0
- data/spec/fixtures/vcr_cassettes/get_sim_wrong_iccid.yml +75 -0
- data/spec/fixtures/vcr_cassettes/get_sim_wrong_token.yml +74 -0
- data/spec/fixtures/vcr_cassettes/get_sims.yml +103 -0
- data/spec/fixtures/vcr_cassettes/get_sims_with_params.yml +93 -0
- data/spec/fixtures/vcr_cassettes/get_sims_with_params_page_1.yml +93 -0
- data/spec/fixtures/vcr_cassettes/get_sims_wrong_token.yml +74 -0
- data/spec/fixtures/vcr_cassettes/invalid_credentials.yml +68 -0
- data/spec/fixtures/vcr_cassettes/invalid_password.yml +68 -0
- data/spec/fixtures/vcr_cassettes/update_sim_label_change.yml +77 -0
- data/spec/fixtures/vcr_cassettes/update_sim_no_change.yml +77 -0
- data/spec/fixtures/vcr_cassettes/update_sims_empty_list.yml +77 -0
- data/spec/fixtures/vcr_cassettes/update_sims_label_change.yml +78 -0
- data/spec/fixtures/vcr_cassettes/valid_credentials.yml +71 -0
- data/spec/ince-api/create_access_token_spec.rb +32 -0
- data/spec/ince-api/get_sim_spec.rb +28 -0
- data/spec/ince-api/get_sims_spec.rb +41 -0
- data/spec/ince-api/multiple_sims_configuration_spec.rb +18 -0
- data/spec/ince-api/single_sim_configuration_spec.rb +17 -0
- data/spec/spec_helper.rb +20 -0
- metadata +87 -2
@@ -0,0 +1,93 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.1nce.com/management-api/v1/sims?page=1&pageSize=5
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
Host:
|
17
|
+
- api.1nce.com
|
18
|
+
Authorization:
|
19
|
+
- Bearer eyJpZHRva2VuIjoiZXlKcmFXUWlPaUpVWlVkeWVqbExkbEJRWTNKYVdURXljRXBWUXpod2NYVjRVbnAxSzAxRU1HdENlRzh6Ukc1bFlXTkJQU0lzSW1Gc1p5STZJbEpUTWpVMkluMC5leUp6ZFdJaU9pSXdNR0kxTmpFeU5TMDBaVEE0TFRSaVlqQXRPV1ppTmkxa05qZzRZVGd3TkRCaVkyTWlMQ0pqYjJkdWFYUnZPbWR5YjNWd2N5STZXeUpCY0draVhTd2lhWE56SWpvaWFIUjBjSE02WEM5Y0wyTnZaMjVwZEc4dGFXUndMbVYxTFdObGJuUnlZV3d0TVM1aGJXRjZiMjVoZDNNdVkyOXRYQzlsZFMxalpXNTBjbUZzTFRGZlluTXdhbkJPTTFobElpd2lZMjluYm1sMGJ6cDFjMlZ5Ym1GdFpTSTZJalV5TnpNeU56RTFPRFFpTENKd2NtVm1aWEp5WldSZmRYTmxjbTVoYldVaU9pSTRNVEF4TWpJMU1WOXdiMngwY21GNElpd2liM0pwWjJsdVgycDBhU0k2SWpJME1HWmxNVFEzTFdNd1l6Z3ROR1V5TlMxaFptSTBMVGswTW1Nd1ltWXlNakkyTnlJc0ltRjFaQ0k2SWpjNGRqSnJjMjFoY1hGMU5qaHlhbVJ0YlRKcE1tNDRhMlJ1SWl3aVkzVnpkRzl0T21OMWMzUnZiV1Z5U1dRaU9pSTBOamszTWpnek5EWTJJaXdpWlhabGJuUmZhV1FpT2lJMFkyRTRZMlEwTXkwek16WmpMVFExTkdRdE9EZ3dNeTFoTWpjNE1EQTNOMkU1WW1VaUxDSjBiMnRsYmw5MWMyVWlPaUp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|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Content-Type:
|
26
|
+
- application/json;charset=UTF-8
|
27
|
+
Content-Length:
|
28
|
+
- '368'
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
Date:
|
32
|
+
- Sun, 14 Nov 2021 20:54:35 GMT
|
33
|
+
X-Amzn-Requestid:
|
34
|
+
- c25d8cb0-16cb-4a8f-b01f-542fe1e5a4cf
|
35
|
+
X-Xss-Protection:
|
36
|
+
- 1; mode=block
|
37
|
+
X-Total-Pages:
|
38
|
+
- '2'
|
39
|
+
Strict-Transport-Security:
|
40
|
+
- max-age=31536000
|
41
|
+
X-Frame-Options:
|
42
|
+
- DENY
|
43
|
+
X-Amzn-Remapped-Content-Length:
|
44
|
+
- '2022'
|
45
|
+
X-Amzn-Remapped-Connection:
|
46
|
+
- close
|
47
|
+
Set-Cookie:
|
48
|
+
- "!Proxy!ApiProxyServletJSESSIONID=u8x-p0zXQH7-jh0J2FR8hbRlNfQ5Ii-h8XNuJwbY.ioprod-jboss2-jboss1;
|
49
|
+
Path=/global-api"
|
50
|
+
- SERVERID=csc2; path=/; Secure
|
51
|
+
X-Total-Count:
|
52
|
+
- '10'
|
53
|
+
X-Amz-Apigw-Id:
|
54
|
+
- Iz-dwF8lFiAFgOQ=
|
55
|
+
Cache-Control:
|
56
|
+
- no-cache, no-store, max-age=0, must-revalidate
|
57
|
+
X-Count-Per-Page:
|
58
|
+
- '5'
|
59
|
+
X-Content-Type-Options:
|
60
|
+
- nosniff
|
61
|
+
Expires:
|
62
|
+
- '0'
|
63
|
+
X-Current-Page:
|
64
|
+
- '1'
|
65
|
+
X-Amzn-Trace-Id:
|
66
|
+
- Root=1-6191778b-49169fc05b3f70725c374e32
|
67
|
+
Pragma:
|
68
|
+
- no-cache
|
69
|
+
X-Amzn-Remapped-Date:
|
70
|
+
- Sun, 14 Nov 2021 20:54:35 GMT
|
71
|
+
X-Cache:
|
72
|
+
- Miss from cloudfront
|
73
|
+
Via:
|
74
|
+
- 1.1 e75adcd0df674e7b66e6fe6c2c768b08.cloudfront.net (CloudFront)
|
75
|
+
X-Amz-Cf-Pop:
|
76
|
+
- WAW50-C1
|
77
|
+
X-Amz-Cf-Id:
|
78
|
+
- 8gnRIib5XoXPw7oq5E4jZlkxYlXf-c-A1HiIVJFo8xusA9QD9iTwfQ==
|
79
|
+
body:
|
80
|
+
encoding: ASCII-8BIT
|
81
|
+
string: '[{"iccid":"8988228066602306770","imsi":"901405102306770","msisdn":"882285102306770","imei":"8682390510114404","imei_lock":false,"status":"Enabled","activation_date":"2021-08-26T12:13:06.000+0000","ip_address":"10.210.176.1","current_quota":500,"quota_status":{"id":0,"description":"More
|
82
|
+
than 20% available"},"current_quota_SMS":250,"quota_status_SMS":{"id":0,"description":"More
|
83
|
+
than 20% available"},"label":"Test API"},{"iccid":"8988228066602307120","imsi":"901405102307120","msisdn":"882285102307120","imei":"8682390510024604","imei_lock":false,"status":"Enabled","activation_date":"2021-09-23T10:31:46.000+0000","ip_address":"10.210.176.2","current_quota":500,"quota_status":{"id":0,"description":"More
|
84
|
+
than 20% available"},"current_quota_SMS":250,"quota_status_SMS":{"id":0,"description":"More
|
85
|
+
than 20% available"}},{"iccid":"8988228066602307121","imsi":"901405102307121","msisdn":"882285102307121","imei":"8682390510093004","imei_lock":false,"status":"Enabled","activation_date":"2021-09-23T10:31:46.000+0000","ip_address":"10.210.176.187","current_quota":500,"quota_status":{"id":0,"description":"More
|
86
|
+
than 20% available"},"current_quota_SMS":250,"quota_status_SMS":{"id":0,"description":"More
|
87
|
+
than 20% available"}},{"iccid":"8988228066602554848","imsi":"901405102554848","msisdn":"882285102554848","imei":"8682390510113504","imei_lock":false,"status":"Enabled","activation_date":"2021-09-23T10:31:46.000+0000","ip_address":"10.210.176.3","current_quota":500,"quota_status":{"id":0,"description":"More
|
88
|
+
than 20% available"},"current_quota_SMS":250,"quota_status_SMS":{"id":0,"description":"More
|
89
|
+
than 20% available"}},{"iccid":"8988228066602554850","imsi":"901405102554850","msisdn":"882285102554850","imei":"8682390510023704","imei_lock":false,"status":"Enabled","activation_date":"2021-09-23T10:31:46.000+0000","ip_address":"10.210.176.4","current_quota":500,"quota_status":{"id":0,"description":"More
|
90
|
+
than 20% available"},"current_quota_SMS":250,"quota_status_SMS":{"id":0,"description":"More
|
91
|
+
than 20% available"}}]'
|
92
|
+
recorded_at: Sun, 14 Nov 2021 20:54:35 GMT
|
93
|
+
recorded_with: VCR 6.0.0
|
@@ -0,0 +1,74 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.1nce.com/management-api/v1/sims
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
Host:
|
17
|
+
- api.1nce.com
|
18
|
+
Authorization:
|
19
|
+
- Bearer INVALID TOKEN
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 401
|
23
|
+
message: Unauthorized
|
24
|
+
headers:
|
25
|
+
Content-Type:
|
26
|
+
- application/json;charset=UTF-8
|
27
|
+
Content-Length:
|
28
|
+
- '167'
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
Date:
|
32
|
+
- Sun, 14 Nov 2021 20:51:43 GMT
|
33
|
+
X-Amzn-Requestid:
|
34
|
+
- 45b75ef8-8774-4ac1-8b02-86cba542bb18
|
35
|
+
X-Xss-Protection:
|
36
|
+
- 1; mode=block
|
37
|
+
Strict-Transport-Security:
|
38
|
+
- max-age=31536000
|
39
|
+
X-Frame-Options:
|
40
|
+
- DENY
|
41
|
+
X-Amzn-Remapped-Content-Length:
|
42
|
+
- '180'
|
43
|
+
X-Amzn-Remapped-Connection:
|
44
|
+
- close
|
45
|
+
Set-Cookie:
|
46
|
+
- SERVERID=csc1; path=/; Secure
|
47
|
+
X-Amz-Apigw-Id:
|
48
|
+
- Iz-C7GMrFiAFbnQ=
|
49
|
+
Cache-Control:
|
50
|
+
- no-cache, no-store, max-age=0, must-revalidate
|
51
|
+
X-Content-Type-Options:
|
52
|
+
- nosniff
|
53
|
+
Expires:
|
54
|
+
- '0'
|
55
|
+
X-Amzn-Trace-Id:
|
56
|
+
- Root=1-619176df-735586c87653a51a5d24f76e
|
57
|
+
Pragma:
|
58
|
+
- no-cache
|
59
|
+
X-Amzn-Remapped-Date:
|
60
|
+
- Sun, 14 Nov 2021 20:51:43 GMT
|
61
|
+
X-Cache:
|
62
|
+
- Error from cloudfront
|
63
|
+
Via:
|
64
|
+
- 1.1 4cea94b0894987ae880983d50307d214.cloudfront.net (CloudFront)
|
65
|
+
X-Amz-Cf-Pop:
|
66
|
+
- WAW50-C1
|
67
|
+
X-Amz-Cf-Id:
|
68
|
+
- TqiZpqFTWNOXJ045K9BIjydHGi03De-7JYtnNtNALb82a2Zhtd2gCQ==
|
69
|
+
body:
|
70
|
+
encoding: ASCII-8BIT
|
71
|
+
string: '{"timestamp":"2021-11-14T20:51:43.349+0000","status":401,"error":"Unauthorized","message":"The
|
72
|
+
token is invalid: Illegal base64 character 20","path":"/internal-global-api/v1/sims"}'
|
73
|
+
recorded_at: Sun, 14 Nov 2021 20:51:43 GMT
|
74
|
+
recorded_with: VCR 6.0.0
|
@@ -0,0 +1,68 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.1nce.com/management-api/oauth/token
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: grant_type=client_credentials
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
Host:
|
17
|
+
- api.1nce.com
|
18
|
+
Content-Type:
|
19
|
+
- application/x-www-form-urlencoded
|
20
|
+
Authorization:
|
21
|
+
- Basic V3Jvbmc6Q3JlZGVudGlhbHM=
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 400
|
25
|
+
message: Bad Request
|
26
|
+
headers:
|
27
|
+
Content-Type:
|
28
|
+
- application/json
|
29
|
+
Content-Length:
|
30
|
+
- '107'
|
31
|
+
Connection:
|
32
|
+
- keep-alive
|
33
|
+
Date:
|
34
|
+
- Sun, 14 Nov 2021 18:32:02 GMT
|
35
|
+
X-Amzn-Requestid:
|
36
|
+
- 5ad1b084-3c87-40c4-b62d-71077e17c9be
|
37
|
+
X-Amzn-Remapped-X-Amzn-Requestid:
|
38
|
+
- 7bc79c77-56c9-47b7-b602-60d645141443
|
39
|
+
X-Amzn-Remapped-Content-Length:
|
40
|
+
- '105'
|
41
|
+
X-Amzn-Remapped-Connection:
|
42
|
+
- keep-alive
|
43
|
+
Via:
|
44
|
+
- 1.1 920a6dce56a0ee957dbaa3bf4429f8ff.cloudfront.net (CloudFront), 1.1 89879a0242d5d2d5537231b1e168f07f.cloudfront.net
|
45
|
+
(CloudFront)
|
46
|
+
X-Amz-Apigw-Id:
|
47
|
+
- IzplYEFPFiAFTmw=
|
48
|
+
X-Amzn-Trace-Id:
|
49
|
+
- Root=1-61915622-15dbd0fa66639a2f686cc7ee
|
50
|
+
X-Amz-Cf-Pop:
|
51
|
+
- FRA56-P3
|
52
|
+
- WAW50-C1
|
53
|
+
X-Amzn-Remapped-Date:
|
54
|
+
- Sun, 14 Nov 2021 18:32:02 GMT
|
55
|
+
X-Cache:
|
56
|
+
- Error from cloudfront
|
57
|
+
X-Amz-Cf-Id:
|
58
|
+
- YTlR0rKfPoiE_QA09oRgbC2EB6yxllh562XGwS6yCXros8paekzGEw==
|
59
|
+
body:
|
60
|
+
encoding: ASCII-8BIT
|
61
|
+
string: |-
|
62
|
+
{
|
63
|
+
"statusCode": 400,
|
64
|
+
"errorCode": "CognitoAuthenticationError",
|
65
|
+
"message": "User does not exist."
|
66
|
+
}
|
67
|
+
recorded_at: Sun, 14 Nov 2021 18:32:01 GMT
|
68
|
+
recorded_with: VCR 6.0.0
|
@@ -0,0 +1,68 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.1nce.com/management-api/oauth/token
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: grant_type=client_credentials
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
Host:
|
17
|
+
- api.1nce.com
|
18
|
+
Content-Type:
|
19
|
+
- application/x-www-form-urlencoded
|
20
|
+
Authorization:
|
21
|
+
- Basic ODEwMTIyNTFfUE9MVFJBWDpQYXNzd29yZA==
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 400
|
25
|
+
message: Bad Request
|
26
|
+
headers:
|
27
|
+
Content-Type:
|
28
|
+
- application/json
|
29
|
+
Content-Length:
|
30
|
+
- '112'
|
31
|
+
Connection:
|
32
|
+
- keep-alive
|
33
|
+
Date:
|
34
|
+
- Sun, 14 Nov 2021 18:36:00 GMT
|
35
|
+
X-Amzn-Requestid:
|
36
|
+
- b22a11a9-6651-42cb-924b-441998e757cd
|
37
|
+
X-Amzn-Remapped-X-Amzn-Requestid:
|
38
|
+
- 6f1fd67c-12fe-437b-afa2-963e3cc66d6d
|
39
|
+
X-Amzn-Remapped-Content-Length:
|
40
|
+
- '116'
|
41
|
+
X-Amzn-Remapped-Connection:
|
42
|
+
- keep-alive
|
43
|
+
Via:
|
44
|
+
- 1.1 ba77f90aac0ddbc2c4c2c02062fac762.cloudfront.net (CloudFront), 1.1 243902fc9ddb76ae90c37752d217c1c6.cloudfront.net
|
45
|
+
(CloudFront)
|
46
|
+
X-Amz-Apigw-Id:
|
47
|
+
- IzqKfEViliAFnTw=
|
48
|
+
X-Amzn-Trace-Id:
|
49
|
+
- Root=1-6191570f-2f25b7ef0bf990ca46983fbe
|
50
|
+
X-Amz-Cf-Pop:
|
51
|
+
- FRA50-C1
|
52
|
+
- WAW50-C1
|
53
|
+
X-Amzn-Remapped-Date:
|
54
|
+
- Sun, 14 Nov 2021 18:36:00 GMT
|
55
|
+
X-Cache:
|
56
|
+
- Error from cloudfront
|
57
|
+
X-Amz-Cf-Id:
|
58
|
+
- EN8CC38VOBw3D55NzUWu-Wh7Hz9wNmPqkq2SHfjZhKofPYrTrVnK-g==
|
59
|
+
body:
|
60
|
+
encoding: ASCII-8BIT
|
61
|
+
string: |-
|
62
|
+
{
|
63
|
+
"statusCode": 400,
|
64
|
+
"errorCode": "CognitoAuthenticationError",
|
65
|
+
"message": "Incorrect username or password."
|
66
|
+
}
|
67
|
+
recorded_at: Sun, 14 Nov 2021 18:35:59 GMT
|
68
|
+
recorded_with: VCR 6.0.0
|
@@ -0,0 +1,77 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: put
|
5
|
+
uri: https://api.1nce.com/management-api/v1/sims/8988228066602306770
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"label":"Test Label"}'
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
Host:
|
17
|
+
- api.1nce.com
|
18
|
+
Content-Type:
|
19
|
+
- application/json;charset=UTF-8
|
20
|
+
Authorization:
|
21
|
+
- Bearer eyJpZHRva2VuIjoiZXlKcmFXUWlPaUpVWlVkeWVqbExkbEJRWTNKYVdURX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TVZbVVpTENKMGIydGxibDkxYzJVaU9pSmhZMk5sYzNNaUxDSnpZMjl3WlNJNkltRjNjeTVqYjJkdWFYUnZMbk5wWjI1cGJpNTFjMlZ5TG1Ga2JXbHVJaXdpWVhWMGFGOTBhVzFsSWpveE5qTTJPVEl5TlRneExDSmxlSEFpT2pFMk16WTVNall4T0RFc0ltbGhkQ0k2TVRZek5qa3lNalU0TVN3aWFuUnBJam9pWmpoallqTTBOR0l0TnpSaE5DMDBPR1EwTFRnd01URXRNVE5rTm1KbE1qVXpZMlpsSWl3aWRYTmxjbTVoYldVaU9pSTFNamN6TWpjeE5UZzBJbjAuYm1uWEJ4ekc4dExRU3J2czVvOS1MaFN5aTBCVjRCTTZTaUxaNUJyQjVrOVpiOHQyZnJaaXFxQlN4b1lZQ3JCN1paTXZEMFZWWXZnT0VqQWMzTXRVYXFKUDZLT0o1WjZzc3VGYXpCbVQ2d3RzNER0UFNrTGlBSEpGYmFSYzROb0k0d1NCbDVjOE82SEZSVGQ4cVcwS1NaQlFKeFU5QWFHVnpRX1dfWVlWU1p2SF94RmtIVUdjQVpfNmJtS0dHczJRc1FMMVF3N3VDejlNZ3FORUNMTXZEbFlVVjNxUDExeHViWVN2bmpLbEpwS1o1aENwbnByazU3SHFNTnc4Ylo0Nm10RDVpTjRWaE1adDdUWTdZTGJtSTRnOGdpNW5ZWnRWVjQ1NGJMUjlhNExKelRGeDc5UTFKZXRWYTVwcU5xazloZC1CeEtTUUJTc0plb3VGbFA3V0pnIn0=
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
Content-Type:
|
28
|
+
- application/json
|
29
|
+
Content-Length:
|
30
|
+
- '0'
|
31
|
+
Connection:
|
32
|
+
- keep-alive
|
33
|
+
Date:
|
34
|
+
- Sun, 14 Nov 2021 21:02:10 GMT
|
35
|
+
X-Amzn-Requestid:
|
36
|
+
- 39933c19-ad4b-4971-bc14-7518f256e903
|
37
|
+
X-Xss-Protection:
|
38
|
+
- 1; mode=block
|
39
|
+
Strict-Transport-Security:
|
40
|
+
- max-age=31536000
|
41
|
+
X-Frame-Options:
|
42
|
+
- DENY
|
43
|
+
X-Amzn-Remapped-Content-Length:
|
44
|
+
- '0'
|
45
|
+
X-Amzn-Remapped-Connection:
|
46
|
+
- close
|
47
|
+
Set-Cookie:
|
48
|
+
- "!Proxy!ApiProxyServletJSESSIONID=_PwFUsjzklYj6wwAeOicpK46Xj21wzsNxu2iQimb.ioprod-jboss1-jboss1;
|
49
|
+
Path=/global-api"
|
50
|
+
- SERVERID=csc2; path=/; Secure
|
51
|
+
X-Amz-Apigw-Id:
|
52
|
+
- Iz_k2H4RliAFXIg=
|
53
|
+
Cache-Control:
|
54
|
+
- no-cache, no-store, max-age=0, must-revalidate
|
55
|
+
X-Content-Type-Options:
|
56
|
+
- nosniff
|
57
|
+
Expires:
|
58
|
+
- '0'
|
59
|
+
X-Amzn-Trace-Id:
|
60
|
+
- Root=1-61917952-08e658b427231a13301563cc
|
61
|
+
Pragma:
|
62
|
+
- no-cache
|
63
|
+
X-Amzn-Remapped-Date:
|
64
|
+
- Sun, 14 Nov 2021 21:02:10 GMT
|
65
|
+
X-Cache:
|
66
|
+
- Miss from cloudfront
|
67
|
+
Via:
|
68
|
+
- 1.1 39890eb6fee7152007acf27e00943abf.cloudfront.net (CloudFront)
|
69
|
+
X-Amz-Cf-Pop:
|
70
|
+
- WAW50-C1
|
71
|
+
X-Amz-Cf-Id:
|
72
|
+
- S9Q6pHL38ngYQDXLRK9QywszBebRCW1zxRAZurPJ0YfU1xj5ex7Ucw==
|
73
|
+
body:
|
74
|
+
encoding: UTF-8
|
75
|
+
string: ''
|
76
|
+
recorded_at: Sun, 14 Nov 2021 21:02:10 GMT
|
77
|
+
recorded_with: VCR 6.0.0
|
@@ -0,0 +1,77 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: put
|
5
|
+
uri: https://api.1nce.com/management-api/v1/sims/8988228066602306770
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: "{}"
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
Host:
|
17
|
+
- api.1nce.com
|
18
|
+
Content-Type:
|
19
|
+
- application/json;charset=UTF-8
|
20
|
+
Authorization:
|
21
|
+
- Bearer eyJpZHRva2VuIjoiZXlKcmFXUWlPaUpVWlVkeWVqbExkbEJRWTNKYVdURXljRXBWUXpod2NYVjRVbnAxSzAxRU1HdENlRzh6Ukc1bFlXTkJQU0lzSW1Gc1p5STZJbEpUTWpVMkluMC5leUp6ZFdJaU9pSXdNR0kxTmpFeU5TMDBaVEE0TFRSaVlqQXRPV1ppTmkxa05qZzRZVGd3TkRCaVkyTWlMQ0pqYjJkdWFYUnZPbWR5YjNWd2N5STZXeUpCY0draVhTd2lhWE56SWpvaWFIUjBjSE02WEM5Y0wyTnZaMjVwZEc4dGFXUndMbVYxTFdObGJuUnlZV3d0TVM1aGJXRjZiMjVoZDNNdVkyOXRYQzlsZFMxalpXNTBjbUZzTFRGZlluTXdhbkJPTTFobElpd2lZMjluYm1sMGJ6cDFjMlZ5Ym1GdFpTSTZJalV5TnpNeU56RTFPRFFpTENKd2NtVm1aWEp5WldSZmRYTmxjbTVoYldVaU9pSTRNVEF4TWpJMU1WOXdiMngwY21GNElpd2liM0pwWjJsdVgycDBhU0k2SWpJME1HWmxNVFEzTFdNd1l6Z3ROR1V5TlMxaFptSTBMVGswTW1Nd1ltWXlNakkyTnlJc0ltRjFaQ0k2SWpjNGRqSnJjMjFoY1hGMU5qaHlhbVJ0YlRKcE1tNDRhMlJ1SWl3aVkzVnpkRzl0T21OMWMzUnZiV1Z5U1dRaU9pSTBOamszTWpnek5EWTJJaXdpWlhabGJuUmZhV1Fp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TRnOGdpNW5ZWnRWVjQ1NGJMUjlhNExKelRGeDc5UTFKZXRWYTVwcU5xazloZC1CeEtTUUJTc0plb3VGbFA3V0pnIn0=
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
Content-Type:
|
28
|
+
- application/json
|
29
|
+
Content-Length:
|
30
|
+
- '0'
|
31
|
+
Connection:
|
32
|
+
- keep-alive
|
33
|
+
Date:
|
34
|
+
- Sun, 14 Nov 2021 20:59:41 GMT
|
35
|
+
X-Amzn-Requestid:
|
36
|
+
- ac615341-85a4-48b2-9807-dfe501884a37
|
37
|
+
X-Xss-Protection:
|
38
|
+
- 1; mode=block
|
39
|
+
Strict-Transport-Security:
|
40
|
+
- max-age=31536000
|
41
|
+
X-Frame-Options:
|
42
|
+
- DENY
|
43
|
+
X-Amzn-Remapped-Content-Length:
|
44
|
+
- '0'
|
45
|
+
X-Amzn-Remapped-Connection:
|
46
|
+
- close
|
47
|
+
Set-Cookie:
|
48
|
+
- "!Proxy!ApiProxyServletJSESSIONID=RugYflPtHOQnvrWzaK2ANG0OsO8SyzR4vF0xX9rc.ioprod-jboss2-jboss1;
|
49
|
+
Path=/global-api"
|
50
|
+
- SERVERID=csc1; path=/; Secure
|
51
|
+
X-Amz-Apigw-Id:
|
52
|
+
- Iz_NjHVIFiAFdBA=
|
53
|
+
Cache-Control:
|
54
|
+
- no-cache, no-store, max-age=0, must-revalidate
|
55
|
+
X-Content-Type-Options:
|
56
|
+
- nosniff
|
57
|
+
Expires:
|
58
|
+
- '0'
|
59
|
+
X-Amzn-Trace-Id:
|
60
|
+
- Root=1-619178bc-6d580ebd4783aa0260bb9c56
|
61
|
+
Pragma:
|
62
|
+
- no-cache
|
63
|
+
X-Amzn-Remapped-Date:
|
64
|
+
- Sun, 14 Nov 2021 20:59:41 GMT
|
65
|
+
X-Cache:
|
66
|
+
- Miss from cloudfront
|
67
|
+
Via:
|
68
|
+
- 1.1 66e7ff48bbb7e14aaadccfbad3f73cbe.cloudfront.net (CloudFront)
|
69
|
+
X-Amz-Cf-Pop:
|
70
|
+
- WAW50-C1
|
71
|
+
X-Amz-Cf-Id:
|
72
|
+
- 61OZ5qna7Fnll2eAjGPeFG-V1g31EhyLMYxeLJc2pOs-1eP2SeI87Q==
|
73
|
+
body:
|
74
|
+
encoding: UTF-8
|
75
|
+
string: ''
|
76
|
+
recorded_at: Sun, 14 Nov 2021 20:59:41 GMT
|
77
|
+
recorded_with: VCR 6.0.0
|
@@ -0,0 +1,77 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.1nce.com/management-api/v1/sims
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: "[]"
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
Host:
|
17
|
+
- api.1nce.com
|
18
|
+
Content-Type:
|
19
|
+
- application/json;charset=UTF-8
|
20
|
+
Authorization:
|
21
|
+
- Bearer eyJpZHRva2VuIjoiZXlKcmFXUWlPaUpVWlVkeWVqbExkbEJRWTNKYVdURXljRXBWUXpod2NYVjRVbnAxSzAxRU1HdENlRzh6Ukc1bFlXTkJQU0lzSW1Gc1p5STZJbEpUTWpVMkluMC5leUp6ZFdJaU9pSXdNR0kxTmpFeU5TMDBaVEE0TFRSaVlqQXRPV1ppTmkxa05qZzRZVGd3TkRCaVkyTWlMQ0pqYjJkdWFYUnZPbWR5YjNWd2N5STZXeUpCY0draVhTd2lhWE56SWpvaWFIUjBjSE02WEM5Y0wyTnZaMjVwZEc4dGFXUndMbVYxTFdObGJuUnlZV3d0TVM1aGJXRjZiMjVoZDNNdVkyOXRYQzlsZFMxalpXNTBjbUZzTFRGZlluTXdhbkJPTTFobElpd2l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dExRU3J2czVvOS1MaFN5aTBCVjRCTTZTaUxaNUJyQjVrOVpiOHQyZnJaaXFxQlN4b1lZQ3JCN1paTXZEMFZWWXZnT0VqQWMzTXRVYXFKUDZLT0o1WjZzc3VGYXpCbVQ2d3RzNER0UFNrTGlBSEpGYmFSYzROb0k0d1NCbDVjOE82SEZSVGQ4cVcwS1NaQlFKeFU5QWFHVnpRX1dfWVlWU1p2SF94RmtIVUdjQVpfNmJtS0dHczJRc1FMMVF3N3VDejlNZ3FORUNMTXZEbFlVVjNxUDExeHViWVN2bmpLbEpwS1o1aENwbnByazU3SHFNTnc4Ylo0Nm10RDVpTjRWaE1adDdUWTdZTGJtSTRnOGdpNW5ZWnRWVjQ1NGJMUjlhNExKelRGeDc5UTFKZXRWYTVwcU5xazloZC1CeEtTUUJTc0plb3VGbFA3V0pnIn0=
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 201
|
25
|
+
message: Created
|
26
|
+
headers:
|
27
|
+
Content-Type:
|
28
|
+
- application/json
|
29
|
+
Content-Length:
|
30
|
+
- '0'
|
31
|
+
Connection:
|
32
|
+
- keep-alive
|
33
|
+
Date:
|
34
|
+
- Sun, 14 Nov 2021 21:21:32 GMT
|
35
|
+
X-Amzn-Requestid:
|
36
|
+
- 558efb17-516d-4445-85f5-230d0d01d9a7
|
37
|
+
X-Xss-Protection:
|
38
|
+
- 1; mode=block
|
39
|
+
Strict-Transport-Security:
|
40
|
+
- max-age=31536000
|
41
|
+
X-Frame-Options:
|
42
|
+
- DENY
|
43
|
+
X-Amzn-Remapped-Content-Length:
|
44
|
+
- '0'
|
45
|
+
X-Amzn-Remapped-Connection:
|
46
|
+
- close
|
47
|
+
Set-Cookie:
|
48
|
+
- "!Proxy!ApiProxyServletJSESSIONID=ykrz7Y3IRm0s12H2ztXr7I_v9HF23JvtMcpoYVeX.ioprod-jboss2-jboss1;
|
49
|
+
Path=/global-api"
|
50
|
+
- SERVERID=csc1; path=/; Secure
|
51
|
+
X-Amz-Apigw-Id:
|
52
|
+
- I0CaeHbIliAFhEw=
|
53
|
+
Cache-Control:
|
54
|
+
- no-cache, no-store, max-age=0, must-revalidate
|
55
|
+
X-Content-Type-Options:
|
56
|
+
- nosniff
|
57
|
+
Expires:
|
58
|
+
- '0'
|
59
|
+
X-Amzn-Trace-Id:
|
60
|
+
- Root=1-61917ddc-573634d763fbb1b11156f3d8
|
61
|
+
Pragma:
|
62
|
+
- no-cache
|
63
|
+
X-Amzn-Remapped-Date:
|
64
|
+
- Sun, 14 Nov 2021 21:21:32 GMT
|
65
|
+
X-Cache:
|
66
|
+
- Miss from cloudfront
|
67
|
+
Via:
|
68
|
+
- 1.1 39890eb6fee7152007acf27e00943abf.cloudfront.net (CloudFront)
|
69
|
+
X-Amz-Cf-Pop:
|
70
|
+
- WAW50-C1
|
71
|
+
X-Amz-Cf-Id:
|
72
|
+
- Hdzkeo265KylQpW4G4zFYRJiP0zLPjBbThMY_oMJdsu4qvvOF0Y_6A==
|
73
|
+
body:
|
74
|
+
encoding: UTF-8
|
75
|
+
string: ''
|
76
|
+
recorded_at: Sun, 14 Nov 2021 21:21:32 GMT
|
77
|
+
recorded_with: VCR 6.0.0
|
@@ -0,0 +1,78 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.1nce.com/management-api/v1/sims
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '[{"iccid":"8988228066602306711","label":"Test Label 1"},{"iccid":"8988228066602307111","label":"Test
|
9
|
+
Label 2"}]'
|
10
|
+
headers:
|
11
|
+
Accept-Encoding:
|
12
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
13
|
+
Accept:
|
14
|
+
- application/json
|
15
|
+
User-Agent:
|
16
|
+
- Ruby
|
17
|
+
Host:
|
18
|
+
- api.1nce.com
|
19
|
+
Content-Type:
|
20
|
+
- application/json;charset=UTF-8
|
21
|
+
Authorization:
|
22
|
+
-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WlPaUkwWTJFNFkyUTBNeTB6TXpaakxUUTFOR1F0T0Rnd015MWhNamM0TURBM04yRTVZbVVpTENKMGIydGxibDkxYzJVaU9pSmhZMk5sYzNNaUxDSnpZMjl3WlNJNkltRjNjeTVqYjJkdWFYUnZMbk5wWjI1cGJpNTFjMlZ5TG1Ga2JXbHVJaXdpWVhWMGFGOTBhVzFsSWpveE5qTTJPVEl5TlRneExDSmxlSEFpT2pFMk16WTVNall4T0RFc0ltbGhkQ0k2TVRZek5qa3lNalU0TVN3aWFuUnBJam9pWmpoallqTTBOR0l0TnpSaE5DMDBPR1EwTFRnd01URXRNVE5rTm1KbE1qVXpZMlpsSWl3aWRYTmxjbTVoYldVaU9pSTFNamN6TWpjeE5UZzBJbjAuYm1uWEJ4ekc4dExRU3J2czVvOS1MaFN5aTBCVjRCTTZTaUxaNUJyQjVrOVpiOHQyZnJaaXFxQlN4b1lZQ3JCN1paTXZEMFZWWXZnT0VqQWMzTXRVYXFKUDZLT0o1WjZzc3VGYXpCbVQ2d3RzNER0UFNrTGlBSEpGYmFSYzROb0k0d1NCbDVjOE82SEZSVGQ4cVcwS1NaQlFKeFU5QWFHVnpRX1dfWVlWU1p2SF94RmtIVUdjQVpfNmJtS0dHczJRc1FMMVF3N3VDejlNZ3FORUNMTXZEbFlVVjNxUDExeHViWVN2bmpLbEpwS1o1aENwbnByazU3SHFNTnc4Ylo0Nm10RDVpTjRWaE1adDdUWTdZTGJtSTRnOGdpNW5ZWnRWVjQ1NGJMUjlhNExKelRGeDc5UTFKZXRWYTVwcU5xazloZC1CeEtTUUJTc0plb3VGbFA3V0pnIn0=
|
23
|
+
response:
|
24
|
+
status:
|
25
|
+
code: 201
|
26
|
+
message: Created
|
27
|
+
headers:
|
28
|
+
Content-Type:
|
29
|
+
- application/json
|
30
|
+
Content-Length:
|
31
|
+
- '0'
|
32
|
+
Connection:
|
33
|
+
- keep-alive
|
34
|
+
Date:
|
35
|
+
- Sun, 14 Nov 2021 21:21:32 GMT
|
36
|
+
X-Amzn-Requestid:
|
37
|
+
- 2dd7a2f5-7505-42ae-8de8-e39572ed5dbe
|
38
|
+
X-Xss-Protection:
|
39
|
+
- 1; mode=block
|
40
|
+
Strict-Transport-Security:
|
41
|
+
- max-age=31536000
|
42
|
+
X-Frame-Options:
|
43
|
+
- DENY
|
44
|
+
X-Amzn-Remapped-Content-Length:
|
45
|
+
- '0'
|
46
|
+
X-Amzn-Remapped-Connection:
|
47
|
+
- close
|
48
|
+
Set-Cookie:
|
49
|
+
- "!Proxy!ApiProxyServletJSESSIONID=jxWjSjFl3bq9RRNYkg8abrc40AwhlAh-F1foGUgF.ioprod-jboss1-jboss1;
|
50
|
+
Path=/global-api"
|
51
|
+
- SERVERID=csc2; path=/; Secure
|
52
|
+
X-Amz-Apigw-Id:
|
53
|
+
- I0CaiEWkFiAFbsg=
|
54
|
+
Cache-Control:
|
55
|
+
- no-cache, no-store, max-age=0, must-revalidate
|
56
|
+
X-Content-Type-Options:
|
57
|
+
- nosniff
|
58
|
+
Expires:
|
59
|
+
- '0'
|
60
|
+
X-Amzn-Trace-Id:
|
61
|
+
- Root=1-61917ddc-4b57db215bf2504e1a9bd079
|
62
|
+
Pragma:
|
63
|
+
- no-cache
|
64
|
+
X-Amzn-Remapped-Date:
|
65
|
+
- Sun, 14 Nov 2021 21:21:32 GMT
|
66
|
+
X-Cache:
|
67
|
+
- Miss from cloudfront
|
68
|
+
Via:
|
69
|
+
- 1.1 465e661d27b2b6a1c349a5550c745b0f.cloudfront.net (CloudFront)
|
70
|
+
X-Amz-Cf-Pop:
|
71
|
+
- WAW50-C1
|
72
|
+
X-Amz-Cf-Id:
|
73
|
+
- NpQxFkU9cz1F-rDfVRY-PqWs_SmkOsgQoVV-BDDMD7RvQiB60FxaPQ==
|
74
|
+
body:
|
75
|
+
encoding: UTF-8
|
76
|
+
string: ''
|
77
|
+
recorded_at: Sun, 14 Nov 2021 21:21:32 GMT
|
78
|
+
recorded_with: VCR 6.0.0
|