fortnox-api 0.6.3 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. checksums.yaml +5 -5
  2. data/.rubocop.yml +4 -0
  3. data/.travis.yml +20 -15
  4. data/CHANGELOG.md +18 -0
  5. data/README.md +11 -19
  6. data/fortnox-api.gemspec +6 -6
  7. data/lib/fortnox/api/mappers.rb +5 -38
  8. data/lib/fortnox/api/mappers/base.rb +2 -24
  9. data/lib/fortnox/api/mappers/base/canonical_name_sym.rb +21 -0
  10. data/lib/fortnox/api/mappers/value/array.rb +18 -0
  11. data/lib/fortnox/api/mappers/value/country_code_string.rb +24 -0
  12. data/lib/fortnox/api/mappers/value/date.rb +11 -0
  13. data/lib/fortnox/api/mappers/value/hash.rb +16 -0
  14. data/lib/fortnox/api/mappers/value/identity.rb +18 -0
  15. data/lib/fortnox/api/models/document.rb +1 -1
  16. data/lib/fortnox/api/models/invoice.rb +1 -1
  17. data/lib/fortnox/api/models/order.rb +1 -1
  18. data/lib/fortnox/api/repositories/base.rb +9 -11
  19. data/lib/fortnox/api/request_handling.rb +0 -1
  20. data/lib/fortnox/api/types.rb +19 -3
  21. data/lib/fortnox/api/types/enums.rb +0 -23
  22. data/lib/fortnox/api/types/shim/country_code_string.rb +10 -0
  23. data/lib/fortnox/api/types/sized.rb +3 -16
  24. data/lib/fortnox/api/version.rb +1 -1
  25. data/spec/fortnox/api/circular_queue_spec.rb +52 -0
  26. data/spec/fortnox/api/mappers/base/canonical_name_sym_spec.rb +34 -0
  27. data/spec/fortnox/api/mappers/base_spec.rb +33 -43
  28. data/spec/fortnox/api/mappers/contexts/json_conversion.rb +1 -1
  29. data/spec/fortnox/api/repositories/article_spec.rb +4 -2
  30. data/spec/fortnox/api/repositories/base_spec.rb +28 -8
  31. data/spec/fortnox/api/repositories/customer_spec.rb +2 -1
  32. data/spec/fortnox/api/repositories/invoice_spec.rb +147 -3
  33. data/spec/fortnox/api/repositories/order_spec.rb +2 -2
  34. data/spec/fortnox/api/repositories/project_spec.rb +1 -1
  35. data/spec/fortnox/api/repositories/terms_of_payment_spec.rb +4 -2
  36. data/spec/fortnox/api/repositories/unit_spec.rb +6 -3
  37. data/spec/fortnox/api/types/country_code_spec.rb +76 -0
  38. data/spec/fortnox/api/types/email_spec.rb +8 -7
  39. data/spec/fortnox/api/types/enums_spec.rb +0 -1
  40. data/spec/fortnox/api/types/examples/document_row.rb +1 -1
  41. data/spec/fortnox/api_spec.rb +3 -1
  42. data/spec/vcr_cassettes/articles/all.yml +22 -8
  43. data/spec/vcr_cassettes/articles/find_by_hash_failure.yml +6 -6
  44. data/spec/vcr_cassettes/articles/find_failure.yml +6 -6
  45. data/spec/vcr_cassettes/articles/find_id_1.yml +7 -7
  46. data/spec/vcr_cassettes/articles/find_new.yml +9 -9
  47. data/spec/vcr_cassettes/articles/multi_param_find_by_hash.yml +6 -6
  48. data/spec/vcr_cassettes/articles/save_new.yml +8 -8
  49. data/spec/vcr_cassettes/articles/save_old.yml +9 -9
  50. data/spec/vcr_cassettes/articles/save_with_specially_named_attribute.yml +8 -8
  51. data/spec/vcr_cassettes/articles/search_by_name.yml +6 -6
  52. data/spec/vcr_cassettes/articles/search_miss.yml +6 -6
  53. data/spec/vcr_cassettes/articles/search_with_special_char.yml +6 -6
  54. data/spec/vcr_cassettes/articles/single_param_find_by_hash.yml +18 -8
  55. data/spec/vcr_cassettes/customers/all.yml +9 -9
  56. data/spec/vcr_cassettes/customers/find_by_hash_failure.yml +6 -6
  57. data/spec/vcr_cassettes/customers/find_failure.yml +6 -6
  58. data/spec/vcr_cassettes/customers/find_id_1.yml +7 -7
  59. data/spec/vcr_cassettes/customers/find_new.yml +9 -9
  60. data/spec/vcr_cassettes/customers/multi_param_find_by_hash.yml +5 -5
  61. data/spec/vcr_cassettes/customers/save_new.yml +7 -7
  62. data/spec/vcr_cassettes/customers/save_old.yml +8 -8
  63. data/spec/vcr_cassettes/customers/save_with_specially_named_attribute.yml +7 -7
  64. data/spec/vcr_cassettes/customers/search_by_name.yml +16 -8
  65. data/spec/vcr_cassettes/customers/search_miss.yml +6 -6
  66. data/spec/vcr_cassettes/customers/search_with_special_char.yml +6 -6
  67. data/spec/vcr_cassettes/customers/single_param_find_by_hash.yml +7 -7
  68. data/spec/vcr_cassettes/invoices/all.yml +100 -65
  69. data/spec/vcr_cassettes/invoices/filter_hit.yml +11 -8
  70. data/spec/vcr_cassettes/invoices/filter_invalid.yml +6 -6
  71. data/spec/vcr_cassettes/invoices/find_by_hash_failure.yml +6 -6
  72. data/spec/vcr_cassettes/invoices/find_failure.yml +6 -6
  73. data/spec/vcr_cassettes/invoices/find_id_1.yml +7 -7
  74. data/spec/vcr_cassettes/invoices/find_new.yml +11 -12
  75. data/spec/vcr_cassettes/invoices/multi_param_find_by_hash.yml +8 -8
  76. data/spec/vcr_cassettes/invoices/save_new.yml +9 -10
  77. data/spec/vcr_cassettes/invoices/save_new_with_comments.yml +47 -0
  78. data/spec/vcr_cassettes/invoices/save_new_with_country.yml +46 -0
  79. data/spec/vcr_cassettes/invoices/save_new_with_country_GB.yml +47 -0
  80. data/spec/vcr_cassettes/invoices/save_new_with_country_KR.yml +47 -0
  81. data/spec/vcr_cassettes/invoices/save_new_with_country_Norge.yml +46 -0
  82. data/spec/vcr_cassettes/invoices/save_new_with_country_Norway.yml +46 -0
  83. data/spec/vcr_cassettes/invoices/save_new_with_country_Sverige.yml +46 -0
  84. data/spec/vcr_cassettes/invoices/save_new_with_country_VA.yml +47 -0
  85. data/spec/vcr_cassettes/invoices/save_new_with_country_VI.yml +47 -0
  86. data/spec/vcr_cassettes/invoices/save_new_with_country_empty_string.yml +46 -0
  87. data/spec/vcr_cassettes/invoices/save_new_with_country_nil.yml +46 -0
  88. data/spec/vcr_cassettes/invoices/save_old.yml +10 -11
  89. data/spec/vcr_cassettes/invoices/save_old_with_empty_comments.yml +48 -0
  90. data/spec/vcr_cassettes/invoices/save_old_with_empty_country.yml +47 -0
  91. data/spec/vcr_cassettes/invoices/save_old_with_nil_comments.yml +48 -0
  92. data/spec/vcr_cassettes/invoices/save_old_with_nil_country.yml +47 -0
  93. data/spec/vcr_cassettes/invoices/save_with_nested_model.yml +9 -10
  94. data/spec/vcr_cassettes/invoices/save_with_specially_named_attribute.yml +9 -10
  95. data/spec/vcr_cassettes/invoices/search_by_name.yml +13 -9
  96. data/spec/vcr_cassettes/invoices/search_miss.yml +6 -6
  97. data/spec/vcr_cassettes/invoices/search_with_special_char.yml +6 -6
  98. data/spec/vcr_cassettes/invoices/single_param_find_by_hash.yml +9 -9
  99. data/spec/vcr_cassettes/orders/all.yml +105 -105
  100. data/spec/vcr_cassettes/orders/filter_hit.yml +13 -10
  101. data/spec/vcr_cassettes/orders/filter_invalid.yml +6 -6
  102. data/spec/vcr_cassettes/orders/find_by_hash_failure.yml +6 -6
  103. data/spec/vcr_cassettes/orders/find_failure.yml +6 -6
  104. data/spec/vcr_cassettes/orders/find_id_1.yml +8 -8
  105. data/spec/vcr_cassettes/orders/find_new.yml +11 -12
  106. data/spec/vcr_cassettes/orders/housework_type_babysitting.yml +9 -9
  107. data/spec/vcr_cassettes/orders/housework_type_cleaning.yml +9 -9
  108. data/spec/vcr_cassettes/orders/housework_type_construction.yml +9 -9
  109. data/spec/vcr_cassettes/orders/housework_type_cooking.yml +6 -6
  110. data/spec/vcr_cassettes/orders/housework_type_electricity.yml +9 -9
  111. data/spec/vcr_cassettes/orders/housework_type_gardening.yml +9 -9
  112. data/spec/vcr_cassettes/orders/housework_type_glassmetalwork.yml +9 -9
  113. data/spec/vcr_cassettes/orders/housework_type_grounddrainagework.yml +9 -9
  114. data/spec/vcr_cassettes/orders/housework_type_hvac.yml +9 -9
  115. data/spec/vcr_cassettes/orders/housework_type_masonry.yml +9 -9
  116. data/spec/vcr_cassettes/orders/housework_type_othercare.yml +9 -9
  117. data/spec/vcr_cassettes/orders/housework_type_othercosts.yml +9 -9
  118. data/spec/vcr_cassettes/orders/housework_type_paintingwallpapering.yml +9 -9
  119. data/spec/vcr_cassettes/orders/housework_type_snowplowing.yml +9 -9
  120. data/spec/vcr_cassettes/orders/housework_type_textileclothing.yml +9 -9
  121. data/spec/vcr_cassettes/orders/housework_type_tutoring.yml +6 -6
  122. data/spec/vcr_cassettes/orders/multi_param_find_by_hash.yml +7 -7
  123. data/spec/vcr_cassettes/orders/save_new.yml +9 -10
  124. data/spec/vcr_cassettes/orders/save_old.yml +10 -11
  125. data/spec/vcr_cassettes/orders/save_with_nested_model.yml +9 -10
  126. data/spec/vcr_cassettes/orders/search_by_name.yml +9 -8
  127. data/spec/vcr_cassettes/orders/search_miss.yml +6 -6
  128. data/spec/vcr_cassettes/orders/search_with_special_char.yml +6 -6
  129. data/spec/vcr_cassettes/orders/single_param_find_by_hash.yml +8 -8
  130. data/spec/vcr_cassettes/projects/all.yml +18 -8
  131. data/spec/vcr_cassettes/projects/find_by_hash_failure.yml +6 -6
  132. data/spec/vcr_cassettes/projects/find_failure.yml +6 -6
  133. data/spec/vcr_cassettes/projects/find_id_1.yml +6 -6
  134. data/spec/vcr_cassettes/projects/find_new.yml +9 -9
  135. data/spec/vcr_cassettes/projects/multi_param_find_by_hash.yml +7 -7
  136. data/spec/vcr_cassettes/projects/save_new.yml +8 -8
  137. data/spec/vcr_cassettes/projects/save_old.yml +8 -8
  138. data/spec/vcr_cassettes/projects/single_param_find_by_hash.yml +7 -7
  139. data/spec/vcr_cassettes/termsofpayments/all.yml +10 -7
  140. data/spec/vcr_cassettes/termsofpayments/find_failure.yml +6 -6
  141. data/spec/vcr_cassettes/termsofpayments/find_id_1.yml +6 -6
  142. data/spec/vcr_cassettes/termsofpayments/find_new.yml +8 -8
  143. data/spec/vcr_cassettes/termsofpayments/save_new.yml +8 -8
  144. data/spec/vcr_cassettes/termsofpayments/save_old.yml +8 -8
  145. data/spec/vcr_cassettes/units/all.yml +14 -10
  146. data/spec/vcr_cassettes/units/find_failure.yml +6 -6
  147. data/spec/vcr_cassettes/units/find_id_1.yml +6 -6
  148. data/spec/vcr_cassettes/units/find_new.yml +8 -10
  149. data/spec/vcr_cassettes/units/save_new.yml +8 -10
  150. data/spec/vcr_cassettes/units/save_old.yml +8 -10
  151. data/spec/vcr_cassettes/units/save_with_specially_named_attribute.yml +8 -10
  152. data/temp.txt +1 -0
  153. metadata +71 -13
