fortnox-api 0.7.2 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (201) hide show
  1. checksums.yaml +4 -4
  2. data/.codeclimate.yml +1 -0
  3. data/.rubocop.yml +1 -1
  4. data/.tool-versions +1 -0
  5. data/.travis.yml +5 -10
  6. data/CHANGELOG.md +45 -1
  7. data/README.md +7 -4
  8. data/Rakefile +5 -0
  9. data/fortnox-api.gemspec +22 -17
  10. data/lib/fortnox/api/mappers/article.rb +1 -1
  11. data/lib/fortnox/api/mappers/base/from_json.rb +3 -3
  12. data/lib/fortnox/api/mappers/base/to_json.rb +2 -2
  13. data/lib/fortnox/api/mappers/base.rb +3 -3
  14. data/lib/fortnox/api/mappers/customer.rb +1 -1
  15. data/lib/fortnox/api/mappers/default_delivery_types.rb +1 -1
  16. data/lib/fortnox/api/mappers/default_templates.rb +1 -1
  17. data/lib/fortnox/api/mappers/edi_information.rb +1 -1
  18. data/lib/fortnox/api/mappers/email_information.rb +1 -1
  19. data/lib/fortnox/api/mappers/invoice.rb +4 -4
  20. data/lib/fortnox/api/mappers/invoice_row.rb +1 -1
  21. data/lib/fortnox/api/mappers/order.rb +4 -4
  22. data/lib/fortnox/api/mappers/order_row.rb +1 -1
  23. data/lib/fortnox/api/mappers/project.rb +1 -1
  24. data/lib/fortnox/api/mappers/terms_of_payment.rb +1 -1
  25. data/lib/fortnox/api/mappers/unit.rb +1 -1
  26. data/lib/fortnox/api/mappers/value/country_string.rb +1 -1
  27. data/lib/fortnox/api/mappers.rb +18 -18
  28. data/lib/fortnox/api/models/article.rb +2 -2
  29. data/lib/fortnox/api/models/base.rb +14 -14
  30. data/lib/fortnox/api/models/customer.rb +2 -2
  31. data/lib/fortnox/api/models/document.rb +5 -2
  32. data/lib/fortnox/api/models/invoice.rb +2 -2
  33. data/lib/fortnox/api/models/label.rb +1 -1
  34. data/lib/fortnox/api/models/order.rb +2 -2
  35. data/lib/fortnox/api/models/project.rb +2 -2
  36. data/lib/fortnox/api/models/terms_of_payment.rb +2 -2
  37. data/lib/fortnox/api/models/unit.rb +2 -2
  38. data/lib/fortnox/api/models.rb +7 -7
  39. data/lib/fortnox/api/repositories/article.rb +3 -3
  40. data/lib/fortnox/api/repositories/base.rb +4 -3
  41. data/lib/fortnox/api/repositories/customer.rb +3 -3
  42. data/lib/fortnox/api/repositories/invoice.rb +3 -3
  43. data/lib/fortnox/api/repositories/order.rb +3 -3
  44. data/lib/fortnox/api/repositories/project.rb +3 -3
  45. data/lib/fortnox/api/repositories/terms_of_payment.rb +3 -3
  46. data/lib/fortnox/api/repositories/unit.rb +3 -3
  47. data/lib/fortnox/api/repositories.rb +7 -7
  48. data/lib/fortnox/api/types/default_delivery_types.rb +0 -2
  49. data/lib/fortnox/api/types/default_templates.rb +0 -2
  50. data/lib/fortnox/api/types/edi_information.rb +0 -2
  51. data/lib/fortnox/api/types/email_information.rb +0 -2
  52. data/lib/fortnox/api/types/enums.rb +36 -8
  53. data/lib/fortnox/api/types/invoice_row.rb +1 -1
  54. data/lib/fortnox/api/types/model.rb +4 -6
  55. data/lib/fortnox/api/types/nullable.rb +13 -9
  56. data/lib/fortnox/api/types/order_row.rb +1 -1
  57. data/lib/fortnox/api/types/required.rb +3 -3
  58. data/lib/fortnox/api/types/sized.rb +2 -2
  59. data/lib/fortnox/api/types.rb +23 -23
  60. data/lib/fortnox/api/version.rb +1 -1
  61. data/lib/fortnox/api.rb +18 -16
  62. data/spec/fortnox/api/circular_queue_spec.rb +3 -3
  63. data/spec/fortnox/api/mappers/base/canonical_name_sym_spec.rb +9 -7
  64. data/spec/fortnox/api/mappers/default_delivery_types_spec.rb +1 -1
  65. data/spec/fortnox/api/mappers/examples/mapper.rb +1 -1
  66. data/spec/fortnox/api/models/base_spec.rb +8 -8
  67. data/spec/fortnox/api/repositories/article_spec.rb +2 -2
  68. data/spec/fortnox/api/repositories/base_spec.rb +4 -12
  69. data/spec/fortnox/api/repositories/customer_spec.rb +1 -1
  70. data/spec/fortnox/api/repositories/invoice_spec.rb +13 -19
  71. data/spec/fortnox/api/repositories/project_spec.rb +1 -1
  72. data/spec/fortnox/api/repositories/terms_of_payment_spec.rb +2 -2
  73. data/spec/fortnox/api/repositories/unit_spec.rb +3 -3
  74. data/spec/fortnox/api/types/enums_spec.rb +1 -0
  75. data/spec/fortnox/api/types/housework_types_spec.rb +122 -34
  76. data/spec/fortnox/api/types/model_spec.rb +11 -17
  77. data/spec/fortnox/api/types/nullable_spec.rb +30 -10
  78. data/spec/fortnox/api/types/required_spec.rb +1 -4
  79. data/spec/support/matchers/type/enum_matcher.rb +1 -1
  80. data/spec/support/matchers/type/have_account_number_matcher.rb +1 -1
  81. data/spec/support/matchers/type/have_email_matcher.rb +1 -1
  82. data/spec/support/matchers/type/have_nullable_date_matcher.rb +5 -5
  83. data/spec/support/matchers/type/have_nullable_string_matcher.rb +3 -3
  84. data/spec/vcr_cassettes/articles/all.yml +43 -17
  85. data/spec/vcr_cassettes/articles/find_by_hash_failure.yml +34 -15
  86. data/spec/vcr_cassettes/articles/find_failure.yml +34 -15
  87. data/spec/vcr_cassettes/articles/find_id_1.yml +35 -16
  88. data/spec/vcr_cassettes/articles/find_new.yml +37 -18
  89. data/spec/vcr_cassettes/articles/multi_param_find_by_hash.yml +34 -15
  90. data/spec/vcr_cassettes/articles/save_new.yml +35 -15
  91. data/spec/vcr_cassettes/articles/save_old.yml +37 -18
  92. data/spec/vcr_cassettes/articles/save_with_specially_named_attribute.yml +35 -15
  93. data/spec/vcr_cassettes/articles/search_by_name.yml +34 -15
  94. data/spec/vcr_cassettes/articles/search_miss.yml +34 -15
  95. data/spec/vcr_cassettes/articles/search_with_special_char.yml +34 -15
  96. data/spec/vcr_cassettes/articles/single_param_find_by_hash.yml +38 -18
  97. data/spec/vcr_cassettes/customers/all.yml +36 -17
  98. data/spec/vcr_cassettes/customers/find_by_hash_failure.yml +34 -15
  99. data/spec/vcr_cassettes/customers/find_failure.yml +34 -15
  100. data/spec/vcr_cassettes/customers/find_id_1.yml +34 -15
  101. data/spec/vcr_cassettes/customers/find_new.yml +36 -17
  102. data/spec/vcr_cassettes/customers/multi_param_find_by_hash.yml +34 -15
  103. data/spec/vcr_cassettes/customers/save_new.yml +34 -14
  104. data/spec/vcr_cassettes/customers/save_new_with_country_code_SE.yml +30 -20
  105. data/spec/vcr_cassettes/customers/save_old.yml +36 -17
  106. data/spec/vcr_cassettes/customers/save_with_specially_named_attribute.yml +34 -14
  107. data/spec/vcr_cassettes/customers/search_by_name.yml +38 -16
  108. data/spec/vcr_cassettes/customers/search_miss.yml +34 -15
  109. data/spec/vcr_cassettes/customers/search_with_special_char.yml +34 -15
  110. data/spec/vcr_cassettes/customers/single_param_find_by_hash.yml +34 -15
  111. data/spec/vcr_cassettes/invoices/all.yml +39 -17
  112. data/spec/vcr_cassettes/invoices/filter_hit.yml +34 -15
  113. data/spec/vcr_cassettes/invoices/filter_invalid.yml +33 -13
  114. data/spec/vcr_cassettes/invoices/find_by_hash_failure.yml +34 -15
  115. data/spec/vcr_cassettes/invoices/find_failure.yml +34 -15
  116. data/spec/vcr_cassettes/invoices/find_id_1.yml +36 -17
  117. data/spec/vcr_cassettes/invoices/find_new.yml +39 -20
  118. data/spec/vcr_cassettes/invoices/multi_param_find_by_hash.yml +34 -15
  119. data/spec/vcr_cassettes/invoices/save_new.yml +37 -17
  120. data/spec/vcr_cassettes/invoices/save_new_with_comments.yml +37 -17
  121. data/spec/vcr_cassettes/invoices/save_new_with_country.yml +32 -22
  122. data/spec/vcr_cassettes/invoices/save_new_with_country_GB.yml +33 -23
  123. data/spec/vcr_cassettes/invoices/save_new_with_country_Norge.yml +32 -22
  124. data/spec/vcr_cassettes/invoices/save_new_with_country_Norway.yml +32 -22
  125. data/spec/vcr_cassettes/invoices/save_new_with_country_Sverige.yml +32 -22
  126. data/spec/vcr_cassettes/invoices/save_new_with_country_VA.yml +33 -23
  127. data/spec/vcr_cassettes/invoices/save_new_with_country_VI.yml +33 -23
  128. data/spec/vcr_cassettes/invoices/save_new_with_country_empty_string.yml +32 -22
  129. data/spec/vcr_cassettes/invoices/save_new_with_country_nil.yml +32 -22
  130. data/spec/vcr_cassettes/invoices/save_old.yml +39 -20
  131. data/spec/vcr_cassettes/invoices/save_old_with_empty_comments.yml +39 -20
  132. data/spec/vcr_cassettes/invoices/save_old_with_empty_country.yml +34 -25
  133. data/spec/vcr_cassettes/invoices/save_old_with_nil_comments.yml +39 -20
  134. data/spec/vcr_cassettes/invoices/save_old_with_nil_country.yml +34 -25
  135. data/spec/vcr_cassettes/invoices/save_with_nested_model.yml +36 -16
  136. data/spec/vcr_cassettes/invoices/save_with_specially_named_attribute.yml +36 -16
  137. data/spec/vcr_cassettes/invoices/search_by_name.yml +34 -15
  138. data/spec/vcr_cassettes/invoices/search_miss.yml +34 -15
  139. data/spec/vcr_cassettes/invoices/search_with_special_char.yml +34 -15
  140. data/spec/vcr_cassettes/invoices/single_param_find_by_hash.yml +34 -15
  141. data/spec/vcr_cassettes/orders/all.yml +35 -16
  142. data/spec/vcr_cassettes/orders/filter_hit.yml +34 -15
  143. data/spec/vcr_cassettes/orders/filter_invalid.yml +33 -13
  144. data/spec/vcr_cassettes/orders/find_by_hash_failure.yml +34 -15
  145. data/spec/vcr_cassettes/orders/find_failure.yml +34 -15
  146. data/spec/vcr_cassettes/orders/find_id_1.yml +35 -16
  147. data/spec/vcr_cassettes/orders/find_new.yml +38 -19
  148. data/spec/vcr_cassettes/orders/housework_invalid_tax_reduction_type.yml +63 -0
  149. data/spec/vcr_cassettes/orders/housework_othercoses_invalid.yml +63 -0
  150. data/spec/vcr_cassettes/orders/housework_type_babysitting.yml +37 -17
  151. data/spec/vcr_cassettes/orders/housework_type_cleaning.yml +37 -17
  152. data/spec/vcr_cassettes/orders/housework_type_construction.yml +37 -17
  153. data/spec/vcr_cassettes/orders/housework_type_cooking.yml +34 -14
  154. data/spec/vcr_cassettes/orders/housework_type_electricity.yml +37 -17
  155. data/spec/vcr_cassettes/orders/housework_type_gardening.yml +37 -17
  156. data/spec/vcr_cassettes/orders/housework_type_glassmetalwork.yml +37 -17
  157. data/spec/vcr_cassettes/orders/housework_type_grounddrainagework.yml +37 -17
  158. data/spec/vcr_cassettes/orders/housework_type_hvac.yml +37 -17
  159. data/spec/vcr_cassettes/orders/housework_type_itservices.yml +66 -0
  160. data/spec/vcr_cassettes/orders/housework_type_majorappliancerepair.yml +66 -0
  161. data/spec/vcr_cassettes/orders/housework_type_masonry.yml +37 -17
  162. data/spec/vcr_cassettes/orders/housework_type_movingservices.yml +66 -0
  163. data/spec/vcr_cassettes/orders/housework_type_othercare.yml +37 -17
  164. data/spec/vcr_cassettes/orders/housework_type_othercosts.yml +37 -17
  165. data/spec/vcr_cassettes/orders/housework_type_paintingwallpapering.yml +37 -17
  166. data/spec/vcr_cassettes/orders/housework_type_snowplowing.yml +37 -17
  167. data/spec/vcr_cassettes/orders/housework_type_textileclothing.yml +37 -17
  168. data/spec/vcr_cassettes/orders/housework_type_tutoring.yml +34 -14
  169. data/spec/vcr_cassettes/orders/multi_param_find_by_hash.yml +34 -15
  170. data/spec/vcr_cassettes/orders/save_new.yml +36 -16
  171. data/spec/vcr_cassettes/orders/save_old.yml +38 -19
  172. data/spec/vcr_cassettes/orders/save_with_nested_model.yml +36 -16
  173. data/spec/vcr_cassettes/orders/search_by_name.yml +34 -15
  174. data/spec/vcr_cassettes/orders/search_miss.yml +34 -15
  175. data/spec/vcr_cassettes/orders/search_with_special_char.yml +34 -15
  176. data/spec/vcr_cassettes/orders/single_param_find_by_hash.yml +34 -15
  177. data/spec/vcr_cassettes/projects/all.yml +58 -33
  178. data/spec/vcr_cassettes/projects/find_by_hash_failure.yml +34 -15
  179. data/spec/vcr_cassettes/projects/find_failure.yml +34 -15
  180. data/spec/vcr_cassettes/projects/find_id_1.yml +34 -15
  181. data/spec/vcr_cassettes/projects/find_new.yml +37 -18
  182. data/spec/vcr_cassettes/projects/multi_param_find_by_hash.yml +36 -17
  183. data/spec/vcr_cassettes/projects/save_new.yml +35 -15
  184. data/spec/vcr_cassettes/projects/save_old.yml +37 -18
  185. data/spec/vcr_cassettes/projects/single_param_find_by_hash.yml +36 -17
  186. data/spec/vcr_cassettes/termsofpayments/all.yml +46 -25
  187. data/spec/vcr_cassettes/termsofpayments/find_failure.yml +34 -15
  188. data/spec/vcr_cassettes/termsofpayments/find_id_1.yml +35 -16
  189. data/spec/vcr_cassettes/termsofpayments/find_new.yml +36 -17
  190. data/spec/vcr_cassettes/termsofpayments/save_new.yml +35 -15
  191. data/spec/vcr_cassettes/termsofpayments/save_old.yml +36 -17
  192. data/spec/vcr_cassettes/units/all.yml +45 -22
  193. data/spec/vcr_cassettes/units/find_failure.yml +34 -15
  194. data/spec/vcr_cassettes/units/find_id_1.yml +35 -16
  195. data/spec/vcr_cassettes/units/find_new.yml +36 -17
  196. data/spec/vcr_cassettes/units/save_new.yml +35 -15
  197. data/spec/vcr_cassettes/units/save_old.yml +36 -17
  198. data/spec/vcr_cassettes/units/save_with_specially_named_attribute.yml +35 -15
  199. metadata +115 -43
  200. data/spec/support/helpers/dummy_class_helper.rb +0 -38
  201. data/spec/vcr_cassettes/invoices/save_new_with_country_KR.yml +0 -57
