fortnox-api 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.codeclimate.yml +1 -0
- data/.rubocop.yml +1 -1
- data/.tool-versions +1 -0
- data/.travis.yml +5 -3
- data/CHANGELOG.md +37 -3
- data/fortnox-api.gemspec +22 -17
- data/lib/fortnox/api/mappers/article.rb +1 -1
- data/lib/fortnox/api/mappers/base/from_json.rb +1 -1
- data/lib/fortnox/api/mappers/base/to_json.rb +2 -2
- data/lib/fortnox/api/mappers/base.rb +3 -3
- data/lib/fortnox/api/mappers/customer.rb +1 -1
- data/lib/fortnox/api/mappers/default_delivery_types.rb +1 -1
- data/lib/fortnox/api/mappers/default_templates.rb +1 -1
- data/lib/fortnox/api/mappers/edi_information.rb +1 -1
- data/lib/fortnox/api/mappers/email_information.rb +1 -1
- data/lib/fortnox/api/mappers/invoice.rb +4 -4
- data/lib/fortnox/api/mappers/invoice_row.rb +1 -1
- data/lib/fortnox/api/mappers/order.rb +4 -4
- data/lib/fortnox/api/mappers/order_row.rb +1 -1
- data/lib/fortnox/api/mappers/project.rb +1 -1
- data/lib/fortnox/api/mappers/terms_of_payment.rb +1 -1
- data/lib/fortnox/api/mappers/unit.rb +1 -1
- data/lib/fortnox/api/mappers/value/country_string.rb +1 -1
- data/lib/fortnox/api/mappers.rb +18 -18
- data/lib/fortnox/api/models/article.rb +2 -2
- data/lib/fortnox/api/models/base.rb +14 -14
- data/lib/fortnox/api/models/customer.rb +2 -2
- data/lib/fortnox/api/models/document.rb +2 -2
- data/lib/fortnox/api/models/invoice.rb +2 -2
- data/lib/fortnox/api/models/label.rb +1 -1
- data/lib/fortnox/api/models/order.rb +2 -2
- data/lib/fortnox/api/models/project.rb +2 -2
- data/lib/fortnox/api/models/terms_of_payment.rb +2 -2
- data/lib/fortnox/api/models/unit.rb +2 -2
- data/lib/fortnox/api/models.rb +7 -7
- data/lib/fortnox/api/repositories/article.rb +3 -3
- data/lib/fortnox/api/repositories/base.rb +4 -3
- data/lib/fortnox/api/repositories/customer.rb +3 -3
- data/lib/fortnox/api/repositories/invoice.rb +3 -3
- data/lib/fortnox/api/repositories/order.rb +3 -3
- data/lib/fortnox/api/repositories/project.rb +3 -3
- data/lib/fortnox/api/repositories/terms_of_payment.rb +3 -3
- data/lib/fortnox/api/repositories/unit.rb +3 -3
- data/lib/fortnox/api/repositories.rb +7 -7
- data/lib/fortnox/api/types/default_delivery_types.rb +0 -2
- data/lib/fortnox/api/types/default_templates.rb +0 -2
- data/lib/fortnox/api/types/edi_information.rb +0 -2
- data/lib/fortnox/api/types/email_information.rb +0 -2
- data/lib/fortnox/api/types/invoice_row.rb +1 -1
- data/lib/fortnox/api/types/model.rb +4 -6
- data/lib/fortnox/api/types/nullable.rb +13 -9
- data/lib/fortnox/api/types/order_row.rb +1 -1
- data/lib/fortnox/api/types/required.rb +3 -3
- data/lib/fortnox/api/types/sized.rb +2 -2
- data/lib/fortnox/api/types.rb +17 -22
- data/lib/fortnox/api/version.rb +1 -1
- data/lib/fortnox/api.rb +18 -16
- data/spec/fortnox/api/mappers/base/canonical_name_sym_spec.rb +9 -7
- data/spec/fortnox/api/mappers/default_delivery_types_spec.rb +1 -1
- data/spec/fortnox/api/mappers/examples/mapper.rb +1 -1
- data/spec/fortnox/api/models/base_spec.rb +8 -8
- data/spec/fortnox/api/repositories/article_spec.rb +2 -2
- data/spec/fortnox/api/repositories/base_spec.rb +4 -12
- data/spec/fortnox/api/repositories/customer_spec.rb +1 -1
- data/spec/fortnox/api/repositories/invoice_spec.rb +0 -6
- data/spec/fortnox/api/repositories/project_spec.rb +1 -1
- data/spec/fortnox/api/repositories/terms_of_payment_spec.rb +2 -2
- data/spec/fortnox/api/repositories/unit_spec.rb +3 -3
- data/spec/fortnox/api/types/housework_types_spec.rb +0 -29
- data/spec/fortnox/api/types/model_spec.rb +11 -17
- data/spec/fortnox/api/types/nullable_spec.rb +30 -10
- data/spec/fortnox/api/types/required_spec.rb +1 -4
- data/spec/support/matchers/type/enum_matcher.rb +1 -1
- data/spec/support/matchers/type/have_account_number_matcher.rb +1 -1
- data/spec/support/matchers/type/have_email_matcher.rb +1 -1
- data/spec/support/matchers/type/have_nullable_date_matcher.rb +5 -5
- data/spec/support/matchers/type/have_nullable_string_matcher.rb +3 -3
- data/spec/vcr_cassettes/articles/all.yml +30 -20
- data/spec/vcr_cassettes/articles/find_by_hash_failure.yml +25 -19
- data/spec/vcr_cassettes/articles/find_failure.yml +25 -19
- data/spec/vcr_cassettes/articles/find_id_1.yml +26 -20
- data/spec/vcr_cassettes/articles/find_new.yml +28 -22
- data/spec/vcr_cassettes/articles/multi_param_find_by_hash.yml +25 -19
- data/spec/vcr_cassettes/articles/save_new.yml +27 -21
- data/spec/vcr_cassettes/articles/save_old.yml +28 -22
- data/spec/vcr_cassettes/articles/save_with_specially_named_attribute.yml +27 -21
- data/spec/vcr_cassettes/articles/search_by_name.yml +25 -19
- data/spec/vcr_cassettes/articles/search_miss.yml +25 -19
- data/spec/vcr_cassettes/articles/search_with_special_char.yml +25 -19
- data/spec/vcr_cassettes/articles/single_param_find_by_hash.yml +28 -21
- data/spec/vcr_cassettes/customers/all.yml +26 -20
- data/spec/vcr_cassettes/customers/find_by_hash_failure.yml +25 -19
- data/spec/vcr_cassettes/customers/find_failure.yml +25 -19
- data/spec/vcr_cassettes/customers/find_id_1.yml +25 -19
- data/spec/vcr_cassettes/customers/find_new.yml +27 -21
- data/spec/vcr_cassettes/customers/multi_param_find_by_hash.yml +25 -19
- data/spec/vcr_cassettes/customers/save_new.yml +26 -20
- data/spec/vcr_cassettes/customers/save_new_with_country_code_SE.yml +26 -20
- data/spec/vcr_cassettes/customers/save_old.yml +27 -21
- data/spec/vcr_cassettes/customers/save_with_specially_named_attribute.yml +26 -20
- data/spec/vcr_cassettes/customers/search_by_name.yml +28 -20
- data/spec/vcr_cassettes/customers/search_miss.yml +25 -19
- data/spec/vcr_cassettes/customers/search_with_special_char.yml +25 -19
- data/spec/vcr_cassettes/customers/single_param_find_by_hash.yml +25 -19
- data/spec/vcr_cassettes/invoices/all.yml +26 -20
- data/spec/vcr_cassettes/invoices/filter_hit.yml +25 -19
- data/spec/vcr_cassettes/invoices/filter_invalid.yml +25 -19
- data/spec/vcr_cassettes/invoices/find_by_hash_failure.yml +25 -19
- data/spec/vcr_cassettes/invoices/find_failure.yml +25 -19
- data/spec/vcr_cassettes/invoices/find_id_1.yml +26 -20
- data/spec/vcr_cassettes/invoices/find_new.yml +30 -24
- data/spec/vcr_cassettes/invoices/multi_param_find_by_hash.yml +25 -19
- data/spec/vcr_cassettes/invoices/save_new.yml +29 -23
- data/spec/vcr_cassettes/invoices/save_new_with_comments.yml +29 -23
- data/spec/vcr_cassettes/invoices/save_new_with_country.yml +28 -22
- data/spec/vcr_cassettes/invoices/save_new_with_country_GB.yml +29 -23
- data/spec/vcr_cassettes/invoices/save_new_with_country_Norge.yml +28 -22
- data/spec/vcr_cassettes/invoices/save_new_with_country_Norway.yml +28 -22
- data/spec/vcr_cassettes/invoices/save_new_with_country_Sverige.yml +28 -22
- data/spec/vcr_cassettes/invoices/save_new_with_country_VA.yml +29 -23
- data/spec/vcr_cassettes/invoices/save_new_with_country_VI.yml +29 -23
- data/spec/vcr_cassettes/invoices/save_new_with_country_empty_string.yml +28 -22
- data/spec/vcr_cassettes/invoices/save_new_with_country_nil.yml +28 -22
- data/spec/vcr_cassettes/invoices/save_old.yml +30 -24
- data/spec/vcr_cassettes/invoices/save_old_with_empty_comments.yml +30 -24
- data/spec/vcr_cassettes/invoices/save_old_with_empty_country.yml +29 -23
- data/spec/vcr_cassettes/invoices/save_old_with_nil_comments.yml +30 -24
- data/spec/vcr_cassettes/invoices/save_old_with_nil_country.yml +29 -23
- data/spec/vcr_cassettes/invoices/save_with_nested_model.yml +28 -22
- data/spec/vcr_cassettes/invoices/save_with_specially_named_attribute.yml +28 -22
- data/spec/vcr_cassettes/invoices/search_by_name.yml +25 -19
- data/spec/vcr_cassettes/invoices/search_miss.yml +25 -19
- data/spec/vcr_cassettes/invoices/search_with_special_char.yml +25 -19
- data/spec/vcr_cassettes/invoices/single_param_find_by_hash.yml +25 -19
- data/spec/vcr_cassettes/orders/all.yml +26 -20
- data/spec/vcr_cassettes/orders/filter_hit.yml +25 -19
- data/spec/vcr_cassettes/orders/filter_invalid.yml +25 -19
- data/spec/vcr_cassettes/orders/find_by_hash_failure.yml +25 -19
- data/spec/vcr_cassettes/orders/find_failure.yml +25 -19
- data/spec/vcr_cassettes/orders/find_id_1.yml +25 -19
- data/spec/vcr_cassettes/orders/find_new.yml +29 -23
- data/spec/vcr_cassettes/orders/housework_invalid_tax_reduction_type.yml +25 -19
- data/spec/vcr_cassettes/orders/housework_othercoses_invalid.yml +25 -19
- data/spec/vcr_cassettes/orders/housework_type_babysitting.yml +28 -22
- data/spec/vcr_cassettes/orders/housework_type_cleaning.yml +28 -22
- data/spec/vcr_cassettes/orders/housework_type_construction.yml +28 -22
- data/spec/vcr_cassettes/orders/housework_type_cooking.yml +25 -19
- data/spec/vcr_cassettes/orders/housework_type_electricity.yml +28 -22
- data/spec/vcr_cassettes/orders/housework_type_gardening.yml +28 -22
- data/spec/vcr_cassettes/orders/housework_type_glassmetalwork.yml +28 -22
- data/spec/vcr_cassettes/orders/housework_type_grounddrainagework.yml +28 -22
- data/spec/vcr_cassettes/orders/housework_type_hvac.yml +28 -22
- data/spec/vcr_cassettes/orders/housework_type_itservices.yml +28 -22
- data/spec/vcr_cassettes/orders/housework_type_majorappliancerepair.yml +28 -22
- data/spec/vcr_cassettes/orders/housework_type_masonry.yml +28 -22
- data/spec/vcr_cassettes/orders/housework_type_movingservices.yml +28 -22
- data/spec/vcr_cassettes/orders/housework_type_othercare.yml +28 -22
- data/spec/vcr_cassettes/orders/housework_type_othercosts.yml +28 -22
- data/spec/vcr_cassettes/orders/housework_type_paintingwallpapering.yml +28 -22
- data/spec/vcr_cassettes/orders/housework_type_snowplowing.yml +28 -22
- data/spec/vcr_cassettes/orders/housework_type_textileclothing.yml +28 -22
- data/spec/vcr_cassettes/orders/housework_type_tutoring.yml +25 -19
- data/spec/vcr_cassettes/orders/multi_param_find_by_hash.yml +25 -19
- data/spec/vcr_cassettes/orders/save_new.yml +28 -22
- data/spec/vcr_cassettes/orders/save_old.yml +29 -23
- data/spec/vcr_cassettes/orders/save_with_nested_model.yml +28 -22
- data/spec/vcr_cassettes/orders/search_by_name.yml +25 -19
- data/spec/vcr_cassettes/orders/search_miss.yml +25 -19
- data/spec/vcr_cassettes/orders/search_with_special_char.yml +25 -19
- data/spec/vcr_cassettes/orders/single_param_find_by_hash.yml +25 -19
- data/spec/vcr_cassettes/projects/all.yml +31 -21
- data/spec/vcr_cassettes/projects/find_by_hash_failure.yml +25 -19
- data/spec/vcr_cassettes/projects/find_failure.yml +25 -19
- data/spec/vcr_cassettes/projects/find_id_1.yml +25 -19
- data/spec/vcr_cassettes/projects/find_new.yml +28 -22
- data/spec/vcr_cassettes/projects/multi_param_find_by_hash.yml +26 -20
- data/spec/vcr_cassettes/projects/save_new.yml +27 -21
- data/spec/vcr_cassettes/projects/save_old.yml +28 -22
- data/spec/vcr_cassettes/projects/single_param_find_by_hash.yml +26 -20
- data/spec/vcr_cassettes/termsofpayments/all.yml +34 -27
- data/spec/vcr_cassettes/termsofpayments/find_failure.yml +25 -19
- data/spec/vcr_cassettes/termsofpayments/find_id_1.yml +25 -19
- data/spec/vcr_cassettes/termsofpayments/find_new.yml +27 -21
- data/spec/vcr_cassettes/termsofpayments/save_new.yml +27 -21
- data/spec/vcr_cassettes/termsofpayments/save_old.yml +27 -21
- data/spec/vcr_cassettes/units/all.yml +36 -28
- data/spec/vcr_cassettes/units/find_failure.yml +25 -19
- data/spec/vcr_cassettes/units/find_id_1.yml +26 -20
- data/spec/vcr_cassettes/units/find_new.yml +27 -21
- data/spec/vcr_cassettes/units/save_new.yml +27 -21
- data/spec/vcr_cassettes/units/save_old.yml +27 -21
- data/spec/vcr_cassettes/units/save_with_specially_named_attribute.yml +27 -21
- metadata +107 -47
- data/spec/support/helpers/dummy_class_helper.rb +0 -38
- data/spec/vcr_cassettes/invoices/save_new_with_country_KR.yml +0 -61
- data/spec/vcr_cassettes/orders/housework_without_tax_reduction_type.yml +0 -57
@@ -6,16 +6,14 @@ require 'fortnox/api/types/model'
|
|
6
6
|
|
7
7
|
RSpec.describe Fortnox::API::Types::Model do
|
8
8
|
shared_examples_for 'raises error' do |error|
|
9
|
-
|
10
|
-
|
11
|
-
include Dry::Types.module
|
9
|
+
before do
|
10
|
+
stub_const('Types::Age', Dry::Types['strict.integer'].constrained(gt: 18).is(:required))
|
12
11
|
|
13
|
-
|
14
|
-
end
|
15
|
-
|
16
|
-
class TypesModelUser < Fortnox::API::Types::Model
|
12
|
+
types_model_user_class = Class.new(Fortnox::API::Types::Model) do
|
17
13
|
attribute :age, Types::Age
|
18
14
|
end
|
15
|
+
|
16
|
+
stub_const('TypesModelUser', types_model_user_class)
|
19
17
|
end
|
20
18
|
|
21
19
|
describe "User inheriting from #{described_class}" do
|
@@ -32,21 +30,17 @@ RSpec.describe Fortnox::API::Types::Model do
|
|
32
30
|
end
|
33
31
|
|
34
32
|
context 'when omitting optional keys' do
|
35
|
-
|
36
|
-
module Types
|
37
|
-
include Dry::Types.module
|
33
|
+
subject { -> { User.new } }
|
38
34
|
|
39
|
-
|
40
|
-
|
41
|
-
end
|
42
|
-
end
|
35
|
+
before do
|
36
|
+
stub_const('Types::Nullable::String', Dry::Types['strict.string'].optional)
|
43
37
|
|
44
|
-
|
38
|
+
user_class = Class.new(Fortnox::API::Types::Model) do
|
45
39
|
attribute :optional_string, Types::Nullable::String
|
46
40
|
end
|
47
|
-
end
|
48
41
|
|
49
|
-
|
42
|
+
stub_const('User', user_class)
|
43
|
+
end
|
50
44
|
|
51
45
|
it { is_expected.not_to raise_error }
|
52
46
|
|
@@ -8,52 +8,72 @@ describe Fortnox::API::Types::Nullable, type: :type do
|
|
8
8
|
subject { TestStruct }
|
9
9
|
|
10
10
|
describe 'String' do
|
11
|
-
|
12
|
-
|
11
|
+
before do
|
12
|
+
test_struct_class = Class.new(Dry::Struct) do
|
13
13
|
attribute :string, Fortnox::API::Types::Nullable::String
|
14
14
|
end
|
15
|
+
|
16
|
+
stub_const('TestStruct', test_struct_class)
|
15
17
|
end
|
16
18
|
|
17
19
|
it { is_expected.to have_nullable(:string, 'A simple message', 0, '0') }
|
18
20
|
end
|
19
21
|
|
20
22
|
describe 'Float' do
|
21
|
-
|
22
|
-
|
23
|
+
before do
|
24
|
+
test_struct_class = Class.new(Dry::Struct) do
|
23
25
|
attribute :float, Fortnox::API::Types::Nullable::Float
|
24
26
|
end
|
27
|
+
|
28
|
+
stub_const('TestStruct', test_struct_class)
|
25
29
|
end
|
26
30
|
|
27
31
|
it { is_expected.to have_nullable(:float, 14.0, 'Not a Float!', 0.0) }
|
28
32
|
end
|
29
33
|
|
30
34
|
describe 'Integer' do
|
31
|
-
|
32
|
-
|
35
|
+
before do
|
36
|
+
test_struct_class = Class.new(Dry::Struct) do
|
33
37
|
attribute :integer, Fortnox::API::Types::Nullable::Integer
|
34
38
|
end
|
39
|
+
|
40
|
+
stub_const('TestStruct', test_struct_class)
|
35
41
|
end
|
36
42
|
|
37
43
|
it { is_expected.to have_nullable(:integer, 14, 14.0, 14) }
|
38
44
|
end
|
39
45
|
|
40
46
|
describe 'Boolean' do
|
41
|
-
|
42
|
-
|
47
|
+
before do
|
48
|
+
test_struct_class = Class.new(Dry::Struct) do
|
43
49
|
attribute :boolean, Fortnox::API::Types::Nullable::Boolean
|
44
50
|
end
|
51
|
+
|
52
|
+
stub_const('TestStruct', test_struct_class)
|
45
53
|
end
|
46
54
|
|
47
55
|
it { is_expected.to have_nullable(:boolean, true, 'Not a Boolean!', false) }
|
48
56
|
end
|
49
57
|
|
50
58
|
describe 'Date' do
|
51
|
-
|
52
|
-
|
59
|
+
before do
|
60
|
+
test_struct_class = Class.new(Dry::Struct) do
|
53
61
|
attribute :date, Fortnox::API::Types::Nullable::Date
|
54
62
|
end
|
63
|
+
|
64
|
+
stub_const('TestStruct', test_struct_class)
|
55
65
|
end
|
56
66
|
|
57
67
|
it { is_expected.to have_nullable_date(:date, Date.new(2016, 1, 1), 'Not a Date!') }
|
68
|
+
|
69
|
+
context 'with empty string' do
|
70
|
+
subject { TestStruct.new(date: '').date }
|
71
|
+
|
72
|
+
it { is_expected.to be_nil }
|
73
|
+
end
|
74
|
+
|
75
|
+
context 'with invalid date' do
|
76
|
+
it { expect { TestStruct.new(date: 'Not a Date!') }.to raise_error(Fortnox::API::AttributeError, /invalid date/) }
|
77
|
+
end
|
58
78
|
end
|
59
79
|
end
|
@@ -5,10 +5,7 @@ require 'fortnox/api/types'
|
|
5
5
|
require 'fortnox/api/types/required'
|
6
6
|
|
7
7
|
describe Fortnox::API::Types::Required, type: :type do
|
8
|
-
|
9
|
-
class TestClass < Dry::Struct
|
10
|
-
end
|
11
|
-
end
|
8
|
+
before { stub_const('TestClass', Class.new(Dry::Struct)) }
|
12
9
|
|
13
10
|
shared_examples_for 'required attribute' do |_type|
|
14
11
|
subject { -> { TestClass.new({}) } }
|
@@ -11,7 +11,7 @@ module Matchers
|
|
11
11
|
@attribute = attribute
|
12
12
|
@valid_value = valid_value
|
13
13
|
@invalid_value = invalid_value
|
14
|
-
@expected_error =
|
14
|
+
@expected_error = Fortnox::API::AttributeError
|
15
15
|
@expected_error_message = 'invalid date'
|
16
16
|
@failure_description = ''
|
17
17
|
end
|
@@ -46,11 +46,11 @@ module Matchers
|
|
46
46
|
|
47
47
|
@failure_description << " (Expected #{@expected_error}, but got none)"
|
48
48
|
false
|
49
|
-
rescue @expected_error =>
|
50
|
-
return true if
|
49
|
+
rescue @expected_error => e
|
50
|
+
return true if e.message == @expected_error_message
|
51
51
|
|
52
|
-
fail_message = "Expected error message to include #{
|
53
|
-
"but was #{
|
52
|
+
fail_message = "Expected error message to include #{@expected_error_message.inspect}, "\
|
53
|
+
"but was #{e.message.inspect}"
|
54
54
|
raise(fail_message)
|
55
55
|
end
|
56
56
|
end
|
@@ -33,13 +33,13 @@ module Matchers
|
|
33
33
|
def rejects_non_string?
|
34
34
|
non_string = 10.0
|
35
35
|
@klass.new(@valid_hash.merge(@attribute => non_string))
|
36
|
-
rescue Fortnox::API::
|
36
|
+
rescue Fortnox::API::AttributeError => e
|
37
37
|
expected_message = "#{non_string.inspect} (#{non_string.class}) "\
|
38
38
|
"has invalid type for #{@attribute.inspect}"
|
39
|
-
return true if
|
39
|
+
return true if e.message.include?(expected_message)
|
40
40
|
|
41
41
|
fail_message = "Expected error message to include #{expected_message.inspect}, "\
|
42
|
-
"but was #{
|
42
|
+
"but was #{e.message.inspect}"
|
43
43
|
raise(fail_message)
|
44
44
|
end
|
45
45
|
end
|
@@ -24,35 +24,42 @@ http_interactions:
|
|
24
24
|
code: 200
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
|
-
|
28
|
-
-
|
29
|
-
Date:
|
30
|
-
- Mon, 21 Dec 2020 20:40:04 GMT
|
27
|
+
Content-Length:
|
28
|
+
- '10694'
|
31
29
|
Content-Type:
|
32
30
|
- application/json
|
33
|
-
|
34
|
-
-
|
31
|
+
Date:
|
32
|
+
- Mon, 22 Jan 2024 14:52:29 GMT
|
35
33
|
Vary:
|
36
34
|
- Accept-Encoding
|
35
|
+
X-Build:
|
36
|
+
- 9dd4e26746
|
37
|
+
X-Frame-Options:
|
38
|
+
- sameorigin
|
37
39
|
X-Rack-Responsetime:
|
38
|
-
- '
|
40
|
+
- '67'
|
39
41
|
X-Uid:
|
40
|
-
-
|
41
|
-
|
42
|
-
-
|
43
|
-
Strict-Transport-Security:
|
44
|
-
- max-age=31536000; includeSubdomains
|
45
|
-
X-Xss-Protection:
|
46
|
-
- 1; mode=block
|
42
|
+
- 8a28b69b
|
43
|
+
Server:
|
44
|
+
- Fortnox
|
47
45
|
X-Content-Type-Options:
|
48
46
|
- nosniff
|
49
|
-
X-
|
50
|
-
-
|
47
|
+
X-Xss-Protection:
|
48
|
+
- '0'
|
51
49
|
Referrer-Policy:
|
52
50
|
- strict-origin-when-cross-origin
|
51
|
+
Content-Security-Policy:
|
52
|
+
- 'upgrade-insecure-requests;frame-ancestors https://*.fortnox.se;report-uri
|
53
|
+
/api/cspreport;connect-src ''self'' https://a.storyblok.com wss://*.fortnox.se
|
54
|
+
*.fortnox.se *.findity.com mybusiness.pwc.se themes.googleusercontent.com
|
55
|
+
s3.amazonaws.com/helpjuice-static/ *.helpjuice.com *.vimeo.com fonts.googleapis.com
|
56
|
+
fonts.gstatic.com fortnox.piwik.pro api.cling.se wss://api.cling.se ''unsafe-inline''
|
57
|
+
''unsafe-eval'' blob: data:'
|
58
|
+
Strict-Transport-Security:
|
59
|
+
- max-age=31536000; includeSubdomains
|
53
60
|
body:
|
54
61
|
encoding: ASCII-8BIT
|
55
|
-
string: '{"MetaInformation":{"@TotalResources":
|
62
|
+
string: '{"MetaInformation":{"@TotalResources":33,"@TotalPages":1,"@CurrentPage":1},"Articles":[{"@url":"https:\/\/api.fortnox.se\/3\/articles\/0000","ArticleNumber":"0000","Description":"Testartikel","DisposableQuantity":"0","EAN":"","Housework":false,"PurchasePrice":"0","SalesPrice":null,"QuantityInStock":"0","ReservedQuantity":"0","StockPlace":"","StockValue":"0","Unit":null,"VAT":null,"WebshopArticle":false},{"@url":"https:\/\/api.fortnox.se\/3\/articles\/0001","ArticleNumber":"0001","Description":"Cykelpump","DisposableQuantity":"0","EAN":"","Housework":false,"PurchasePrice":"0","SalesPrice":"100","QuantityInStock":"0","ReservedQuantity":"0","StockPlace":"","StockValue":"0","Unit":null,"VAT":null,"WebshopArticle":false},{"@url":"https:\/\/api.fortnox.se\/3\/articles\/1","ArticleNumber":"1","Description":"Testartikel","DisposableQuantity":"0","EAN":"","Housework":false,"PurchasePrice":"0","SalesPrice":"100","QuantityInStock":"0","ReservedQuantity":"0","StockPlace":"","StockValue":"0","Unit":null,"VAT":null,"WebshopArticle":false},{"@url":"https:\/\/api.fortnox.se\/3\/articles\/2","ArticleNumber":"2","Description":"A
|
56
63
|
value","DisposableQuantity":"0","EAN":"","Housework":false,"PurchasePrice":"0","SalesPrice":null,"QuantityInStock":"0","ReservedQuantity":"0","StockPlace":null,"StockValue":"0","Unit":"","VAT":null,"WebshopArticle":false},{"@url":"https:\/\/api.fortnox.se\/3\/articles\/3","ArticleNumber":"3","Description":"Test
|
57
64
|
article","DisposableQuantity":"0","EAN":"","Housework":false,"PurchasePrice":"0","SalesPrice":null,"QuantityInStock":"0","ReservedQuantity":"0","StockPlace":null,"StockValue":"0","Unit":"","VAT":null,"WebshopArticle":false},{"@url":"https:\/\/api.fortnox.se\/3\/articles\/4","ArticleNumber":"4","Description":"Test
|
58
65
|
article","DisposableQuantity":"0","EAN":"","Housework":false,"PurchasePrice":"0","SalesPrice":null,"QuantityInStock":"0","ReservedQuantity":"0","StockPlace":null,"StockValue":"0","Unit":"","VAT":null,"WebshopArticle":false},{"@url":"https:\/\/api.fortnox.se\/3\/articles\/5","ArticleNumber":"5","Description":"Test
|
@@ -78,7 +85,10 @@ http_interactions:
|
|
78
85
|
article","DisposableQuantity":"0","EAN":"5901234123457","Housework":false,"PurchasePrice":"0","SalesPrice":null,"QuantityInStock":"0","ReservedQuantity":"0","StockPlace":null,"StockValue":"0","Unit":"","VAT":null,"WebshopArticle":false},{"@url":"https:\/\/api.fortnox.se\/3\/articles\/25","ArticleNumber":"25","Description":"A
|
79
86
|
value","DisposableQuantity":"0","EAN":"","Housework":false,"PurchasePrice":"0","SalesPrice":null,"QuantityInStock":"0","ReservedQuantity":"0","StockPlace":null,"StockValue":"0","Unit":"","VAT":null,"WebshopArticle":false},{"@url":"https:\/\/api.fortnox.se\/3\/articles\/26","ArticleNumber":"26","Description":"Updated
|
80
87
|
description","DisposableQuantity":"0","EAN":"","Housework":false,"PurchasePrice":"0","SalesPrice":null,"QuantityInStock":"0","ReservedQuantity":"0","StockPlace":null,"StockValue":"0","Unit":null,"VAT":null,"WebshopArticle":false},{"@url":"https:\/\/api.fortnox.se\/3\/articles\/27","ArticleNumber":"27","Description":"Test
|
88
|
+
article","DisposableQuantity":"0","EAN":"5901234123457","Housework":false,"PurchasePrice":"0","SalesPrice":null,"QuantityInStock":"0","ReservedQuantity":"0","StockPlace":null,"StockValue":"0","Unit":"","VAT":null,"WebshopArticle":false},{"@url":"https:\/\/api.fortnox.se\/3\/articles\/28","ArticleNumber":"28","Description":"Updated
|
89
|
+
description","DisposableQuantity":"0","EAN":"","Housework":false,"PurchasePrice":"0","SalesPrice":null,"QuantityInStock":"0","ReservedQuantity":"0","StockPlace":null,"StockValue":"0","Unit":null,"VAT":null,"WebshopArticle":false},{"@url":"https:\/\/api.fortnox.se\/3\/articles\/29","ArticleNumber":"29","Description":"Test
|
90
|
+
article","DisposableQuantity":"0","EAN":"5901234123457","Housework":false,"PurchasePrice":"0","SalesPrice":null,"QuantityInStock":"0","ReservedQuantity":"0","StockPlace":null,"StockValue":"0","Unit":"","VAT":null,"WebshopArticle":false},{"@url":"https:\/\/api.fortnox.se\/3\/articles\/30","ArticleNumber":"30","Description":"Updated
|
91
|
+
description","DisposableQuantity":"0","EAN":"","Housework":false,"PurchasePrice":"0","SalesPrice":null,"QuantityInStock":"0","ReservedQuantity":"0","StockPlace":null,"StockValue":"0","Unit":null,"VAT":null,"WebshopArticle":false},{"@url":"https:\/\/api.fortnox.se\/3\/articles\/31","ArticleNumber":"31","Description":"Test
|
81
92
|
article","DisposableQuantity":"0","EAN":"5901234123457","Housework":false,"PurchasePrice":"0","SalesPrice":null,"QuantityInStock":"0","ReservedQuantity":"0","StockPlace":null,"StockValue":"0","Unit":"","VAT":null,"WebshopArticle":false}]}'
|
82
|
-
|
83
|
-
|
84
|
-
recorded_with: VCR 4.0.0
|
93
|
+
recorded_at: Mon, 22 Jan 2024 14:52:29 GMT
|
94
|
+
recorded_with: VCR 6.2.0
|
@@ -24,35 +24,41 @@ http_interactions:
|
|
24
24
|
code: 200
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
|
-
|
28
|
-
-
|
29
|
-
Date:
|
30
|
-
- Mon, 21 Dec 2020 20:40:04 GMT
|
27
|
+
Content-Length:
|
28
|
+
- '88'
|
31
29
|
Content-Type:
|
32
30
|
- application/json
|
33
|
-
|
34
|
-
-
|
31
|
+
Date:
|
32
|
+
- Mon, 22 Jan 2024 14:52:30 GMT
|
35
33
|
Vary:
|
36
34
|
- Accept-Encoding
|
35
|
+
X-Build:
|
36
|
+
- 9dd4e26746
|
37
|
+
X-Frame-Options:
|
38
|
+
- sameorigin
|
37
39
|
X-Rack-Responsetime:
|
38
|
-
- '
|
40
|
+
- '51'
|
39
41
|
X-Uid:
|
40
|
-
-
|
41
|
-
|
42
|
-
-
|
43
|
-
Strict-Transport-Security:
|
44
|
-
- max-age=31536000; includeSubdomains
|
45
|
-
X-Xss-Protection:
|
46
|
-
- 1; mode=block
|
42
|
+
- c58c7f24
|
43
|
+
Server:
|
44
|
+
- Fortnox
|
47
45
|
X-Content-Type-Options:
|
48
46
|
- nosniff
|
49
|
-
X-
|
50
|
-
-
|
47
|
+
X-Xss-Protection:
|
48
|
+
- '0'
|
51
49
|
Referrer-Policy:
|
52
50
|
- strict-origin-when-cross-origin
|
51
|
+
Content-Security-Policy:
|
52
|
+
- 'upgrade-insecure-requests;frame-ancestors https://*.fortnox.se;report-uri
|
53
|
+
/api/cspreport;connect-src ''self'' https://a.storyblok.com wss://*.fortnox.se
|
54
|
+
*.fortnox.se *.findity.com mybusiness.pwc.se themes.googleusercontent.com
|
55
|
+
s3.amazonaws.com/helpjuice-static/ *.helpjuice.com *.vimeo.com fonts.googleapis.com
|
56
|
+
fonts.gstatic.com fortnox.piwik.pro api.cling.se wss://api.cling.se ''unsafe-inline''
|
57
|
+
''unsafe-eval'' blob: data:'
|
58
|
+
Strict-Transport-Security:
|
59
|
+
- max-age=31536000; includeSubdomains
|
53
60
|
body:
|
54
61
|
encoding: ASCII-8BIT
|
55
62
|
string: '{"MetaInformation":{"@TotalResources":0,"@TotalPages":0,"@CurrentPage":1},"Articles":[]}'
|
56
|
-
|
57
|
-
|
58
|
-
recorded_with: VCR 4.0.0
|
63
|
+
recorded_at: Mon, 22 Jan 2024 14:52:30 GMT
|
64
|
+
recorded_with: VCR 6.2.0
|
@@ -24,35 +24,41 @@ http_interactions:
|
|
24
24
|
code: 404
|
25
25
|
message: Not Found
|
26
26
|
headers:
|
27
|
-
|
28
|
-
-
|
29
|
-
Date:
|
30
|
-
- Mon, 21 Dec 2020 20:40:04 GMT
|
27
|
+
Content-Length:
|
28
|
+
- '84'
|
31
29
|
Content-Type:
|
32
30
|
- application/json
|
33
|
-
|
34
|
-
-
|
31
|
+
Date:
|
32
|
+
- Mon, 22 Jan 2024 14:52:30 GMT
|
35
33
|
Vary:
|
36
34
|
- Accept-Encoding
|
35
|
+
X-Build:
|
36
|
+
- 9dd4e26746
|
37
|
+
X-Frame-Options:
|
38
|
+
- sameorigin
|
37
39
|
X-Rack-Responsetime:
|
38
|
-
- '
|
40
|
+
- '55'
|
39
41
|
X-Uid:
|
40
|
-
-
|
41
|
-
|
42
|
-
-
|
43
|
-
Strict-Transport-Security:
|
44
|
-
- max-age=31536000; includeSubdomains
|
45
|
-
X-Xss-Protection:
|
46
|
-
- 1; mode=block
|
42
|
+
- 13e96344
|
43
|
+
Server:
|
44
|
+
- Fortnox
|
47
45
|
X-Content-Type-Options:
|
48
46
|
- nosniff
|
49
|
-
X-
|
50
|
-
-
|
47
|
+
X-Xss-Protection:
|
48
|
+
- '0'
|
51
49
|
Referrer-Policy:
|
52
50
|
- strict-origin-when-cross-origin
|
51
|
+
Content-Security-Policy:
|
52
|
+
- 'upgrade-insecure-requests;frame-ancestors https://*.fortnox.se;report-uri
|
53
|
+
/api/cspreport;connect-src ''self'' https://a.storyblok.com wss://*.fortnox.se
|
54
|
+
*.fortnox.se *.findity.com mybusiness.pwc.se themes.googleusercontent.com
|
55
|
+
s3.amazonaws.com/helpjuice-static/ *.helpjuice.com *.vimeo.com fonts.googleapis.com
|
56
|
+
fonts.gstatic.com fortnox.piwik.pro api.cling.se wss://api.cling.se ''unsafe-inline''
|
57
|
+
''unsafe-eval'' blob: data:'
|
58
|
+
Strict-Transport-Security:
|
59
|
+
- max-age=31536000; includeSubdomains
|
53
60
|
body:
|
54
61
|
encoding: ASCII-8BIT
|
55
62
|
string: '{"ErrorInformation":{"Error":1,"Message":"Kan inte hitta artikeln.","Code":2000428}}'
|
56
|
-
|
57
|
-
|
58
|
-
recorded_with: VCR 4.0.0
|
63
|
+
recorded_at: Mon, 22 Jan 2024 14:52:30 GMT
|
64
|
+
recorded_with: VCR 6.2.0
|
@@ -24,35 +24,41 @@ http_interactions:
|
|
24
24
|
code: 200
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
|
-
|
28
|
-
-
|
29
|
-
Date:
|
30
|
-
- Mon, 21 Dec 2020 20:40:04 GMT
|
27
|
+
Content-Length:
|
28
|
+
- '935'
|
31
29
|
Content-Type:
|
32
30
|
- application/json
|
33
|
-
|
34
|
-
-
|
31
|
+
Date:
|
32
|
+
- Mon, 22 Jan 2024 14:52:30 GMT
|
35
33
|
Vary:
|
36
34
|
- Accept-Encoding
|
35
|
+
X-Build:
|
36
|
+
- 9dd4e26746
|
37
|
+
X-Frame-Options:
|
38
|
+
- sameorigin
|
37
39
|
X-Rack-Responsetime:
|
38
|
-
- '
|
40
|
+
- '70'
|
39
41
|
X-Uid:
|
40
|
-
-
|
41
|
-
|
42
|
-
-
|
43
|
-
Strict-Transport-Security:
|
44
|
-
- max-age=31536000; includeSubdomains
|
45
|
-
X-Xss-Protection:
|
46
|
-
- 1; mode=block
|
42
|
+
- 35ba4578
|
43
|
+
Server:
|
44
|
+
- Fortnox
|
47
45
|
X-Content-Type-Options:
|
48
46
|
- nosniff
|
49
|
-
X-
|
50
|
-
-
|
47
|
+
X-Xss-Protection:
|
48
|
+
- '0'
|
51
49
|
Referrer-Policy:
|
52
50
|
- strict-origin-when-cross-origin
|
51
|
+
Content-Security-Policy:
|
52
|
+
- 'upgrade-insecure-requests;frame-ancestors https://*.fortnox.se;report-uri
|
53
|
+
/api/cspreport;connect-src ''self'' https://a.storyblok.com wss://*.fortnox.se
|
54
|
+
*.fortnox.se *.findity.com mybusiness.pwc.se themes.googleusercontent.com
|
55
|
+
s3.amazonaws.com/helpjuice-static/ *.helpjuice.com *.vimeo.com fonts.googleapis.com
|
56
|
+
fonts.gstatic.com fortnox.piwik.pro api.cling.se wss://api.cling.se ''unsafe-inline''
|
57
|
+
''unsafe-eval'' blob: data:'
|
58
|
+
Strict-Transport-Security:
|
59
|
+
- max-age=31536000; includeSubdomains
|
53
60
|
body:
|
54
61
|
encoding: ASCII-8BIT
|
55
|
-
string: '{"Article":{"@url":"https:\/\/api.fortnox.se\/3\/articles\/1","ArticleNumber":"1","Bulky":false,"ConstructionAccount":1030,"Depth":null,"Description":"Testartikel","DisposableQuantity":-
|
56
|
-
|
57
|
-
|
58
|
-
recorded_with: VCR 4.0.0
|
62
|
+
string: '{"Article":{"@url":"https:\/\/api.fortnox.se\/3\/articles\/1","ArticleNumber":"1","Bulky":false,"ConstructionAccount":1030,"Depth":null,"Description":"Testartikel","DisposableQuantity":-217995.5,"EAN":"","EUAccount":1030,"EUVATAccount":1030,"ExportAccount":1030,"Height":null,"Housework":false,"HouseworkType":null,"Active":true,"Manufacturer":null,"ManufacturerArticleNumber":null,"Note":"","PurchaseAccount":1030,"PurchasePrice":0,"QuantityInStock":0,"ReservedQuantity":217995.5,"SalesAccount":1030,"StockGoods":false,"StockPlace":"","StockValue":0,"StockWarning":null,"SupplierName":null,"SupplierNumber":null,"Type":"STOCK","Unit":null,"VAT":0,"WebshopArticle":false,"Weight":null,"Width":null,"Expired":false,"SalesPrice":100,"CostCalculationMethod":null,"StockAccount":null,"StockChangeAccount":null,"DirectCost":null,"FreightCost":null,"OtherCost":null,"DefaultStockPoint":null,"DefaultStockLocation":null,"CommodityCode":null}}'
|
63
|
+
recorded_at: Mon, 22 Jan 2024 14:52:29 GMT
|
64
|
+
recorded_with: VCR 6.2.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.fortnox.se/3/articles/
|
5
|
+
uri: https://api.fortnox.se/3/articles/30
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -24,36 +24,42 @@ http_interactions:
|
|
24
24
|
code: 200
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
|
-
|
28
|
-
-
|
29
|
-
Date:
|
30
|
-
- Mon, 21 Dec 2020 20:40:03 GMT
|
27
|
+
Content-Length:
|
28
|
+
- '902'
|
31
29
|
Content-Type:
|
32
30
|
- application/json
|
33
|
-
|
34
|
-
-
|
31
|
+
Date:
|
32
|
+
- Mon, 22 Jan 2024 14:52:29 GMT
|
35
33
|
Vary:
|
36
34
|
- Accept-Encoding
|
35
|
+
X-Build:
|
36
|
+
- 9dd4e26746
|
37
|
+
X-Frame-Options:
|
38
|
+
- sameorigin
|
37
39
|
X-Rack-Responsetime:
|
38
|
-
- '
|
40
|
+
- '72'
|
39
41
|
X-Uid:
|
40
|
-
-
|
41
|
-
|
42
|
-
-
|
43
|
-
Strict-Transport-Security:
|
44
|
-
- max-age=31536000; includeSubdomains
|
45
|
-
X-Xss-Protection:
|
46
|
-
- 1; mode=block
|
42
|
+
- c5afde63
|
43
|
+
Server:
|
44
|
+
- Fortnox
|
47
45
|
X-Content-Type-Options:
|
48
46
|
- nosniff
|
49
|
-
X-
|
50
|
-
-
|
47
|
+
X-Xss-Protection:
|
48
|
+
- '0'
|
51
49
|
Referrer-Policy:
|
52
50
|
- strict-origin-when-cross-origin
|
51
|
+
Content-Security-Policy:
|
52
|
+
- 'upgrade-insecure-requests;frame-ancestors https://*.fortnox.se;report-uri
|
53
|
+
/api/cspreport;connect-src ''self'' https://a.storyblok.com wss://*.fortnox.se
|
54
|
+
*.fortnox.se *.findity.com mybusiness.pwc.se themes.googleusercontent.com
|
55
|
+
s3.amazonaws.com/helpjuice-static/ *.helpjuice.com *.vimeo.com fonts.googleapis.com
|
56
|
+
fonts.gstatic.com fortnox.piwik.pro api.cling.se wss://api.cling.se ''unsafe-inline''
|
57
|
+
''unsafe-eval'' blob: data:'
|
58
|
+
Strict-Transport-Security:
|
59
|
+
- max-age=31536000; includeSubdomains
|
53
60
|
body:
|
54
61
|
encoding: ASCII-8BIT
|
55
|
-
string: '{"Article":{"@url":"https:\/\/api.fortnox.se\/3\/articles\/
|
56
|
-
value","DisposableQuantity":0,"EAN":"","EUAccount":3200,"EUVATAccount":3231,"ExportAccount":3200,"Height":0,"Housework":false,"HouseworkType":null,"Active":true,"Manufacturer":null,"ManufacturerArticleNumber":"","Note":"","PurchaseAccount":3100,"PurchasePrice":0,"QuantityInStock":0,"ReservedQuantity":0,"SalesAccount":1250,"StockGoods":false,"StockPlace":null,"StockValue":0,"StockWarning":
|
57
|
-
|
58
|
-
|
59
|
-
recorded_with: VCR 4.0.0
|
62
|
+
string: '{"Article":{"@url":"https:\/\/api.fortnox.se\/3\/articles\/30","ArticleNumber":"30","Bulky":false,"ConstructionAccount":0,"Depth":0,"Description":"A
|
63
|
+
value","DisposableQuantity":0,"EAN":"","EUAccount":3200,"EUVATAccount":3231,"ExportAccount":3200,"Height":0,"Housework":false,"HouseworkType":null,"Active":true,"Manufacturer":null,"ManufacturerArticleNumber":"","Note":"","PurchaseAccount":3100,"PurchasePrice":0,"QuantityInStock":0,"ReservedQuantity":0,"SalesAccount":1250,"StockGoods":false,"StockPlace":null,"StockValue":0,"StockWarning":null,"SupplierName":null,"SupplierNumber":null,"Type":"STOCK","Unit":null,"VAT":0,"WebshopArticle":false,"Weight":0,"Width":0,"Expired":false,"SalesPrice":null,"CostCalculationMethod":null,"StockAccount":null,"StockChangeAccount":null,"DirectCost":null,"FreightCost":null,"OtherCost":null,"DefaultStockPoint":null,"DefaultStockLocation":null,"CommodityCode":""}}'
|
64
|
+
recorded_at: Mon, 22 Jan 2024 14:52:29 GMT
|
65
|
+
recorded_with: VCR 6.2.0
|
@@ -24,35 +24,41 @@ http_interactions:
|
|
24
24
|
code: 200
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
|
-
|
28
|
-
-
|
29
|
-
Date:
|
30
|
-
- Mon, 21 Dec 2020 20:40:04 GMT
|
27
|
+
Content-Length:
|
28
|
+
- '406'
|
31
29
|
Content-Type:
|
32
30
|
- application/json
|
33
|
-
|
34
|
-
-
|
31
|
+
Date:
|
32
|
+
- Mon, 22 Jan 2024 14:52:30 GMT
|
35
33
|
Vary:
|
36
34
|
- Accept-Encoding
|
35
|
+
X-Build:
|
36
|
+
- 9dd4e26746
|
37
|
+
X-Frame-Options:
|
38
|
+
- sameorigin
|
37
39
|
X-Rack-Responsetime:
|
38
|
-
- '
|
40
|
+
- '88'
|
39
41
|
X-Uid:
|
40
|
-
- '
|
41
|
-
|
42
|
-
-
|
43
|
-
Strict-Transport-Security:
|
44
|
-
- max-age=31536000; includeSubdomains
|
45
|
-
X-Xss-Protection:
|
46
|
-
- 1; mode=block
|
42
|
+
- '64362265'
|
43
|
+
Server:
|
44
|
+
- Fortnox
|
47
45
|
X-Content-Type-Options:
|
48
46
|
- nosniff
|
49
|
-
X-
|
50
|
-
-
|
47
|
+
X-Xss-Protection:
|
48
|
+
- '0'
|
51
49
|
Referrer-Policy:
|
52
50
|
- strict-origin-when-cross-origin
|
51
|
+
Content-Security-Policy:
|
52
|
+
- 'upgrade-insecure-requests;frame-ancestors https://*.fortnox.se;report-uri
|
53
|
+
/api/cspreport;connect-src ''self'' https://a.storyblok.com wss://*.fortnox.se
|
54
|
+
*.fortnox.se *.findity.com mybusiness.pwc.se themes.googleusercontent.com
|
55
|
+
s3.amazonaws.com/helpjuice-static/ *.helpjuice.com *.vimeo.com fonts.googleapis.com
|
56
|
+
fonts.gstatic.com fortnox.piwik.pro api.cling.se wss://api.cling.se ''unsafe-inline''
|
57
|
+
''unsafe-eval'' blob: data:'
|
58
|
+
Strict-Transport-Security:
|
59
|
+
- max-age=31536000; includeSubdomains
|
53
60
|
body:
|
54
61
|
encoding: ASCII-8BIT
|
55
62
|
string: '{"MetaInformation":{"@TotalResources":1,"@TotalPages":1,"@CurrentPage":1},"Articles":[{"@url":"https:\/\/api.fortnox.se\/3\/articles\/0001","ArticleNumber":"0001","Description":"Cykelpump","DisposableQuantity":"0","EAN":"","Housework":false,"PurchasePrice":"0","SalesPrice":"100","QuantityInStock":"0","ReservedQuantity":"0","StockPlace":"","StockValue":"0","Unit":null,"VAT":null,"WebshopArticle":false}]}'
|
56
|
-
|
57
|
-
|
58
|
-
recorded_with: VCR 4.0.0
|
63
|
+
recorded_at: Mon, 22 Jan 2024 14:52:30 GMT
|
64
|
+
recorded_with: VCR 6.2.0
|