@@ -45,7 +45,7 @@ describe Fortnox::API::Repository::Order, order: :defined, integration: true do
45
45
  end
46
46
  end
47
47
 
48
- include_examples '.search', :customername, 'A customer', 2
48
+ include_examples '.search', :customername, 'A customer', 3
49
49
 
50
- include_examples '.only', :cancelled, 3
50
+ include_examples '.only', :cancelled, 6
51
51
  end
@@ -22,7 +22,7 @@ describe Fortnox::API::Repository::Project, order: :defined, integration: true d
22
22
  # It is not yet possible to delete Projects. Therefore, expected nr of
23
23
  # Projects when running .all will continue to increase
24
24
  # (until 100, which is max by default).
25
- include_examples '.all', 8
25
+ include_examples '.all', 31
26
26
 
27
27
  include_examples '.find', '1' do
28
28
  let(:find_by_hash_failure) { { offset: 10_000 } }
@@ -17,11 +17,13 @@ describe Fortnox::API::Repository::TermsOfPayment, order: :defined, integration:
17
17
 
18
18
  before { set_api_test_configuration }
19
19
 
20
- required_hash = { code: '15DAYS' }
20
+ # When recording new VCR cassettes, code must be changed to a new unique one
21
+ required_hash = { code: '18DAYS' }
21
22
 