@@ -15,31 +15,51 @@ http_interactions:
15
15
  - 9aBA8ZgsvR
16
16
  Access-Token:
17
17
  - ccaef817-d5d8-4b1c-a316-54f3e55c5c54
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ User-Agent:
21
+ - Ruby
18
22
  response:
19
23
  status:
20
24
  code: 201
21
25
  message: Created
22
26
  headers:
23
- Server:
24
- - nginx
25
- Date:
26
- - Wed, 29 May 2019 07:52:45 GMT
27
+ Content-Length:
28
+ - '920'
27
29
  Content-Type:
28
30
  - application/json
29
- Connection:
30
- - close
31
+ Date:
32
+ - Mon, 22 Jan 2024 14:52:29 GMT
31
33
  Location:
32
34
  - articles
35
+ X-Build:
36
+ - 9dd4e26746
37
+ X-Frame-Options:
38
+ - sameorigin
33
39
  X-Rack-Responsetime:
34
- - '53'
40
+ - '99'
35
41
  X-Uid:
36
- - e1e4f675
37
- X-Build:
38
- - e930a91c78
42
+ - c8552349
43
+ Server:
44
+ - Fortnox
45
+ X-Content-Type-Options:
46
+ - nosniff
47
+ X-Xss-Protection:
48
+ - '0'
49
+ Referrer-Policy:
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
39
60
  body:
