fat_zebra 3.1.0 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +1 -1
- data/lib/fat_zebra.rb +1 -0
- data/lib/fat_zebra/authorise.rb +49 -0
- data/lib/fat_zebra/version.rb +1 -1
- data/spec/cassettes/FatZebra_Authorise/_authorise/with_challenge_response/1_2_3_1.yml +48 -0
- data/spec/cassettes/FatZebra_Authorise/_authorise/with_challenge_response/1_2_3_2.yml +48 -0
- data/spec/cassettes/FatZebra_Authorise/_authorise/with_frictionless_response/1_2_2_1.yml +48 -0
- data/spec/cassettes/FatZebra_Authorise/_authorise/with_frictionless_response/1_2_2_2.yml +48 -0
- data/spec/cassettes/FatZebra_Authorise/_authorise/with_invalid_input/1_2_1_1.yml +50 -0
- data/spec/cassettes/FatZebra_Authorise/_jwt_token/returns_JWT_with_given_params.yml +46 -0
- data/spec/cassettes/FatZebra_Authorise/_jwt_token/returns_JWT_with_no_params.yml +46 -0
- data/spec/cassettes/FatZebra_Authorise/_jwt_token/returns_JWT_with_some_params.yml +46 -0
- data/spec/cassettes/FatZebra_BankAccount/_create/1_1_1.yml +8 -14
- data/spec/cassettes/FatZebra_BankAccount/_create/1_1_2.yml +8 -14
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_1.yml +30 -30
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_2.yml +30 -30
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_3.yml +30 -30
- data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_1.yml +11 -17
- data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_2.yml +11 -17
- data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_1.yml +11 -17
- data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_2.yml +11 -17
- data/spec/cassettes/FatZebra_Batch/_find/1_2_1.yml +19 -31
- data/spec/cassettes/FatZebra_Batch/_find/1_2_2.yml +19 -31
- data/spec/cassettes/FatZebra_Batch/_result/1_4_1.yml +26 -44
- data/spec/cassettes/FatZebra_Batch/_search/1_3_1.yml +6 -6
- data/spec/cassettes/FatZebra_Batch/_search/1_3_2.yml +6 -6
- data/spec/cassettes/FatZebra_Batch/_search/1_3_3.yml +6 -6
- data/spec/cassettes/FatZebra_Card/_create/1_1_1.yml +7 -13
- data/spec/cassettes/FatZebra_Card/_create/1_1_2.yml +7 -13
- data/spec/cassettes/FatZebra_Card/_create/1_1_3.yml +7 -13
- data/spec/cassettes/FatZebra_Card/_create/1_1_4.yml +7 -13
- data/spec/cassettes/FatZebra_Card/_create/1_1_5.yml +7 -13
- data/spec/cassettes/FatZebra_Card/_create/1_1_6.yml +7 -13
- data/spec/cassettes/FatZebra_Card/_update/1_2_1.yml +15 -27
- data/spec/cassettes/FatZebra_Card/_update/1_2_2.yml +15 -27
- data/spec/cassettes/FatZebra_Card/_update/1_2_3.yml +15 -27
- data/spec/cassettes/FatZebra_Card/_update/validations/1_2_4_1.yml +7 -13
- data/spec/cassettes/FatZebra_Customer/_create/1_1_1.yml +9 -15
- data/spec/cassettes/FatZebra_Customer/_create/1_1_2.yml +9 -15
- data/spec/cassettes/FatZebra_Customer/_create/1_1_3.yml +9 -15
- data/spec/cassettes/FatZebra_Customer/_create/1_1_4.yml +9 -15
- data/spec/cassettes/FatZebra_Customer/_create/1_1_5.yml +9 -15
- data/spec/cassettes/FatZebra_Customer/_create/1_1_6.yml +9 -15
- data/spec/cassettes/FatZebra_Customer/_delete/1_5_1.yml +18 -30
- data/spec/cassettes/FatZebra_Customer/_find/1_3_1.yml +18 -30
- data/spec/cassettes/FatZebra_Customer/_find/1_3_2.yml +18 -30
- data/spec/cassettes/FatZebra_Customer/_search/1_2_1.yml +12 -16
- data/spec/cassettes/FatZebra_Customer/_search/1_2_2.yml +12 -16
- data/spec/cassettes/FatZebra_Customer/_search/1_2_3.yml +12 -16
- data/spec/cassettes/FatZebra_Customer/_update/1_4_1.yml +19 -31
- data/spec/cassettes/FatZebra_Customer/_update/1_4_2.yml +19 -31
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_1.yml +8 -14
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_2.yml +8 -14
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_3.yml +8 -14
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_4.yml +8 -14
- data/spec/cassettes/FatZebra_DirectCredit/_create/validations/valid/1_1_5_1_1.yml +7 -13
- data/spec/cassettes/FatZebra_DirectCredit/_delete/1_4_1.yml +16 -28
- data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_1.yml +16 -28
- data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_2.yml +16 -28
- data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_3.yml +13 -13
- data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_1.yml +20 -20
- data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_2.yml +20 -20
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_1.yml +8 -14
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_2.yml +8 -14
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_3.yml +8 -14
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_4.yml +8 -14
- data/spec/cassettes/FatZebra_DirectDebit/_create/validations/valid/1_1_5_1_1.yml +7 -13
- data/spec/cassettes/FatZebra_DirectDebit/_delete/1_4_1.yml +16 -28
- data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_1.yml +16 -28
- data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_2.yml +16 -28
- data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_3.yml +13 -13
- data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_1.yml +20 -20
- data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_2.yml +20 -20
- data/spec/cassettes/FatZebra_Information/_ping/1_1_1.yml +7 -13
- data/spec/cassettes/FatZebra_Information/_ping/1_1_2.yml +7 -13
- data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_1.yml +48 -48
- data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_2.yml +48 -48
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_1.yml +20 -20
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_2.yml +20 -20
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_3.yml +20 -20
- data/spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_1.yml +28 -28
- data/spec/cassettes/FatZebra_PaymentPlan/_destroy/1_6_1.yml +28 -28
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_1.yml +32 -32
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_2.yml +32 -32
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_3.yml +32 -32
- data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_1.yml +34 -34
- data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_2.yml +34 -34
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_1.yml +28 -28
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_2.yml +28 -28
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_3.yml +28 -28
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_1.yml +34 -34
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_2.yml +34 -34
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_1.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_10.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_11.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_12.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_13.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_2.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_3.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_4.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_5.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_6.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_7.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_8.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_9.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_1.yml +11 -17
- data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_2.yml +11 -17
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_1.yml +18 -30
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_2.yml +18 -30
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_3.yml +18 -30
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_4.yml +18 -30
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_1.yml +18 -30
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_2.yml +18 -30
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_3.yml +18 -30
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_4.yml +18 -30
- data/spec/cassettes/FatZebra_Refund/_create/1_1_1.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_10.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_2.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_3.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_4.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_5.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_6.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_7.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_8.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_9.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_find/1_2_1.yml +24 -24
- data/spec/cassettes/FatZebra_Refund/_find/1_2_2.yml +24 -24
- data/spec/cassettes/FatZebra_Refund/_find/1_2_3.yml +24 -24
- data/spec/cassettes/FatZebra_Refund/_search/responds_with_the_newly-created_refunds.yml +40 -40
- data/spec/cassettes/FatZebra_Refund/_void/1_4_1.yml +24 -24
- data/spec/cassettes/FatZebra_Refund/_void/1_4_2.yml +24 -24
- data/spec/cassettes/FatZebra_Refund/_void/1_4_3.yml +24 -24
- data/spec/cassettes/FatZebra_Refund/_void/1_4_4.yml +24 -24
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_1.yml +7 -13
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_2.yml +7 -13
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_3.yml +7 -13
- data/spec/cassettes/FatZebra_WebHook/_delete/1_4_1.yml +15 -27
- data/spec/cassettes/FatZebra_WebHook/_search/1_2_1.yml +160 -133
- data/spec/cassettes/FatZebra_WebHook/_search/1_2_2.yml +162 -135
- data/spec/cassettes/FatZebra_WebHook/_update/1_3_1.yml +15 -27
- data/spec/cassettes/FatZebra_WebHook/_update/1_3_2.yml +15 -27
- data/spec/lib/fat_zebra/authorise_spec.rb +101 -0
- data/spec/lib/fat_zebra/purchase_spec.rb +3 -3
- data/spec/lib/fat_zebra/refund_spec.rb +1 -1
- data/spec/support/payloads.rb +42 -0
- metadata +13 -4
- data/spec/cassettes/FatZebra_DirectDebit/_create/validations/failed_with_non-float/1_1_5_3_1.yml +0 -52
@@ -2,16 +2,16 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches/BATCH-v1-PURCHASE-TEST-
|
5
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches/BATCH-v1-PURCHASE-TEST-20190429-d1348b2d0b4b751ab80db4337b62839d.csv
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: "------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"BATCH-v1-PURCHASE-TEST-
|
9
|
-
filename=\"BATCH-v1-PURCHASE-TEST-
|
8
|
+
string: "------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"BATCH-v1-PURCHASE-TEST-20190429-d1348b2d0b4b751ab80db4337b62839d.csv\";
|
9
|
+
filename=\"BATCH-v1-PURCHASE-TEST-20190429-d1348b2d0b4b751ab80db4337b62839d.csv\"\r\nContent-Length:
|
10
10
|
\r\nContent-Type: text/csv\r\nContent-Transfer-Encoding: binary\r\n\r\n1000,AUD,Order12345,John
|
11
11
|
Doe 1,4444333322221111,12/2020,,Gizmo ABC 1\n2051,AUD,Order22345,John Doe
|
12
12
|
2,4444333322221111,12/2020,,Gizmo ABC 2\n3000,AUD,Order32345,John Doe 3,4444333322221111,12/2020,,Gizmo
|
13
13
|
ABC 3\n4000,AUD,Order42345,John Doe 4,4444333322221111,12/2020,,Gizmo ABC
|
14
|
-
4\n\r\n------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"filename\"\r\n\r\nBATCH-v1-PURCHASE-TEST-
|
14
|
+
4\n\r\n------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"filename\"\r\n\r\nBATCH-v1-PURCHASE-TEST-20190429-d1348b2d0b4b751ab80db4337b62839d.csv------FatZebraMultipartPost\r\nContent-Disposition:
|
15
15
|
form-data; name=\"test\"\r\n\r\ntrue------FatZebraMultipartPost--\r\n"
|
16
16
|
headers:
|
17
17
|
Accept-Encoding:
|
@@ -32,7 +32,7 @@ http_interactions:
|
|
32
32
|
message: Created
|
33
33
|
headers:
|
34
34
|
Date:
|
35
|
-
-
|
35
|
+
- Mon, 29 Apr 2019 09:16:37 GMT
|
36
36
|
Content-Type:
|
37
37
|
- application/json; charset=utf-8
|
38
38
|
Transfer-Encoding:
|
@@ -44,24 +44,18 @@ http_interactions:
|
|
44
44
|
Cache-Control:
|
45
45
|
- no-store
|
46
46
|
X-Request-Version:
|
47
|
-
- 1.16.9-
|
47
|
+
- 1.16.9-3941@c1d8236
|
48
|
+
X-Runtime:
|
49
|
+
- '0.142416'
|
48
50
|
Pragma:
|
49
51
|
- no-cache
|
50
|
-
X-Xss-Protection:
|
51
|
-
- 1; mode=block
|
52
52
|
X-Request-Id:
|
53
|
-
-
|
54
|
-
X-Runtime:
|
55
|
-
- '0.278682'
|
56
|
-
X-Frame-Options:
|
57
|
-
- SAMEORIGIN
|
58
|
-
X-Content-Type-Options:
|
59
|
-
- nosniff
|
53
|
+
- 2164722329b81bafaba97052
|
60
54
|
X-Backend:
|
61
55
|
- sbox-priv-gateway-a
|
62
56
|
body:
|
63
57
|
encoding: UTF-8
|
64
|
-
string: '{"successful":true,"response":{"id":"071-BF-
|
58
|
+
string: '{"successful":true,"response":{"id":"071-BF-T8U7V6UT","filename":"BATCH-v1-PURCHASE-TEST-20190429-d1348b2d0b4b751ab80db4337b62839d.csv","created_at":"2019-04-29T19:16:37+10:00","process_date":"2019-04-29","start_date":null,"completed_date":null,"status":"New","type":"PURCHASE","reference":"d1348b2d0b4b751ab80db4337b62839d"},"errors":[],"test":false}'
|
65
59
|
http_version:
|
66
|
-
recorded_at:
|
60
|
+
recorded_at: Mon, 29 Apr 2019 09:16:37 GMT
|
67
61
|
recorded_with: VCR 3.0.3
|
@@ -2,16 +2,16 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches/BATCH-v1-PURCHASE-TEST-
|
5
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches/BATCH-v1-PURCHASE-TEST-20190429-68ed4c5d1d68590a83a6883bd5288984.csv
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: "------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"BATCH-v1-PURCHASE-TEST-
|
9
|
-
filename=\"BATCH-v1-PURCHASE-TEST-
|
8
|
+
string: "------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"BATCH-v1-PURCHASE-TEST-20190429-68ed4c5d1d68590a83a6883bd5288984.csv\";
|
9
|
+
filename=\"BATCH-v1-PURCHASE-TEST-20190429-68ed4c5d1d68590a83a6883bd5288984.csv\"\r\nContent-Length:
|
10
10
|
\r\nContent-Type: text/csv\r\nContent-Transfer-Encoding: binary\r\n\r\n1000,AUD,Order12345,John
|
11
11
|
Doe 1,4444333322221111,12/2020,,Gizmo ABC 1\n2051,AUD,Order22345,John Doe
|
12
12
|
2,4444333322221111,12/2020,,Gizmo ABC 2\n3000,AUD,Order32345,John Doe 3,4444333322221111,12/2020,,Gizmo
|
13
13
|
ABC 3\n4000,AUD,Order42345,John Doe 4,4444333322221111,12/2020,,Gizmo ABC
|
14
|
-
4\n\r\n------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"filename\"\r\n\r\nBATCH-v1-PURCHASE-TEST-
|
14
|
+
4\n\r\n------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"filename\"\r\n\r\nBATCH-v1-PURCHASE-TEST-20190429-68ed4c5d1d68590a83a6883bd5288984.csv------FatZebraMultipartPost\r\nContent-Disposition:
|
15
15
|
form-data; name=\"test\"\r\n\r\ntrue------FatZebraMultipartPost--\r\n"
|
16
16
|
headers:
|
17
17
|
Accept-Encoding:
|
@@ -32,7 +32,7 @@ http_interactions:
|
|
32
32
|
message: Created
|
33
33
|
headers:
|
34
34
|
Date:
|
35
|
-
-
|
35
|
+
- Mon, 29 Apr 2019 09:16:37 GMT
|
36
36
|
Content-Type:
|
37
37
|
- application/json; charset=utf-8
|
38
38
|
Transfer-Encoding:
|
@@ -44,24 +44,18 @@ http_interactions:
|
|
44
44
|
Cache-Control:
|
45
45
|
- no-store
|
46
46
|
X-Request-Version:
|
47
|
-
- 1.16.9-
|
47
|
+
- 1.16.9-3941@c1d8236
|
48
|
+
X-Runtime:
|
49
|
+
- '0.097505'
|
48
50
|
Pragma:
|
49
51
|
- no-cache
|
50
|
-
X-Xss-Protection:
|
51
|
-
- 1; mode=block
|
52
52
|
X-Request-Id:
|
53
|
-
-
|
54
|
-
X-Runtime:
|
55
|
-
- '0.107314'
|
56
|
-
X-Frame-Options:
|
57
|
-
- SAMEORIGIN
|
58
|
-
X-Content-Type-Options:
|
59
|
-
- nosniff
|
53
|
+
- ea833b655c6005a46a20ba76
|
60
54
|
X-Backend:
|
61
55
|
- sbox-priv-gateway-a
|
62
56
|
body:
|
63
57
|
encoding: UTF-8
|
64
|
-
string: '{"successful":true,"response":{"id":"071-BF-
|
58
|
+
string: '{"successful":true,"response":{"id":"071-BF-7EASJE9I","filename":"BATCH-v1-PURCHASE-TEST-20190429-68ed4c5d1d68590a83a6883bd5288984.csv","created_at":"2019-04-29T19:16:37+10:00","process_date":"2019-04-29","start_date":null,"completed_date":null,"status":"New","type":"PURCHASE","reference":"68ed4c5d1d68590a83a6883bd5288984"},"errors":[],"test":false}'
|
65
59
|
http_version:
|
66
|
-
recorded_at:
|
60
|
+
recorded_at: Mon, 29 Apr 2019 09:16:37 GMT
|
67
61
|
recorded_with: VCR 3.0.3
|
@@ -2,12 +2,12 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches/BATCH-v1-PURCHASE-TEST-
|
5
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches/BATCH-v1-PURCHASE-TEST-20190429-e6c52165c040834df09a36e316fab7c9.csv
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: "------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"filename\"\r\n\r\nBATCH-v1-PURCHASE-TEST-
|
9
|
-
form-data; name=\"BATCH-v1-PURCHASE-TEST-
|
10
|
-
filename=\"BATCH-v1-PURCHASE-TEST-
|
8
|
+
string: "------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"filename\"\r\n\r\nBATCH-v1-PURCHASE-TEST-20190429-e6c52165c040834df09a36e316fab7c9.csv------FatZebraMultipartPost\r\nContent-Disposition:
|
9
|
+
form-data; name=\"BATCH-v1-PURCHASE-TEST-20190429-e6c52165c040834df09a36e316fab7c9.csv\";
|
10
|
+
filename=\"BATCH-v1-PURCHASE-TEST-20190429-e6c52165c040834df09a36e316fab7c9.csv\"\r\nContent-Length:
|
11
11
|
\r\nContent-Type: text/csv\r\nContent-Transfer-Encoding: binary\r\n\r\n1000,AUD,Order12345,John
|
12
12
|
Doe 1,4444333322221111,12/2020,,Gizmo ABC 1\n2051,AUD,Order22345,John Doe
|
13
13
|
2,4444333322221111,12/2020,,Gizmo ABC 2\n3000,AUD,Order32345,John Doe 3,4444333322221111,12/2020,,Gizmo
|
@@ -32,7 +32,7 @@ http_interactions:
|
|
32
32
|
message: Created
|
33
33
|
headers:
|
34
34
|
Date:
|
35
|
-
-
|
35
|
+
- Mon, 29 Apr 2019 09:16:37 GMT
|
36
36
|
Content-Type:
|
37
37
|
- application/json; charset=utf-8
|
38
38
|
Transfer-Encoding:
|
@@ -44,24 +44,18 @@ http_interactions:
|
|
44
44
|
Cache-Control:
|
45
45
|
- no-store
|
46
46
|
X-Request-Version:
|
47
|
-
- 1.16.9-
|
47
|
+
- 1.16.9-3941@c1d8236
|
48
|
+
X-Runtime:
|
49
|
+
- '0.140717'
|
48
50
|
Pragma:
|
49
51
|
- no-cache
|
50
|
-
X-Xss-Protection:
|
51
|
-
- 1; mode=block
|
52
52
|
X-Request-Id:
|
53
|
-
-
|
54
|
-
X-Runtime:
|
55
|
-
- '0.115521'
|
56
|
-
X-Frame-Options:
|
57
|
-
- SAMEORIGIN
|
58
|
-
X-Content-Type-Options:
|
59
|
-
- nosniff
|
53
|
+
- 830e86c8feaebe8f81022f20
|
60
54
|
X-Backend:
|
61
55
|
- sbox-priv-gateway-a
|
62
56
|
body:
|
63
57
|
encoding: UTF-8
|
64
|
-
string: '{"successful":true,"response":{"id":"071-BF-
|
58
|
+
string: '{"successful":true,"response":{"id":"071-BF-R2WSJQGM","filename":"BATCH-v1-PURCHASE-TEST-20190429-e6c52165c040834df09a36e316fab7c9.csv","created_at":"2019-04-29T19:16:37+10:00","process_date":"2019-04-29","start_date":null,"completed_date":null,"status":"New","type":"PURCHASE","reference":"e6c52165c040834df09a36e316fab7c9"},"errors":[],"test":false}'
|
65
59
|
http_version:
|
66
|
-
recorded_at:
|
60
|
+
recorded_at: Mon, 29 Apr 2019 09:16:37 GMT
|
67
61
|
recorded_with: VCR 3.0.3
|
@@ -2,12 +2,12 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches/BATCH-v1-PURCHASE-TEST-
|
5
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches/BATCH-v1-PURCHASE-TEST-20190429-b2aa5a5a325b043f2e044e862afc3215.csv
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: "------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"filename\"\r\n\r\nBATCH-v1-PURCHASE-TEST-
|
9
|
-
form-data; name=\"BATCH-v1-PURCHASE-TEST-
|
10
|
-
filename=\"BATCH-v1-PURCHASE-TEST-
|
8
|
+
string: "------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"filename\"\r\n\r\nBATCH-v1-PURCHASE-TEST-20190429-b2aa5a5a325b043f2e044e862afc3215.csv------FatZebraMultipartPost\r\nContent-Disposition:
|
9
|
+
form-data; name=\"BATCH-v1-PURCHASE-TEST-20190429-b2aa5a5a325b043f2e044e862afc3215.csv\";
|
10
|
+
filename=\"BATCH-v1-PURCHASE-TEST-20190429-b2aa5a5a325b043f2e044e862afc3215.csv\"\r\nContent-Length:
|
11
11
|
\r\nContent-Type: text/csv\r\nContent-Transfer-Encoding: binary\r\n\r\n1000,AUD,Order12345,John
|
12
12
|
Doe 1,4444333322221111,12/2020,,Gizmo ABC 1\n2051,AUD,Order22345,John Doe
|
13
13
|
2,4444333322221111,12/2020,,Gizmo ABC 2\n3000,AUD,Order32345,John Doe 3,4444333322221111,12/2020,,Gizmo
|
@@ -32,7 +32,7 @@ http_interactions:
|
|
32
32
|
message: Created
|
33
33
|
headers:
|
34
34
|
Date:
|
35
|
-
-
|
35
|
+
- Mon, 29 Apr 2019 09:16:38 GMT
|
36
36
|
Content-Type:
|
37
37
|
- application/json; charset=utf-8
|
38
38
|
Transfer-Encoding:
|
@@ -44,24 +44,18 @@ http_interactions:
|
|
44
44
|
Cache-Control:
|
45
45
|
- no-store
|
46
46
|
X-Request-Version:
|
47
|
-
- 1.16.9-
|
47
|
+
- 1.16.9-3941@c1d8236
|
48
|
+
X-Runtime:
|
49
|
+
- '0.094806'
|
48
50
|
Pragma:
|
49
51
|
- no-cache
|
50
|
-
X-Xss-Protection:
|
51
|
-
- 1; mode=block
|
52
52
|
X-Request-Id:
|
53
|
-
-
|
54
|
-
X-Runtime:
|
55
|
-
- '0.080920'
|
56
|
-
X-Frame-Options:
|
57
|
-
- SAMEORIGIN
|
58
|
-
X-Content-Type-Options:
|
59
|
-
- nosniff
|
53
|
+
- 224cac923b2e3c8fa5861c76
|
60
54
|
X-Backend:
|
61
55
|
- sbox-priv-gateway-a
|
62
56
|
body:
|
63
57
|
encoding: UTF-8
|
64
|
-
string: '{"successful":true,"response":{"id":"071-BF-
|
58
|
+
string: '{"successful":true,"response":{"id":"071-BF-E568PT00","filename":"BATCH-v1-PURCHASE-TEST-20190429-b2aa5a5a325b043f2e044e862afc3215.csv","created_at":"2019-04-29T19:16:38+10:00","process_date":"2019-04-29","start_date":null,"completed_date":null,"status":"New","type":"PURCHASE","reference":"b2aa5a5a325b043f2e044e862afc3215"},"errors":[],"test":false}'
|
65
59
|
http_version:
|
66
|
-
recorded_at:
|
60
|
+
recorded_at: Mon, 29 Apr 2019 09:16:38 GMT
|
67
61
|
recorded_with: VCR 3.0.3
|
@@ -2,16 +2,16 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches/BATCH-v1-PURCHASE-TEST-
|
5
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches/BATCH-v1-PURCHASE-TEST-20190429-8b1e43145aff17bfd876abb8f676bb6c.csv
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: "------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"BATCH-v1-PURCHASE-TEST-
|
9
|
-
filename=\"BATCH-v1-PURCHASE-TEST-
|
8
|
+
string: "------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"BATCH-v1-PURCHASE-TEST-20190429-8b1e43145aff17bfd876abb8f676bb6c.csv\";
|
9
|
+
filename=\"BATCH-v1-PURCHASE-TEST-20190429-8b1e43145aff17bfd876abb8f676bb6c.csv\"\r\nContent-Length:
|
10
10
|
\r\nContent-Type: text/csv\r\nContent-Transfer-Encoding: binary\r\n\r\n1000,AUD,Order12345,John
|
11
11
|
Doe 1,4444333322221111,12/2020,,Gizmo ABC 1\n2051,AUD,Order22345,John Doe
|
12
12
|
2,4444333322221111,12/2020,,Gizmo ABC 2\n3000,AUD,Order32345,John Doe 3,4444333322221111,12/2020,,Gizmo
|
13
13
|
ABC 3\n4000,AUD,Order42345,John Doe 4,4444333322221111,12/2020,,Gizmo ABC
|
14
|
-
4\n\r\n------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"filename\"\r\n\r\nBATCH-v1-PURCHASE-TEST-
|
14
|
+
4\n\r\n------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"filename\"\r\n\r\nBATCH-v1-PURCHASE-TEST-20190429-8b1e43145aff17bfd876abb8f676bb6c.csv------FatZebraMultipartPost\r\nContent-Disposition:
|
15
15
|
form-data; name=\"test\"\r\n\r\ntrue------FatZebraMultipartPost--\r\n"
|
16
16
|
headers:
|
17
17
|
Accept-Encoding:
|
@@ -32,7 +32,7 @@ http_interactions:
|
|
32
32
|
message: Created
|
33
33
|
headers:
|
34
34
|
Date:
|
35
|
-
-
|
35
|
+
- Mon, 29 Apr 2019 09:16:38 GMT
|
36
36
|
Content-Type:
|
37
37
|
- application/json; charset=utf-8
|
38
38
|
Transfer-Encoding:
|
@@ -44,29 +44,23 @@ http_interactions:
|
|
44
44
|
Cache-Control:
|
45
45
|
- no-store
|
46
46
|
X-Request-Version:
|
47
|
-
- 1.16.9-
|
47
|
+
- 1.16.9-3941@c1d8236
|
48
|
+
X-Runtime:
|
49
|
+
- '0.094179'
|
48
50
|
Pragma:
|
49
51
|
- no-cache
|
50
|
-
X-Xss-Protection:
|
51
|
-
- 1; mode=block
|
52
52
|
X-Request-Id:
|
53
|
-
-
|
54
|
-
X-Runtime:
|
55
|
-
- '0.072719'
|
56
|
-
X-Frame-Options:
|
57
|
-
- SAMEORIGIN
|
58
|
-
X-Content-Type-Options:
|
59
|
-
- nosniff
|
53
|
+
- 616099b298d57f59d4e000ec
|
60
54
|
X-Backend:
|
61
55
|
- sbox-priv-gateway-a
|
62
56
|
body:
|
63
57
|
encoding: UTF-8
|
64
|
-
string: '{"successful":true,"response":{"id":"071-BF-
|
58
|
+
string: '{"successful":true,"response":{"id":"071-BF-1YWLB49L","filename":"BATCH-v1-PURCHASE-TEST-20190429-8b1e43145aff17bfd876abb8f676bb6c.csv","created_at":"2019-04-29T19:16:38+10:00","process_date":"2019-04-29","start_date":null,"completed_date":null,"status":"New","type":"PURCHASE","reference":"8b1e43145aff17bfd876abb8f676bb6c"},"errors":[],"test":false}'
|
65
59
|
http_version:
|
66
|
-
recorded_at:
|
60
|
+
recorded_at: Mon, 29 Apr 2019 09:16:38 GMT
|
67
61
|
- request:
|
68
62
|
method: get
|
69
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches/
|
63
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches/8b1e43145aff17bfd876abb8f676bb6c?test=true
|
70
64
|
body:
|
71
65
|
encoding: US-ASCII
|
72
66
|
string: ''
|
@@ -89,7 +83,7 @@ http_interactions:
|
|
89
83
|
message: OK
|
90
84
|
headers:
|
91
85
|
Date:
|
92
|
-
-
|
86
|
+
- Mon, 29 Apr 2019 09:16:38 GMT
|
93
87
|
Content-Type:
|
94
88
|
- application/json; charset=utf-8
|
95
89
|
Transfer-Encoding:
|
@@ -101,24 +95,18 @@ http_interactions:
|
|
101
95
|
Cache-Control:
|
102
96
|
- no-store
|
103
97
|
X-Request-Version:
|
104
|
-
- 1.16.9-
|
98
|
+
- 1.16.9-3941@c1d8236
|
99
|
+
X-Runtime:
|
100
|
+
- '0.016571'
|
105
101
|
Pragma:
|
106
102
|
- no-cache
|
107
|
-
X-Xss-Protection:
|
108
|
-
- 1; mode=block
|
109
103
|
X-Request-Id:
|
110
|
-
-
|
111
|
-
X-Runtime:
|
112
|
-
- '0.014937'
|
113
|
-
X-Frame-Options:
|
114
|
-
- SAMEORIGIN
|
115
|
-
X-Content-Type-Options:
|
116
|
-
- nosniff
|
104
|
+
- a5b06e572efbd1ebbf7e7cc4
|
117
105
|
X-Backend:
|
118
106
|
- sbox-priv-gateway-a
|
119
107
|
body:
|
120
108
|
encoding: UTF-8
|
121
|
-
string: '{"successful":true,"response":{"id":"071-BF-
|
109
|
+
string: '{"successful":true,"response":{"id":"071-BF-1YWLB49L","filename":"BATCH-v1-PURCHASE-TEST-20190429-8b1e43145aff17bfd876abb8f676bb6c.csv","created_at":"2019-04-29T19:16:38+10:00","process_date":"2019-04-29","start_date":null,"completed_date":null,"status":"Ingesting","type":"PURCHASE","reference":"8b1e43145aff17bfd876abb8f676bb6c"},"errors":[],"test":true}'
|
122
110
|
http_version:
|
123
|
-
recorded_at:
|
111
|
+
recorded_at: Mon, 29 Apr 2019 09:16:38 GMT
|
124
112
|
recorded_with: VCR 3.0.3
|
@@ -2,16 +2,16 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches/BATCH-v1-PURCHASE-TEST-
|
5
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches/BATCH-v1-PURCHASE-TEST-20190429-83a85cdf43c5d13dc0c063e7c8526331.csv
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: "------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"BATCH-v1-PURCHASE-TEST-
|
9
|
-
filename=\"BATCH-v1-PURCHASE-TEST-
|
8
|
+
string: "------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"BATCH-v1-PURCHASE-TEST-20190429-83a85cdf43c5d13dc0c063e7c8526331.csv\";
|
9
|
+
filename=\"BATCH-v1-PURCHASE-TEST-20190429-83a85cdf43c5d13dc0c063e7c8526331.csv\"\r\nContent-Length:
|
10
10
|
\r\nContent-Type: text/csv\r\nContent-Transfer-Encoding: binary\r\n\r\n1000,AUD,Order12345,John
|
11
11
|
Doe 1,4444333322221111,12/2020,,Gizmo ABC 1\n2051,AUD,Order22345,John Doe
|
12
12
|
2,4444333322221111,12/2020,,Gizmo ABC 2\n3000,AUD,Order32345,John Doe 3,4444333322221111,12/2020,,Gizmo
|
13
13
|
ABC 3\n4000,AUD,Order42345,John Doe 4,4444333322221111,12/2020,,Gizmo ABC
|
14
|
-
4\n\r\n------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"filename\"\r\n\r\nBATCH-v1-PURCHASE-TEST-
|
14
|
+
4\n\r\n------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"filename\"\r\n\r\nBATCH-v1-PURCHASE-TEST-20190429-83a85cdf43c5d13dc0c063e7c8526331.csv------FatZebraMultipartPost\r\nContent-Disposition:
|
15
15
|
form-data; name=\"test\"\r\n\r\ntrue------FatZebraMultipartPost--\r\n"
|
16
16
|
headers:
|
17
17
|
Accept-Encoding:
|
@@ -32,7 +32,7 @@ http_interactions:
|
|
32
32
|
message: Created
|
33
33
|
headers:
|
34
34
|
Date:
|
35
|
-
-
|
35
|
+
- Mon, 29 Apr 2019 09:16:38 GMT
|
36
36
|
Content-Type:
|
37
37
|
- application/json; charset=utf-8
|
38
38
|
Transfer-Encoding:
|
@@ -44,29 +44,23 @@ http_interactions:
|
|
44
44
|
Cache-Control:
|
45
45
|
- no-store
|
46
46
|
X-Request-Version:
|
47
|
-
- 1.16.9-
|
47
|
+
- 1.16.9-3941@c1d8236
|
48
|
+
X-Runtime:
|
49
|
+
- '0.142686'
|
48
50
|
Pragma:
|
49
51
|
- no-cache
|
50
|
-
X-Xss-Protection:
|
51
|
-
- 1; mode=block
|
52
52
|
X-Request-Id:
|
53
|
-
-
|
54
|
-
X-Runtime:
|
55
|
-
- '0.096015'
|
56
|
-
X-Frame-Options:
|
57
|
-
- SAMEORIGIN
|
58
|
-
X-Content-Type-Options:
|
59
|
-
- nosniff
|
53
|
+
- 88468008436a7dc061cb001c
|
60
54
|
X-Backend:
|
61
55
|
- sbox-priv-gateway-a
|
62
56
|
body:
|
63
57
|
encoding: UTF-8
|
64
|
-
string: '{"successful":true,"response":{"id":"071-BF-
|
58
|
+
string: '{"successful":true,"response":{"id":"071-BF-DLDB6ABY","filename":"BATCH-v1-PURCHASE-TEST-20190429-83a85cdf43c5d13dc0c063e7c8526331.csv","created_at":"2019-04-29T19:16:38+10:00","process_date":"2019-04-29","start_date":null,"completed_date":null,"status":"New","type":"PURCHASE","reference":"83a85cdf43c5d13dc0c063e7c8526331"},"errors":[],"test":false}'
|
65
59
|
http_version:
|
66
|
-
recorded_at:
|
60
|
+
recorded_at: Mon, 29 Apr 2019 09:16:38 GMT
|
67
61
|
- request:
|
68
62
|
method: get
|
69
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches/
|
63
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches/83a85cdf43c5d13dc0c063e7c8526331?test=true
|
70
64
|
body:
|
71
65
|
encoding: US-ASCII
|
72
66
|
string: ''
|
@@ -89,7 +83,7 @@ http_interactions:
|
|
89
83
|
message: OK
|
90
84
|
headers:
|
91
85
|
Date:
|
92
|
-
-
|
86
|
+
- Mon, 29 Apr 2019 09:16:38 GMT
|
93
87
|
Content-Type:
|
94
88
|
- application/json; charset=utf-8
|
95
89
|
Transfer-Encoding:
|
@@ -101,24 +95,18 @@ http_interactions:
|
|
101
95
|
Cache-Control:
|
102
96
|
- no-store
|
103
97
|
X-Request-Version:
|
104
|
-
- 1.16.9-
|
98
|
+
- 1.16.9-3941@c1d8236
|
99
|
+
X-Runtime:
|
100
|
+
- '0.018531'
|
105
101
|
Pragma:
|
106
102
|
- no-cache
|
107
|
-
X-Xss-Protection:
|
108
|
-
- 1; mode=block
|
109
103
|
X-Request-Id:
|
110
|
-
-
|
111
|
-
X-Runtime:
|
112
|
-
- '0.014976'
|
113
|
-
X-Frame-Options:
|
114
|
-
- SAMEORIGIN
|
115
|
-
X-Content-Type-Options:
|
116
|
-
- nosniff
|
104
|
+
- cc25d10466c7c8fcfa6b0d60
|
117
105
|
X-Backend:
|
118
106
|
- sbox-priv-gateway-a
|
119
107
|
body:
|
120
108
|
encoding: UTF-8
|
121
|
-
string: '{"successful":true,"response":{"id":"071-BF-
|
109
|
+
string: '{"successful":true,"response":{"id":"071-BF-DLDB6ABY","filename":"BATCH-v1-PURCHASE-TEST-20190429-83a85cdf43c5d13dc0c063e7c8526331.csv","created_at":"2019-04-29T19:16:38+10:00","process_date":"2019-04-29","start_date":null,"completed_date":null,"status":"Error","type":"PURCHASE","reference":"83a85cdf43c5d13dc0c063e7c8526331"},"errors":[],"test":true}'
|
122
110
|
http_version:
|
123
|
-
recorded_at:
|
111
|
+
recorded_at: Mon, 29 Apr 2019 09:16:38 GMT
|
124
112
|
recorded_with: VCR 3.0.3
|
@@ -2,16 +2,16 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches/BATCH-v1-PURCHASE-TEST-
|
5
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches/BATCH-v1-PURCHASE-TEST-20190429-e4aec7551f68275026da1312f5fb5ce5.csv
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: "------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"BATCH-v1-PURCHASE-TEST-
|
9
|
-
filename=\"BATCH-v1-PURCHASE-TEST-
|
8
|
+
string: "------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"BATCH-v1-PURCHASE-TEST-20190429-e4aec7551f68275026da1312f5fb5ce5.csv\";
|
9
|
+
filename=\"BATCH-v1-PURCHASE-TEST-20190429-e4aec7551f68275026da1312f5fb5ce5.csv\"\r\nContent-Length:
|
10
10
|
\r\nContent-Type: text/csv\r\nContent-Transfer-Encoding: binary\r\n\r\n1000,AUD,Order12345,John
|
11
11
|
Doe 1,4444333322221111,12/2020,,Gizmo ABC 1\n2051,AUD,Order22345,John Doe
|
12
12
|
2,4444333322221111,12/2020,,Gizmo ABC 2\n3000,AUD,Order32345,John Doe 3,4444333322221111,12/2020,,Gizmo
|
13
13
|
ABC 3\n4000,AUD,Order42345,John Doe 4,4444333322221111,12/2020,,Gizmo ABC
|
14
|
-
4\n\r\n------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"filename\"\r\n\r\nBATCH-v1-PURCHASE-TEST-
|
14
|
+
4\n\r\n------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"filename\"\r\n\r\nBATCH-v1-PURCHASE-TEST-20190429-e4aec7551f68275026da1312f5fb5ce5.csv------FatZebraMultipartPost\r\nContent-Disposition:
|
15
15
|
form-data; name=\"test\"\r\n\r\ntrue------FatZebraMultipartPost--\r\n"
|
16
16
|
headers:
|
17
17
|
Accept-Encoding:
|
@@ -32,7 +32,7 @@ http_interactions:
|
|
32
32
|
message: Created
|
33
33
|
headers:
|
34
34
|
Date:
|
35
|
-
-
|
35
|
+
- Mon, 29 Apr 2019 09:16:38 GMT
|
36
36
|
Content-Type:
|
37
37
|
- application/json; charset=utf-8
|
38
38
|
Transfer-Encoding:
|
@@ -44,29 +44,23 @@ http_interactions:
|
|
44
44
|
Cache-Control:
|
45
45
|
- no-store
|
46
46
|
X-Request-Version:
|
47
|
-
- 1.16.9-
|
47
|
+
- 1.16.9-3941@c1d8236
|
48
|
+
X-Runtime:
|
49
|
+
- '0.120164'
|
48
50
|
Pragma:
|
49
51
|
- no-cache
|
50
|
-
X-Xss-Protection:
|
51
|
-
- 1; mode=block
|
52
52
|
X-Request-Id:
|
53
|
-
-
|
54
|
-
X-Runtime:
|
55
|
-
- '0.132894'
|
56
|
-
X-Frame-Options:
|
57
|
-
- SAMEORIGIN
|
58
|
-
X-Content-Type-Options:
|
59
|
-
- nosniff
|
53
|
+
- 2e6915961e9f4cdf948c71fc
|
60
54
|
X-Backend:
|
61
55
|
- sbox-priv-gateway-a
|
62
56
|
body:
|
63
57
|
encoding: UTF-8
|
64
|
-
string: '{"successful":true,"response":{"id":"071-BF-
|
58
|
+
string: '{"successful":true,"response":{"id":"071-BF-JJXK2KHE","filename":"BATCH-v1-PURCHASE-TEST-20190429-e4aec7551f68275026da1312f5fb5ce5.csv","created_at":"2019-04-29T19:16:38+10:00","process_date":"2019-04-29","start_date":null,"completed_date":null,"status":"New","type":"PURCHASE","reference":"e4aec7551f68275026da1312f5fb5ce5"},"errors":[],"test":false}'
|
65
59
|
http_version:
|
66
|
-
recorded_at:
|
60
|
+
recorded_at: Mon, 29 Apr 2019 09:16:39 GMT
|
67
61
|
- request:
|
68
62
|
method: get
|
69
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches/
|
63
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches/e4aec7551f68275026da1312f5fb5ce5?test=true
|
70
64
|
body:
|
71
65
|
encoding: US-ASCII
|
72
66
|
string: ''
|
@@ -89,7 +83,7 @@ http_interactions:
|
|
89
83
|
message: OK
|
90
84
|
headers:
|
91
85
|
Date:
|
92
|
-
-
|
86
|
+
- Mon, 29 Apr 2019 09:16:39 GMT
|
93
87
|
Content-Type:
|
94
88
|
- application/json; charset=utf-8
|
95
89
|
Transfer-Encoding:
|
@@ -101,29 +95,23 @@ http_interactions:
|
|
101
95
|
Cache-Control:
|
102
96
|
- no-store
|
103
97
|
X-Request-Version:
|
104
|
-
- 1.16.9-
|
98
|
+
- 1.16.9-3941@c1d8236
|
99
|
+
X-Runtime:
|
100
|
+
- '0.017735'
|
105
101
|
Pragma:
|
106
102
|
- no-cache
|
107
|
-
X-Xss-Protection:
|
108
|
-
- 1; mode=block
|
109
103
|
X-Request-Id:
|
110
|
-
-
|
111
|
-
X-Runtime:
|
112
|
-
- '0.011982'
|
113
|
-
X-Frame-Options:
|
114
|
-
- SAMEORIGIN
|
115
|
-
X-Content-Type-Options:
|
116
|
-
- nosniff
|
104
|
+
- 03a5f9c04b2669a02e59e04c
|
117
105
|
X-Backend:
|
118
106
|
- sbox-priv-gateway-a
|
119
107
|
body:
|
120
108
|
encoding: UTF-8
|
121
|
-
string: '{"successful":true,"response":{"id":"071-BF-
|
109
|
+
string: '{"successful":true,"response":{"id":"071-BF-JJXK2KHE","filename":"BATCH-v1-PURCHASE-TEST-20190429-e4aec7551f68275026da1312f5fb5ce5.csv","created_at":"2019-04-29T19:16:38+10:00","process_date":"2019-04-29","start_date":null,"completed_date":null,"status":"Error","type":"PURCHASE","reference":"e4aec7551f68275026da1312f5fb5ce5"},"errors":[],"test":true}'
|
122
110
|
http_version:
|
123
|
-
recorded_at:
|
111
|
+
recorded_at: Mon, 29 Apr 2019 09:16:39 GMT
|
124
112
|
- request:
|
125
113
|
method: get
|
126
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches/071-BF-
|
114
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches/071-BF-JJXK2KHE/result.csv?test=true
|
127
115
|
body:
|
128
116
|
encoding: US-ASCII
|
129
117
|
string: ''
|
@@ -146,7 +134,7 @@ http_interactions:
|
|
146
134
|
message: Unprocessable Entity
|
147
135
|
headers:
|
148
136
|
Date:
|
149
|
-
-
|
137
|
+
- Mon, 29 Apr 2019 09:16:39 GMT
|
150
138
|
Content-Type:
|
151
139
|
- application/json; charset=utf-8
|
152
140
|
Transfer-Encoding:
|
@@ -158,24 +146,18 @@ http_interactions:
|
|
158
146
|
Cache-Control:
|
159
147
|
- no-store
|
160
148
|
X-Request-Version:
|
161
|
-
- 1.16.9-
|
149
|
+
- 1.16.9-3941@c1d8236
|
150
|
+
X-Runtime:
|
151
|
+
- '0.016970'
|
162
152
|
Pragma:
|
163
153
|
- no-cache
|
164
|
-
X-Xss-Protection:
|
165
|
-
- 1; mode=block
|
166
154
|
X-Request-Id:
|
167
|
-
-
|
168
|
-
X-Runtime:
|
169
|
-
- '0.028438'
|
170
|
-
X-Frame-Options:
|
171
|
-
- SAMEORIGIN
|
172
|
-
X-Content-Type-Options:
|
173
|
-
- nosniff
|
155
|
+
- f7d1ffe8bd21153a5929a550
|
174
156
|
X-Backend:
|
175
157
|
- sbox-priv-gateway-a
|
176
158
|
body:
|
177
159
|
encoding: UTF-8
|
178
160
|
string: Batch is not yet completed
|
179
161
|
http_version:
|
180
|
-
recorded_at:
|
162
|
+
recorded_at: Mon, 29 Apr 2019 09:16:39 GMT
|
181
163
|
recorded_with: VCR 3.0.3
|