22
23
  include_examples '.save', :description, additional_attrs: required_hash
23
24
 
24
- include_examples '.all', 9
25
+ # When recording new VCR cassettes, expected matches needs to be increased
26
+ include_examples '.all', 12
25
27
 
26
28
  include_examples '.find', '15DAYS', find_by_hash: false do
27
29
  let(:find_by_hash_failure) { { code: '15days' } }
@@ -16,16 +16,19 @@ describe Fortnox::API::Repository::Unit, order: :defined, integration: true do
16
16
 
17
17
  subject(:repository) { described_class.new }
18
18
 
19
+ # When recording new VCR cassettes, code needs to be changed to a unique value
19
20
  include_examples '.save',
20
21
  :description,
21
- additional_attrs: { code: 'blarg' }
22
+ additional_attrs: { code: 'blarg4' }
22
23
 
24
+ # When recording new VCR cassettes, code needs to be changed to a unique value
23
25
  include_examples '.save with specially named attribute',
24
26
  { description: 'Happy clouds' },
25
27
  :code,
26
- 'woooh'
28
+ 'woooh4'
27
29
 
28
- include_examples '.all', 6
30
+ # When recording new VCR cassettes, expected number must be updated
31
+ include_examples '.all', 12
29
32
 
30
33
  include_examples '.find', 'blarg', find_by_hash: false do