40
61
  encoding: UTF-8
41
- string: '{"Article":{"@url":"https:\/\/api.fortnox.se\/3\/articles\/24","ArticleNumber":"24","Bulky":false,"ConstructionAccount":0,"Depth":0,"Description":"Test
42
- article","DisposableQuantity":0,"EAN":"5901234123457","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":3011,"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
- http_version:
44
- recorded_at: Wed, 29 May 2019 07:52:45 GMT
45
- recorded_with: VCR 4.0.0
62
+ string: '{"Article":{"@url":"https:\/\/api.fortnox.se\/3\/articles\/31","ArticleNumber":"31","Bulky":false,"ConstructionAccount":0,"Depth":0,"Description":"Test
63
+ article","DisposableQuantity":0,"EAN":"5901234123457","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":3011,"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
@@ -15,31 +15,50 @@ http_interactions:
15
15
  - 9aBA8ZgsvR
16
16
  Access-Token:
17
17
  - ccaef817-d5d8-4b1c-a316-54f3e55c5c54
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ User-Agent:
21
+ - Ruby
18
22
  response:
19
23
  status:
20
24
  code: 200
21
25
  message: OK
22
26
  headers:
23
- Server:
24
- - nginx
25
- Date:
26
- - Wed, 29 May 2019 07:52:47 GMT
27
+ Content-Length:
28
+ - '722'
27
29
  Content-Type:
28
30
  - application/json
29
- Connection:
30
- - close
31
+ Date:
32
+ - Mon, 22 Jan 2024 14:52:30 GMT
31
33
  Vary:
32
34
  - Accept-Encoding
33
- - Accept-Encoding
35
+ X-Build:
36
+ - 9dd4e26746
37
+ X-Frame-Options:
38
+ - sameorigin
34
39
  X-Rack-Responsetime:
35
- - '22'
40
+ - '58'
36
41
  X-Uid:
37
- - 2b2ad08f
38
- X-Build:
39
- - e930a91c78
42
+ - 6c44aca6
43
+ Server:
44
+ - Fortnox
45
+ X-Content-Type-Options:
46
+ - nosniff
47
+ X-Xss-Protection:
48
+ - '0'
49
+ Referrer-Policy:
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
40
60
  body:
41
- encoding: UTF-8
61
+ encoding: ASCII-8BIT
42
62
  string: '{"MetaInformation":{"@TotalResources":2,"@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\/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}]}'
43
- http_version:
44
- recorded_at: Wed, 29 May 2019 07:52:47 GMT
45
- recorded_with: VCR 4.0.0
63
+ recorded_at: Mon, 22 Jan 2024 14:52:30 GMT
64
+ recorded_with: VCR 6.2.0
@@ -15,31 +15,50 @@ http_interactions:
15
15
  - 9aBA8ZgsvR