31
34
  let(:find_by_hash_failure) { { code: 'notfound' } }
@@ -0,0 +1,76 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+ require 'fortnox/api/types'
5
+ require 'fortnox/api/types/examples/types'
6
+
7
+ describe Fortnox::API::Types::CountryCode do
8
+ context 'with nil' do
9
+ subject { described_class[nil] }
10
+
11
+ it { is_expected.to be_nil }
12
+ end
13
+
14
+ context 'with empty string' do
15
+ subject { described_class[''] }
16
+
17
+ it { is_expected.to eq('') }
18
+ end
19
+
20
+ context 'with valid input' do
21
+ it 'accepts country codes' do
22
+ expect(described_class['NO']).to eq 'NO'
23
+ end
24
+
25
+ it 'accepts nil' do
26
+ expect(described_class[nil]).to eq nil
27
+ end
28
+
29
+ it 'accepts empty string' do
30
+ expect(described_class['']).to eq ''
31
+ end
32
+
33
+ it 'translates English country names to country code' do
34
+ expect(described_class['Norway']).to eq 'NO'
35
+ end
36
+
37
+ it 'translates Swedish country names to country code' do
38
+ expect(described_class['Norge']).to eq 'NO'
39
+ end
40
+
41
+ describe 'special cases' do
42
+ valid_sweden_inputs = [
43
+ 'SE', 'se', 'Sweden', 'sweden', 'Sverige', 'sverige',
44
+ :SE, :se, :Sweden, :sweden, :Sverige, :sverige
45
+ ].freeze
46
+
47
+ valid_sweden_inputs.each do |sweden_input|
48
+ it "converts \"#{sweden_input}\" to \"SE\"" do
49
+ expect(described_class[sweden_input]).to eq 'SE'
50
+ end
51
+ end
52
+
53
+ it 'accepts country code for El Salvador' do
54
+ expect(described_class['SV']).to eq 'SV'
55
+ end
56
+
57
+ it 'translated Switzerland to ' do
58
+ expect(described_class['Switzerland']).to eq 'CH'
59
+ end
60
+ end
61
+ end
62
+
63
+ context 'with invalid input' do
64
+ invalid_inputs = [
65
+ 'SEA', 'S', 'nonsense', :s
66
+ ].freeze
67
+
68
+ invalid_inputs.each do |invalid_input|
69
+ it "#{invalid_input} raises Dry::Types::ConstraintError" do
70
+ expect do
71
+ described_class[invalid_input]
72
+ end.to raise_error(Dry::Types::ConstraintError)
73
+ end
74
+ end
75
+ end
76
+ end
@@ -20,13 +20,14 @@ describe Fortnox::API::Types::Email do
20
20
  end
21
21
 
22
22
  context 'when created with valid email' do
23
- emails = ['valid@example.com', 'kanal_75_ab-faktura@mail.unit4agresso.readsoftonline.com']
24
-
25
- emails.each do |email|
26
- subject { described_class[input] }
27
-
28
- let(:input) { email }
29
- it { is_expected.to eq input }
23
+ valid_emails = [
24
+ 'valid@example.com',
25
+ 'kanal_75_ab-faktura@mail.unit4agresso.readsoftonline.com',
26
+ 'sköldpadda@example.com'
27
+ ]
28
+
29
+ valid_emails.each do |email|
30
+ it { expect(described_class[email]).to eq email }
30
31
  end
31
32
  end
32
33
 
@@ -6,7 +6,6 @@ require 'fortnox/api/types/examples/enum'
6
6
 
7
7
  describe Fortnox::API::Types do
8
8
  it_behaves_like 'enum', 'ArticleType', 'ArticleTypes'
9
- it_behaves_like 'enum', 'CountryCode', 'CountryCodes', auto_crop: true
10
9
  it_behaves_like 'enum', 'Currency', 'Currencies', auto_crop: true
11
10
  it_behaves_like 'enum', 'CustomerType', 'CustomerTypes'
12
11
  it_behaves_like 'enum', 'DiscountType', 'DiscountTypes'
@@ -14,7 +14,7 @@ shared_examples_for 'DocumentRow' do |valid_hash|
14
14
 
15
15
  it { is_expected.to have_sized_float(:price, 0.0, 99_999_999_999.9, valid_hash) }
16
16
 