16
16
  Access-Token:
17
17
  - ccaef817-d5d8-4b1c-a316-54f3e55c5c54
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ User-Agent:
21
+ - Ruby
18
22
  response:
19
23
  status:
20
24
  code: 200
21
25
  message: OK
22
26
  headers:
23
- Server:
24
- - nginx
25
- Date:
26
- - Wed, 29 May 2019 07:52:47 GMT
27
+ Content-Length:
28
+ - '88'
27
29
  Content-Type:
28
30
  - application/json
29
- Connection:
30
- - close
31
+ Date:
32
+ - Mon, 22 Jan 2024 14:52:30 GMT
31
33
  Vary:
32
34
  - Accept-Encoding
33
- - Accept-Encoding
35
+ X-Build:
36
+ - 9dd4e26746
37
+ X-Frame-Options:
38
+ - sameorigin
34
39
  X-Rack-Responsetime:
35
- - '25'
40
+ - '46'
36
41
  X-Uid:
37
- - 49efc5c3
38
- X-Build:
39
- - e930a91c78
42
+ - 04b3d9a8
43
+ Server:
44
+ - Fortnox
45
+ X-Content-Type-Options:
46
+ - nosniff
47
+ X-Xss-Protection:
48
+ - '0'
49
+ Referrer-Policy:
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
40
60
  body:
41
- encoding: UTF-8
61
+ encoding: ASCII-8BIT
42
62
  string: '{"MetaInformation":{"@TotalResources":0,"@TotalPages":0,"@CurrentPage":1},"Articles":[]}'
43
- http_version:
44
- recorded_at: Wed, 29 May 2019 07:52:47 GMT
45
- recorded_with: VCR 4.0.0
63
+ recorded_at: Mon, 22 Jan 2024 14:52:30 GMT
64
+ recorded_with: VCR 6.2.0
@@ -15,31 +15,50 @@ http_interactions:
15
15
  - 9aBA8ZgsvR