17
- it do
17
+ it do # rubocop:disable RSpec/ExampleLength
18
18
  is_expected.to have_sized_float(
19
19
  :delivered_quantity,
20
20
  -9_999_999_999_999.9,
@@ -104,7 +104,9 @@ describe Fortnox::API do
104
104
  end
105
105
 
106
106
  shared_examples_for 'valid argument' do
107
- subject { described_class.configure { |config| config.access_tokens = value } }
107
+ subject { described_class.config.access_tokens }
108
+
109
+ before { described_class.configure { |config| config.access_tokens = value } }
108
110
 
109
111
  it { is_expected.to eql(value) }
110
112
  end
@@ -23,7 +23,7 @@ http_interactions:
23
23
  Server:
24
24
  - nginx
25
25
  Date:
26
- - Sun, 08 Oct 2017 21:51:31 GMT
26
+ - Wed, 29 May 2019 07:52:46 GMT
27
27
  Content-Type:
28
28
  - application/json
29
29
  Connection:
@@ -32,14 +32,14 @@ http_interactions:
32
32
  - Accept-Encoding
33
33
  - Accept-Encoding
34
34
  X-Rack-Responsetime:
35
- - '21'
35
+ - '29'
36
36
  X-Uid:
37
- - 1aa0352f
37
+ - ac23869c
38
38
  X-Build:
39
- - e1392b4cf7
39
+ - e930a91c78
40
40
  body:
41
41
  encoding: UTF-8
42
- string: '{"MetaInformation":{"@TotalResources":12,"@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
42
+ string: '{"MetaInformation":{"@TotalResources":26,"@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
43
43
  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
44
44
  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
45
45
  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
@@ -48,7 +48,21 @@ http_interactions:
48
48
  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\/8","ArticleNumber":"8","Description":"A
49
49
  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\/9","ArticleNumber":"9","Description":"A
50
50
  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\/10","ArticleNumber":"10","Description":"Abc
51
- 123","DisposableQuantity":"0","EAN":"","Housework":false,"PurchasePrice":"0","SalesPrice":null,"QuantityInStock":"0","ReservedQuantity":"0","StockPlace":null,"StockValue":"0","Unit":"","VAT":null,"WebshopArticle":false}]}'
51
+ 123","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\/11","ArticleNumber":"11","Description":"A
52
+ 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\/12","ArticleNumber":"12","Description":"Test
53
+ 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\/13","ArticleNumber":"13","Description":"Test
54
+ 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\/14","ArticleNumber":"14","Description":"A
55
+ 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\/15","ArticleNumber":"15","Description":"A
56
+ 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\/16","ArticleNumber":"16","Description":"Test
57
+ 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\/17","ArticleNumber":"17","Description":"A
58
+ 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\/18","ArticleNumber":"18","Description":"Updated
59
+ 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\/19","ArticleNumber":"19","Description":"Updated
60
+ 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\/20","ArticleNumber":"20","Description":"Test
61
+ 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\/21","ArticleNumber":"21","Description":"Updated
62
+ 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\/22","ArticleNumber":"22","Description":"Test
63
+ 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\/23","ArticleNumber":"23","Description":"Updated
64
+ 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\/24","ArticleNumber":"24","Description":"Test
65
+ article","DisposableQuantity":"0","EAN":"5901234123457","Housework":false,"PurchasePrice":"0","SalesPrice":null,"QuantityInStock":"0","ReservedQuantity":"0","StockPlace":null,"StockValue":"0","Unit":"","VAT":null,"WebshopArticle":false}]}'
52
66
  http_version:
53
- recorded_at: Sun, 08 Oct 2017 21:51:31 GMT
54
- recorded_with: VCR 3.0.3
67
+ recorded_at: Wed, 29 May 2019 07:52:46 GMT
68
+ recorded_with: VCR 4.0.0
@@ -23,7 +23,7 @@ http_interactions:
23
23
  Server:
24
24
  - nginx
25
25
  Date:
26
- - Sun, 08 Oct 2017 21:51:44 GMT
26
+ - Wed, 29 May 2019 07:52:47 GMT
27
27
  Content-Type:
28
28
  - application/json
29
29
  Connection:
@@ -32,14 +32,14 @@ http_interactions:
32
32
  - Accept-Encoding
33
33
  - Accept-Encoding
34
34
  X-Rack-Responsetime:
35
- - '20'
35
+ - '24'
36
36
  X-Uid:
37
- - 4b1a3e1d
37
+ - 02aed38b
38
38
  X-Build:
39
- - e1392b4cf7
39
+ - e930a91c78
40
40
  body:
41
41
  encoding: UTF-8
42
42
  string: '{"MetaInformation":{"@TotalResources":0,"@TotalPages":0,"@CurrentPage":1},"Articles":[]}'
43
43
  http_version:
44
- recorded_at: Sun, 08 Oct 2017 21:51:44 GMT
45
- recorded_with: VCR 3.0.3
44
+ recorded_at: Wed, 29 May 2019 07:52:47 GMT
45
+ recorded_with: VCR 4.0.0
@@ -23,7 +23,7 @@ http_interactions:
23
23
  Server:
24
24
  - nginx
25
25
  Date:
26
- - Sun, 08 Oct 2017 21:51:44 GMT
26
+ - Wed, 29 May 2019 07:52:46 GMT
27
27
  Content-Type:
28
28
  - application/json
29
29
  Connection:
@@ -32,14 +32,14 @@ http_interactions:
32
32
  - Accept-Encoding
33
33
  - Accept-Encoding
34
34
  X-Rack-Responsetime:
35
- - '20'
35
+ - '25'
36
36
  X-Uid:
37
- - 9d7a18ed
37
+ - 1b004c01
38
38
  X-Build:
39
- - e1392b4cf7
39
+ - e930a91c78
40
40
  body:
41
41
  encoding: UTF-8
42
42
  string: '{"ErrorInformation":{"Error":1,"Message":"Kan inte hitta artikeln.","Code":2000428}}'
43
43
  http_version:
44
- recorded_at: Sun, 08 Oct 2017 21:51:44 GMT
45
- recorded_with: VCR 3.0.3
44
+ recorded_at: Wed, 29 May 2019 07:52:46 GMT
45
+ recorded_with: VCR 4.0.0
@@ -23,7 +23,7 @@ http_interactions:
23
23
  Server:
24
24
  - nginx
25
25
  Date:
26
- - Sun, 08 Oct 2017 21:51:43 GMT
26
+ - Wed, 29 May 2019 07:52:46 GMT
27
27
  Content-Type:
28
28
  - application/json
29
29
  Connection:
@@ -32,14 +32,14 @@ http_interactions:
32
32
  - Accept-Encoding
33
33
  - Accept-Encoding
34
34
  X-Rack-Responsetime:
35
- - '32'
35
+ - '31'
36
36
  X-Uid:
37
- - 8b796198
37
+ - 126f6b17
38
38
  X-Build:
39
- - e1392b4cf7
39
+ - e930a91c78
40
40
  body:
41
41
  encoding: UTF-8
42
- string: '{"Article":{"@url":"https:\/\/api.fortnox.se\/3\/articles\/1","ArticleNumber":"1","Bulky":false,"ConstructionAccount":1030,"Depth":null,"Description":"Testartikel","DisposableQuantity":-163995.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":163995.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":0,"FreightCost":0,"OtherCost":0}}'
42
+ string: '{"Article":{"@url":"https:\/\/api.fortnox.se\/3\/articles\/1","ArticleNumber":"1","Bulky":false,"ConstructionAccount":1030,"Depth":null,"Description":"Testartikel","DisposableQuantity":-163995.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":163995.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":0,"FreightCost":0,"OtherCost":0,"DefaultStockPoint":null,"DefaultStockLocation":null}}'
43
43
  http_version:
44
- recorded_at: Sun, 08 Oct 2017 21:51:43 GMT
45
- recorded_with: VCR 3.0.3
44
+ recorded_at: Wed, 29 May 2019 07:52:46 GMT
45
+ recorded_with: VCR 4.0.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://api.fortnox.se/3/articles/18
5
+ uri: https://api.fortnox.se/3/articles/23
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -23,7 +23,7 @@ http_interactions:
23
23
  Server:
24
24
  - nginx
25
25
  Date:
26
- - Mon, 09 Oct 2017 19:45:43 GMT
26
+ - Wed, 29 May 2019 07:52:45 GMT
27
27
  Content-Type:
28
28
  - application/json
29
29
  Connection:
@@ -32,15 +32,15 @@ http_interactions:
32
32
  - Accept-Encoding
33
33
  - Accept-Encoding
34
34
  X-Rack-Responsetime:
35
- - '25'
35
+ - '36'
36
36
  X-Uid:
37
- - 5191a93e
37
+ - b904cc2e
38
38
  X-Build:
39
- - 5228d322dc
39
+ - e930a91c78
40
40
  body:
41
41
  encoding: UTF-8
42
- string: '{"Article":{"@url":"https:\/\/api.fortnox.se\/3\/articles\/18","ArticleNumber":"18","Bulky":false,"ConstructionAccount":0,"Depth":0,"Description":"A
43
- 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":0,"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":0,"FreightCost":0,"OtherCost":0}}'
42
+ string: '{"Article":{"@url":"https:\/\/api.fortnox.se\/3\/articles\/23","ArticleNumber":"23","Bulky":false,"ConstructionAccount":0,"Depth":0,"Description":"A
43
+ 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":0,"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":0,"FreightCost":0,"OtherCost":0,"DefaultStockPoint":null,"DefaultStockLocation":null}}'
44
44
  http_version:
45
- recorded_at: Mon, 09 Oct 2017 19:45:43 GMT
46
- recorded_with: VCR 3.0.3
45
+ recorded_at: Wed, 29 May 2019 07:52:45 GMT
46
+ recorded_with: VCR 4.0.0
@@ -23,7 +23,7 @@ http_interactions:
23
23
  Server:
24
24
  - nginx
25
25
  Date:
26
- - Sun, 08 Oct 2017 21:51:44 GMT
26
+ - Wed, 29 May 2019 07:52:46 GMT
27
27
  Content-Type:
28
28
  - application/json
29
29
  Connection:
@@ -32,14 +32,14 @@ http_interactions:
32
32
  - Accept-Encoding
33
33
  - Accept-Encoding
34
34
  X-Rack-Responsetime:
35
- - '25'
35
+ - '28'
36
36
  X-Uid:
37
- - adbaf2f0
37
+ - eae5273c
38
38
  X-Build:
39
- - e1392b4cf7
39
+ - e930a91c78
40
40
  body:
41
41
  encoding: UTF-8
42
42
  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}]}'