16
16
  Access-Token:
17
17
  - ccaef817-d5d8-4b1c-a316-54f3e55c5c54
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ User-Agent:
21
+ - Ruby
18
22
  response:
19
23
  status:
20
24
  code: 200
21
25
  message: OK
22
26
  headers:
23
- Server:
24
- - nginx
25
- Date:
26
- - Wed, 29 May 2019 07:52:47 GMT
27
+ Content-Length:
28
+ - '88'
27
29
  Content-Type:
28
30
  - application/json
29
- Connection:
30
- - close
31
+ Date:
32
+ - Mon, 22 Jan 2024 14:52:31 GMT
31
33
  Vary:
32
34
  - Accept-Encoding
33
- - Accept-Encoding
35
+ X-Build:
36
+ - 9dd4e26746
37
+ X-Frame-Options:
38
+ - sameorigin
34
39
  X-Rack-Responsetime:
35
- - '23'
40
+ - '52'
36
41
  X-Uid:
37
- - 3607b73b
38
- X-Build:
39
- - e930a91c78
42
+ - 644a7b61
43
+ Server:
44
+ - Fortnox
45
+ X-Content-Type-Options:
46
+ - nosniff
47
+ X-Xss-Protection:
48
+ - '0'
49
+ Referrer-Policy:
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
40
60
  body:
41
- encoding: UTF-8
61
+ encoding: ASCII-8BIT
42
62
  string: '{"MetaInformation":{"@TotalResources":0,"@TotalPages":0,"@CurrentPage":1},"Articles":[]}'
43
- http_version:
44
- recorded_at: Wed, 29 May 2019 07:52:47 GMT
45
- recorded_with: VCR 4.0.0
63
+ recorded_at: Mon, 22 Jan 2024 14:52:30 GMT
64
+ recorded_with: VCR 6.2.0
@@ -15,42 +15,62 @@ http_interactions:
15
15
  - 9aBA8ZgsvR
16
16
  Access-Token:
17
17
  - ccaef817-d5d8-4b1c-a316-54f3e55c5c54
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ User-Agent:
21
+ - Ruby
18
22
  response:
19
23
  status:
20
24
  code: 200
21
25
  message: OK
22
26
  headers:
23
- Server:
24
- - nginx
25
- Date:
26
- - Wed, 29 May 2019 07:52:46 GMT
27
+ Content-Length:
28
+ - '4582'
27
29
  Content-Type:
28
30
  - application/json
29
- Connection:
30
- - close
31
+ Date:
32
+ - Mon, 22 Jan 2024 14:52:30 GMT
31
33
  Vary:
32
34
  - Accept-Encoding
33
- - Accept-Encoding
35
+ X-Build:
36
+ - 9dd4e26746
37
+ X-Frame-Options:
38
+ - sameorigin
34
39
  X-Rack-Responsetime:
35
- - '26'
40
+ - '65'
36
41
  X-Uid:
37
- - e10c396f
38
- X-Build:
39
- - e930a91c78
42
+ - e68bb990
43
+ Server:
44
+ - Fortnox
45
+ X-Content-Type-Options:
46
+ - nosniff
47
+ X-Xss-Protection:
48
+ - '0'
49
+ Referrer-Policy:
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
40
60
  body:
41
- encoding: UTF-8
42
- string: '{"MetaInformation":{"@TotalResources":13,"@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},{"@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\/10","ArticleNumber":"10","Description":"Abc
61
+ encoding: ASCII-8BIT
62
+ string: '{"MetaInformation":{"@TotalResources":14,"@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},{"@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\/10","ArticleNumber":"10","Description":"Abc
43
63
  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
44
64
  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