43
43
  http_version:
44
- recorded_at: Sun, 08 Oct 2017 21:51:44 GMT
45
- recorded_with: VCR 3.0.3
44
+ recorded_at: Wed, 29 May 2019 07:52:46 GMT
45
+ recorded_with: VCR 4.0.0
@@ -23,7 +23,7 @@ http_interactions:
23
23
  Server:
24
24
  - nginx
25
25
  Date:
26
- - Mon, 09 Oct 2017 19:45:43 GMT
26
+ - Wed, 29 May 2019 07:52:44 GMT
27
27
  Content-Type:
28
28
  - application/json
29
29
  Connection:
@@ -31,15 +31,15 @@ http_interactions:
31
31
  Location:
32
32
  - articles
33
33
  X-Rack-Responsetime:
34
- - '52'
34
+ - '140'
35
35
  X-Uid:
36
- - a37e054e
36
+ - af279886
37
37
  X-Build:
38
- - 5228d322dc
38
+ - e930a91c78
39
39
  body:
40
40
  encoding: UTF-8
41
- string: '{"Article":{"@url":"https:\/\/api.fortnox.se\/3\/articles\/18","ArticleNumber":"18","Bulky":false,"ConstructionAccount":0,"Depth":0,"Description":"A
42
- 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":0,"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":0,"FreightCost":0,"OtherCost":0}}'
41
+ string: '{"Article":{"@url":"https:\/\/api.fortnox.se\/3\/articles\/23","ArticleNumber":"23","Bulky":false,"ConstructionAccount":0,"Depth":0,"Description":"A
42
+ 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":0,"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":0,"FreightCost":0,"OtherCost":0,"DefaultStockPoint":null,"DefaultStockLocation":null}}'
43
43
  http_version:
44
- recorded_at: Mon, 09 Oct 2017 19:45:43 GMT
45
- recorded_with: VCR 3.0.3
44
+ recorded_at: Wed, 29 May 2019 07:52:44 GMT
45
+ recorded_with: VCR 4.0.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: put
5
- uri: https://api.fortnox.se/3/articles/18
5
+ uri: https://api.fortnox.se/3/articles/23
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"Article":{"Description":"Updated description"}}'
@@ -23,7 +23,7 @@ http_interactions:
23
23
  Server:
24
24
  - nginx
25
25
  Date:
26
- - Mon, 09 Oct 2017 19:46:17 GMT
26
+ - Wed, 29 May 2019 07:52:45 GMT
27
27
  Content-Type:
28
28
  - application/json
29
29
  Connection:
@@ -32,15 +32,15 @@ http_interactions:
32
32
  - Accept-Encoding
33
33
  - Accept-Encoding
34
34
  X-Rack-Responsetime:
35
- - '49'
35
+ - '77'
36
36
  X-Uid:
37
- - 0f7a1484
37
+ - 4e9937b3
38
38
  X-Build:
39
- - 5228d322dc
39
+ - e930a91c78
40
40
  body:
41
41
  encoding: UTF-8
42
- string: '{"Article":{"@url":"https:\/\/api.fortnox.se\/3\/articles\/18","ArticleNumber":"18","Bulky":false,"ConstructionAccount":0,"Depth":0,"Description":"Updated
43
- description","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":0,"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":0,"FreightCost":0,"OtherCost":0}}'
42
+ string: '{"Article":{"@url":"https:\/\/api.fortnox.se\/3\/articles\/23","ArticleNumber":"23","Bulky":false,"ConstructionAccount":0,"Depth":0,"Description":"Updated
43
+ description","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":0,"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":0,"FreightCost":0,"OtherCost":0,"DefaultStockPoint":null,"DefaultStockLocation":null}}'
44
44
  http_version:
45
- recorded_at: Mon, 09 Oct 2017 19:46:17 GMT
46
- recorded_with: VCR 3.0.3
45
+ recorded_at: Wed, 29 May 2019 07:52:45 GMT
46
+ recorded_with: VCR 4.0.0