45
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},{"@url":"https:\/\/api.fortnox.se\/3\/articles\/13","ArticleNumber":"13","Description":"Test
46
66
  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
47
- 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
67
+ value","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\/15","ArticleNumber":"15","Description":"A
48
68
  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
49
69
  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
50
70
  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
51
71
  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
52
72
  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\/21","ArticleNumber":"21","Description":"Updated
53
- description","DisposableQuantity":"0","EAN":"","Housework":false,"PurchasePrice":"0","SalesPrice":null,"QuantityInStock":"0","ReservedQuantity":"0","StockPlace":null,"StockValue":"0","Unit":null,"VAT":null,"WebshopArticle":false}]}'
54
- http_version:
55
- recorded_at: Wed, 29 May 2019 07:52:46 GMT
56
- recorded_with: VCR 4.0.0
73
+ 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
74
+ article","DisposableQuantity":"0","EAN":"5901234123457","Housework":false,"PurchasePrice":"0","SalesPrice":null,"QuantityInStock":"0","ReservedQuantity":"0","StockPlace":null,"StockValue":"0","Unit":"","VAT":null,"WebshopArticle":false}]}'
75
+ recorded_at: Mon, 22 Jan 2024 14:52:30 GMT
76
+ recorded_with: VCR 6.2.0
@@ -15,31 +15,51 @@ http_interactions:
15
15
  - 9aBA8ZgsvR
16
16
  Access-Token:
17
17
  - ccaef817-d5d8-4b1c-a316-54f3e55c5c54
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ User-Agent:
21
+ - Ruby
18
22
  response:
19
23
  status:
20
24
  code: 200
21
25
  message: OK
22
26
  headers:
23
- Server:
24
- - nginx
25
- Date:
26
- - Wed, 29 May 2019 07:52:38 GMT
27
27
  Content-Type:
28
28
  - application/json
29
- Connection:
30
- - close
29
+ Date:
30
+ - Mon, 22 Jan 2024 14:52:50 GMT
31
31
  Vary:
32
32
  - Accept-Encoding
33
- - Accept-Encoding
33
+ X-Build:
34
+ - 9dd4e26746
35
+ X-Frame-Options:
36
+ - sameorigin
34
37
  X-Rack-Responsetime:
35
- - '24'
38
+ - '43'
36
39
  X-Uid:
37
- - 11c7fe7b
38
- X-Build:
39
- - e930a91c78
40
+ - fa3e4f62
41
+ Transfer-Encoding:
42
+ - chunked
43
+ Server:
44
+ - Fortnox
45
+ X-Content-Type-Options:
46
+ - nosniff
47
+ X-Xss-Protection:
48
+ - '0'
49
+ Referrer-Policy:
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
40
60
  body:
41
- encoding: UTF-8
42
- string: '{"MetaInformation":{"@TotalResources":229,"@TotalPages":3,"@CurrentPage":1},"Customers":[{"@url":"https:\/\/api.fortnox.se\/3\/customers\/1","Address1":"","Address2":"","City":"","CustomerNumber":"1","Email":"","Name":"Old
61
+ encoding: ASCII-8BIT
62
+ string: '{"MetaInformation":{"@TotalResources":247,"@TotalPages":3,"@CurrentPage":1},"Customers":[{"@url":"https:\/\/api.fortnox.se\/3\/customers\/1","Address1":"","Address2":"","City":"","CustomerNumber":"1","Email":"","Name":"Old
43
63
  name","OrganisationNumber":"860101-8735","Phone":"","ZipCode":""},{"@url":"https:\/\/api.fortnox.se\/3\/customers\/2","Address1":"","Address2":"","City":"New
44
64
  York","CustomerNumber":"2","Email":"","Name":"A customer","OrganisationNumber":"600102-7447","Phone":"","ZipCode":"10001"},{"@url":"https:\/\/api.fortnox.se\/3\/customers\/3","Address1":"","Address2":"","City":"New
45
65
  York","CustomerNumber":"3","Email":"","Name":"Test customer","OrganisationNumber":"400101-8383","Phone":"","ZipCode":""},{"@url":"https:\/\/api.fortnox.se\/3\/customers\/4","Address1":"","Address2":"","City":"","CustomerNumber":"4","Email":"","Name":"Arthur
@@ -115,7 +135,7 @@ http_interactions:
115
135
  44","Address2":"","City":"TINGSRYD","CustomerNumber":"73","Email":"","Name":"BolagsBemanning
116
136
  i Tingsryd AB","OrganisationNumber":"","Phone":"","ZipCode":"36221"},{"@url":"https:\/\/api.fortnox.se\/3\/customers\/74","Address1":"Some
117
137
  long and complicated address","Address2":"","City":"Paris","CustomerNumber":"74","Email":"an_email-address@email.com","Name":"A
118
- company","OrganisationNumber":"001122-1122","Phone":"Phone number 123","ZipCode":"A
138
+ company","OrganisationNumber":"0011221122","Phone":"Phone number 123","ZipCode":"A
119
139
  zip code"},{"@url":"https:\/\/api.fortnox.se\/3\/customers\/75","Address1":"BOX
120
140
  44","Address2":"","City":"TINGSRYD","CustomerNumber":"75","Email":"","Name":"BolagsBemanning
121
141
  i Tingsryd AB","OrganisationNumber":"556716-1855","Phone":"","ZipCode":"36221"},{"@url":"https:\/\/api.fortnox.se\/3\/customers\/76","Address1":"Myrliden
@@ -152,6 +172,5 @@ http_interactions:
152
172
  testsson","OrganisationNumber":"","Phone":"1241415151","ZipCode":"111 11"},{"@url":"https:\/\/api.fortnox.se\/3\/customers\/100","Address1":"testgatan
153
173
  6","Address2":"","City":"teststan","CustomerNumber":"100","Email":"test@email.com","Name":"test12313","OrganisationNumber":"","Phone":"123141","ZipCode":"111
154
174
  11"}]}'
155
- http_version:
156
- recorded_at: Wed, 29 May 2019 07:52:38 GMT
157
- recorded_with: VCR 4.0.0
175
+ recorded_at: Mon, 22 Jan 2024 14:52:50 GMT
176
+ recorded_with: VCR 6.2.0
@@ -15,31 +15,50 @@ http_interactions:
15
15
  - 9aBA8ZgsvR
16
16
  Access-Token:
17
17
  - ccaef817-d5d8-4b1c-a316-54f3e55c5c54
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ User-Agent:
21
+ - Ruby
18
22
  response:
19
23
  status:
20
24
  code: 200
21
25
  message: OK
22
26
  headers:
23
- Server:
24
- - nginx
25
- Date:
26
- - Wed, 29 May 2019 07:52:39 GMT
27
+ Content-Length:
28
+ - '89'
27
29
  Content-Type:
28
30
  - application/json
29
- Connection:
30
- - close
31
+ Date:
32
+ - Mon, 22 Jan 2024 14:52:51 GMT
31
33
  Vary:
32
34
  - Accept-Encoding
33
- - Accept-Encoding
35
+ X-Build:
36
+ - 9dd4e26746
37
+ X-Frame-Options:
38
+ - sameorigin
34
39
  X-Rack-Responsetime:
35
- - '16'
40
+ - '51'
36
41
  X-Uid:
37
- - 18e11098
38
- X-Build:
39
- - e930a91c78
42
+ - 4fed4ce2
43
+ Server:
44
+ - Fortnox
45
+ X-Content-Type-Options:
46
+ - nosniff
47
+ X-Xss-Protection:
48
+ - '0'
49
+ Referrer-Policy:
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
40
60
  body:
41
- encoding: UTF-8
61
+ encoding: ASCII-8BIT
42
62
  string: '{"MetaInformation":{"@TotalResources":0,"@TotalPages":0,"@CurrentPage":1},"Customers":[]}'
43
- http_version:
44
- recorded_at: Wed, 29 May 2019 07:52:39 GMT
45
- recorded_with: VCR 4.0.0
63
+ recorded_at: Mon, 22 Jan 2024 14:52:51 GMT
64
+ recorded_with: VCR 6.2.0
@@ -15,31 +15,50 @@ http_interactions:
15
15
  - 9aBA8ZgsvR
16
16
  Access-Token:
17
17
  - ccaef817-d5d8-4b1c-a316-54f3e55c5c54
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ User-Agent:
21
+ - Ruby
18
22
  response:
19
23
  status:
20
24
  code: 404
21
25
  message: Not Found
22
26
  headers:
23
- Server:
24
- - nginx
25
- Date:
26
- - Wed, 29 May 2019 07:52:39 GMT
27
+ Content-Length:
28
+ - '82'
27
29
  Content-Type:
28
30
  - application/json
29
- Connection:
30
- - close
31
+ Date:
32
+ - Mon, 22 Jan 2024 14:52:50 GMT
31
33
  Vary:
32
34
  - Accept-Encoding
33
- - Accept-Encoding
35
+ X-Build:
36
+ - 9dd4e26746
37
+ X-Frame-Options:
38
+ - sameorigin
34
39
  X-Rack-Responsetime:
35
- - '17'
40
+ - '64'
36
41
  X-Uid:
37
- - 440aefd1
38
- X-Build:
39
- - e930a91c78
42
+ - 710ab200
43
+ Server:
44
+ - Fortnox
45
+ X-Content-Type-Options:
46
+ - nosniff
47
+ X-Xss-Protection:
48
+ - '0'
49
+ Referrer-Policy:
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
40
60
  body:
41
- encoding: UTF-8
61
+ encoding: ASCII-8BIT
42
62
  string: '{"ErrorInformation":{"Error":1,"Message":"Kan inte hitta kunden.","Code":2000433}}'
43
- http_version:
44
- recorded_at: Wed, 29 May 2019 07:52:39 GMT
45
- recorded_with: VCR 4.0.0
63
+ recorded_at: Mon, 22 Jan 2024 14:52:50 GMT
64
+ recorded_with: VCR 6.2.0