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.
Files changed (197) 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 -3
  6. data/CHANGELOG.md +37 -3
  7. data/fortnox-api.gemspec +22 -17
  8. data/lib/fortnox/api/mappers/article.rb +1 -1
  9. data/lib/fortnox/api/mappers/base/from_json.rb +1 -1
  10. data/lib/fortnox/api/mappers/base/to_json.rb +2 -2
  11. data/lib/fortnox/api/mappers/base.rb +3 -3
  12. data/lib/fortnox/api/mappers/customer.rb +1 -1
  13. data/lib/fortnox/api/mappers/default_delivery_types.rb +1 -1
  14. data/lib/fortnox/api/mappers/default_templates.rb +1 -1
  15. data/lib/fortnox/api/mappers/edi_information.rb +1 -1
  16. data/lib/fortnox/api/mappers/email_information.rb +1 -1
  17. data/lib/fortnox/api/mappers/invoice.rb +4 -4
  18. data/lib/fortnox/api/mappers/invoice_row.rb +1 -1
  19. data/lib/fortnox/api/mappers/order.rb +4 -4
  20. data/lib/fortnox/api/mappers/order_row.rb +1 -1
  21. data/lib/fortnox/api/mappers/project.rb +1 -1
  22. data/lib/fortnox/api/mappers/terms_of_payment.rb +1 -1
  23. data/lib/fortnox/api/mappers/unit.rb +1 -1
  24. data/lib/fortnox/api/mappers/value/country_string.rb +1 -1
  25. data/lib/fortnox/api/mappers.rb +18 -18
  26. data/lib/fortnox/api/models/article.rb +2 -2
  27. data/lib/fortnox/api/models/base.rb +14 -14
  28. data/lib/fortnox/api/models/customer.rb +2 -2
  29. data/lib/fortnox/api/models/document.rb +2 -2
  30. data/lib/fortnox/api/models/invoice.rb +2 -2
  31. data/lib/fortnox/api/models/label.rb +1 -1
  32. data/lib/fortnox/api/models/order.rb +2 -2
  33. data/lib/fortnox/api/models/project.rb +2 -2
  34. data/lib/fortnox/api/models/terms_of_payment.rb +2 -2
  35. data/lib/fortnox/api/models/unit.rb +2 -2
  36. data/lib/fortnox/api/models.rb +7 -7
  37. data/lib/fortnox/api/repositories/article.rb +3 -3
  38. data/lib/fortnox/api/repositories/base.rb +4 -3
  39. data/lib/fortnox/api/repositories/customer.rb +3 -3
  40. data/lib/fortnox/api/repositories/invoice.rb +3 -3
  41. data/lib/fortnox/api/repositories/order.rb +3 -3
  42. data/lib/fortnox/api/repositories/project.rb +3 -3
  43. data/lib/fortnox/api/repositories/terms_of_payment.rb +3 -3
  44. data/lib/fortnox/api/repositories/unit.rb +3 -3
  45. data/lib/fortnox/api/repositories.rb +7 -7
  46. data/lib/fortnox/api/types/default_delivery_types.rb +0 -2
  47. data/lib/fortnox/api/types/default_templates.rb +0 -2
  48. data/lib/fortnox/api/types/edi_information.rb +0 -2
  49. data/lib/fortnox/api/types/email_information.rb +0 -2
  50. data/lib/fortnox/api/types/invoice_row.rb +1 -1
  51. data/lib/fortnox/api/types/model.rb +4 -6
  52. data/lib/fortnox/api/types/nullable.rb +13 -9
  53. data/lib/fortnox/api/types/order_row.rb +1 -1
  54. data/lib/fortnox/api/types/required.rb +3 -3
  55. data/lib/fortnox/api/types/sized.rb +2 -2
  56. data/lib/fortnox/api/types.rb +17 -22
  57. data/lib/fortnox/api/version.rb +1 -1
  58. data/lib/fortnox/api.rb +18 -16
  59. data/spec/fortnox/api/mappers/base/canonical_name_sym_spec.rb +9 -7
  60. data/spec/fortnox/api/mappers/default_delivery_types_spec.rb +1 -1
  61. data/spec/fortnox/api/mappers/examples/mapper.rb +1 -1
  62. data/spec/fortnox/api/models/base_spec.rb +8 -8
  63. data/spec/fortnox/api/repositories/article_spec.rb +2 -2
  64. data/spec/fortnox/api/repositories/base_spec.rb +4 -12
  65. data/spec/fortnox/api/repositories/customer_spec.rb +1 -1
  66. data/spec/fortnox/api/repositories/invoice_spec.rb +0 -6
  67. data/spec/fortnox/api/repositories/project_spec.rb +1 -1
  68. data/spec/fortnox/api/repositories/terms_of_payment_spec.rb +2 -2
  69. data/spec/fortnox/api/repositories/unit_spec.rb +3 -3
  70. data/spec/fortnox/api/types/housework_types_spec.rb +0 -29
  71. data/spec/fortnox/api/types/model_spec.rb +11 -17
  72. data/spec/fortnox/api/types/nullable_spec.rb +30 -10
  73. data/spec/fortnox/api/types/required_spec.rb +1 -4
  74. data/spec/support/matchers/type/enum_matcher.rb +1 -1
  75. data/spec/support/matchers/type/have_account_number_matcher.rb +1 -1
  76. data/spec/support/matchers/type/have_email_matcher.rb +1 -1
  77. data/spec/support/matchers/type/have_nullable_date_matcher.rb +5 -5
  78. data/spec/support/matchers/type/have_nullable_string_matcher.rb +3 -3
  79. data/spec/vcr_cassettes/articles/all.yml +30 -20
  80. data/spec/vcr_cassettes/articles/find_by_hash_failure.yml +25 -19
  81. data/spec/vcr_cassettes/articles/find_failure.yml +25 -19
  82. data/spec/vcr_cassettes/articles/find_id_1.yml +26 -20
  83. data/spec/vcr_cassettes/articles/find_new.yml +28 -22
  84. data/spec/vcr_cassettes/articles/multi_param_find_by_hash.yml +25 -19
  85. data/spec/vcr_cassettes/articles/save_new.yml +27 -21
  86. data/spec/vcr_cassettes/articles/save_old.yml +28 -22
  87. data/spec/vcr_cassettes/articles/save_with_specially_named_attribute.yml +27 -21
  88. data/spec/vcr_cassettes/articles/search_by_name.yml +25 -19
  89. data/spec/vcr_cassettes/articles/search_miss.yml +25 -19
  90. data/spec/vcr_cassettes/articles/search_with_special_char.yml +25 -19
  91. data/spec/vcr_cassettes/articles/single_param_find_by_hash.yml +28 -21
  92. data/spec/vcr_cassettes/customers/all.yml +26 -20
  93. data/spec/vcr_cassettes/customers/find_by_hash_failure.yml +25 -19
  94. data/spec/vcr_cassettes/customers/find_failure.yml +25 -19
  95. data/spec/vcr_cassettes/customers/find_id_1.yml +25 -19
  96. data/spec/vcr_cassettes/customers/find_new.yml +27 -21
  97. data/spec/vcr_cassettes/customers/multi_param_find_by_hash.yml +25 -19
  98. data/spec/vcr_cassettes/customers/save_new.yml +26 -20
  99. data/spec/vcr_cassettes/customers/save_new_with_country_code_SE.yml +26 -20
  100. data/spec/vcr_cassettes/customers/save_old.yml +27 -21
  101. data/spec/vcr_cassettes/customers/save_with_specially_named_attribute.yml +26 -20
  102. data/spec/vcr_cassettes/customers/search_by_name.yml +28 -20
  103. data/spec/vcr_cassettes/customers/search_miss.yml +25 -19
  104. data/spec/vcr_cassettes/customers/search_with_special_char.yml +25 -19
  105. data/spec/vcr_cassettes/customers/single_param_find_by_hash.yml +25 -19
  106. data/spec/vcr_cassettes/invoices/all.yml +26 -20
  107. data/spec/vcr_cassettes/invoices/filter_hit.yml +25 -19
  108. data/spec/vcr_cassettes/invoices/filter_invalid.yml +25 -19
  109. data/spec/vcr_cassettes/invoices/find_by_hash_failure.yml +25 -19
  110. data/spec/vcr_cassettes/invoices/find_failure.yml +25 -19
  111. data/spec/vcr_cassettes/invoices/find_id_1.yml +26 -20
  112. data/spec/vcr_cassettes/invoices/find_new.yml +30 -24
  113. data/spec/vcr_cassettes/invoices/multi_param_find_by_hash.yml +25 -19
  114. data/spec/vcr_cassettes/invoices/save_new.yml +29 -23
  115. data/spec/vcr_cassettes/invoices/save_new_with_comments.yml +29 -23
  116. data/spec/vcr_cassettes/invoices/save_new_with_country.yml +28 -22
  117. data/spec/vcr_cassettes/invoices/save_new_with_country_GB.yml +29 -23
  118. data/spec/vcr_cassettes/invoices/save_new_with_country_Norge.yml +28 -22
  119. data/spec/vcr_cassettes/invoices/save_new_with_country_Norway.yml +28 -22
  120. data/spec/vcr_cassettes/invoices/save_new_with_country_Sverige.yml +28 -22
  121. data/spec/vcr_cassettes/invoices/save_new_with_country_VA.yml +29 -23
  122. data/spec/vcr_cassettes/invoices/save_new_with_country_VI.yml +29 -23
  123. data/spec/vcr_cassettes/invoices/save_new_with_country_empty_string.yml +28 -22
  124. data/spec/vcr_cassettes/invoices/save_new_with_country_nil.yml +28 -22
  125. data/spec/vcr_cassettes/invoices/save_old.yml +30 -24
  126. data/spec/vcr_cassettes/invoices/save_old_with_empty_comments.yml +30 -24
  127. data/spec/vcr_cassettes/invoices/save_old_with_empty_country.yml +29 -23
  128. data/spec/vcr_cassettes/invoices/save_old_with_nil_comments.yml +30 -24
  129. data/spec/vcr_cassettes/invoices/save_old_with_nil_country.yml +29 -23
  130. data/spec/vcr_cassettes/invoices/save_with_nested_model.yml +28 -22
  131. data/spec/vcr_cassettes/invoices/save_with_specially_named_attribute.yml +28 -22
  132. data/spec/vcr_cassettes/invoices/search_by_name.yml +25 -19
  133. data/spec/vcr_cassettes/invoices/search_miss.yml +25 -19
  134. data/spec/vcr_cassettes/invoices/search_with_special_char.yml +25 -19
  135. data/spec/vcr_cassettes/invoices/single_param_find_by_hash.yml +25 -19
  136. data/spec/vcr_cassettes/orders/all.yml +26 -20
  137. data/spec/vcr_cassettes/orders/filter_hit.yml +25 -19
  138. data/spec/vcr_cassettes/orders/filter_invalid.yml +25 -19
  139. data/spec/vcr_cassettes/orders/find_by_hash_failure.yml +25 -19
  140. data/spec/vcr_cassettes/orders/find_failure.yml +25 -19
  141. data/spec/vcr_cassettes/orders/find_id_1.yml +25 -19
  142. data/spec/vcr_cassettes/orders/find_new.yml +29 -23
  143. data/spec/vcr_cassettes/orders/housework_invalid_tax_reduction_type.yml +25 -19
  144. data/spec/vcr_cassettes/orders/housework_othercoses_invalid.yml +25 -19
  145. data/spec/vcr_cassettes/orders/housework_type_babysitting.yml +28 -22
  146. data/spec/vcr_cassettes/orders/housework_type_cleaning.yml +28 -22
  147. data/spec/vcr_cassettes/orders/housework_type_construction.yml +28 -22
  148. data/spec/vcr_cassettes/orders/housework_type_cooking.yml +25 -19
  149. data/spec/vcr_cassettes/orders/housework_type_electricity.yml +28 -22
  150. data/spec/vcr_cassettes/orders/housework_type_gardening.yml +28 -22
  151. data/spec/vcr_cassettes/orders/housework_type_glassmetalwork.yml +28 -22
  152. data/spec/vcr_cassettes/orders/housework_type_grounddrainagework.yml +28 -22
  153. data/spec/vcr_cassettes/orders/housework_type_hvac.yml +28 -22
  154. data/spec/vcr_cassettes/orders/housework_type_itservices.yml +28 -22
  155. data/spec/vcr_cassettes/orders/housework_type_majorappliancerepair.yml +28 -22
  156. data/spec/vcr_cassettes/orders/housework_type_masonry.yml +28 -22
  157. data/spec/vcr_cassettes/orders/housework_type_movingservices.yml +28 -22
  158. data/spec/vcr_cassettes/orders/housework_type_othercare.yml +28 -22
  159. data/spec/vcr_cassettes/orders/housework_type_othercosts.yml +28 -22
  160. data/spec/vcr_cassettes/orders/housework_type_paintingwallpapering.yml +28 -22
  161. data/spec/vcr_cassettes/orders/housework_type_snowplowing.yml +28 -22
  162. data/spec/vcr_cassettes/orders/housework_type_textileclothing.yml +28 -22
  163. data/spec/vcr_cassettes/orders/housework_type_tutoring.yml +25 -19
  164. data/spec/vcr_cassettes/orders/multi_param_find_by_hash.yml +25 -19
  165. data/spec/vcr_cassettes/orders/save_new.yml +28 -22
  166. data/spec/vcr_cassettes/orders/save_old.yml +29 -23
  167. data/spec/vcr_cassettes/orders/save_with_nested_model.yml +28 -22
  168. data/spec/vcr_cassettes/orders/search_by_name.yml +25 -19
  169. data/spec/vcr_cassettes/orders/search_miss.yml +25 -19
  170. data/spec/vcr_cassettes/orders/search_with_special_char.yml +25 -19
  171. data/spec/vcr_cassettes/orders/single_param_find_by_hash.yml +25 -19
  172. data/spec/vcr_cassettes/projects/all.yml +31 -21
  173. data/spec/vcr_cassettes/projects/find_by_hash_failure.yml +25 -19
  174. data/spec/vcr_cassettes/projects/find_failure.yml +25 -19
  175. data/spec/vcr_cassettes/projects/find_id_1.yml +25 -19
  176. data/spec/vcr_cassettes/projects/find_new.yml +28 -22
  177. data/spec/vcr_cassettes/projects/multi_param_find_by_hash.yml +26 -20
  178. data/spec/vcr_cassettes/projects/save_new.yml +27 -21
  179. data/spec/vcr_cassettes/projects/save_old.yml +28 -22
  180. data/spec/vcr_cassettes/projects/single_param_find_by_hash.yml +26 -20
  181. data/spec/vcr_cassettes/termsofpayments/all.yml +34 -27
  182. data/spec/vcr_cassettes/termsofpayments/find_failure.yml +25 -19
  183. data/spec/vcr_cassettes/termsofpayments/find_id_1.yml +25 -19
  184. data/spec/vcr_cassettes/termsofpayments/find_new.yml +27 -21
  185. data/spec/vcr_cassettes/termsofpayments/save_new.yml +27 -21
  186. data/spec/vcr_cassettes/termsofpayments/save_old.yml +27 -21
  187. data/spec/vcr_cassettes/units/all.yml +36 -28
  188. data/spec/vcr_cassettes/units/find_failure.yml +25 -19
  189. data/spec/vcr_cassettes/units/find_id_1.yml +26 -20
  190. data/spec/vcr_cassettes/units/find_new.yml +27 -21
  191. data/spec/vcr_cassettes/units/save_new.yml +27 -21
  192. data/spec/vcr_cassettes/units/save_old.yml +27 -21
  193. data/spec/vcr_cassettes/units/save_with_specially_named_attribute.yml +27 -21
  194. metadata +107 -47
  195. data/spec/support/helpers/dummy_class_helper.rb +0 -38
  196. data/spec/vcr_cassettes/invoices/save_new_with_country_KR.yml +0 -61
  197. data/spec/vcr_cassettes/orders/housework_without_tax_reduction_type.yml +0 -57
@@ -24,35 +24,41 @@ http_interactions:
24
24
  code: 404
25
25
  message: Not Found
26
26
  headers:
27
- Server:
28
- - nginx
29
- Date:
30
- - Mon, 21 Dec 2020 20:34:25 GMT
27
+ Content-Length:
28
+ - '82'
31
29
  Content-Type:
32
30
  - application/json
33
- Connection:
34
- - close
31
+ Date:
32
+ - Mon, 22 Jan 2024 14:52:50 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
- - '16'
40
+ - '64'
39
41
  X-Uid:
40
- - 0af462e3
41
- X-Build:
42
- - d59e2acefa
43
- Strict-Transport-Security:
44
- - max-age=31536000; includeSubdomains
45
- X-Xss-Protection:
46
- - 1; mode=block
42
+ - 710ab200
43
+ Server:
44
+ - Fortnox
47
45
  X-Content-Type-Options:
48
46
  - nosniff
49
- X-Frame-Options:
50
- - sameorigin
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 kunden.","Code":2000433}}'
56
- http_version:
57
- recorded_at: Mon, 21 Dec 2020 20:34:25 GMT
58
- recorded_with: VCR 4.0.0
63
+ recorded_at: Mon, 22 Jan 2024 14:52:50 GMT
64
+ recorded_with: VCR 6.2.0
@@ -24,36 +24,42 @@ http_interactions:
24
24
  code: 200
25
25
  message: OK
26
26
  headers:
27
- Server:
28
- - nginx
29
- Date:
30
- - Mon, 21 Dec 2020 20:34:25 GMT
27
+ Content-Length:
28
+ - '1443'
31
29
  Content-Type:
32
30
  - application/json
33
- Connection:
34
- - close
31
+ Date:
32
+ - Mon, 22 Jan 2024 14:52:50 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
- - '19'
40
+ - '43'
39
41
  X-Uid:
40
- - 9107e6b8
41
- X-Build:
42
- - d59e2acefa
43
- Strict-Transport-Security:
44
- - max-age=31536000; includeSubdomains
45
- X-Xss-Protection:
46
- - 1; mode=block
42
+ - cbc26314
43
+ Server:
44
+ - Fortnox
47
45
  X-Content-Type-Options:
48
46
  - nosniff
49
- X-Frame-Options:
50
- - sameorigin
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: '{"Customer":{"@url":"https:\/\/api.fortnox.se\/3\/customers\/1","Address1":null,"Address2":null,"City":"","Country":null,"Comments":null,"Currency":"SEK","CostCenter":null,"CountryCode":null,"Active":true,"CustomerNumber":"1","DefaultDeliveryTypes":{"Invoice":"PRINT","Order":"PRINT","Offer":"PRINT"},"DefaultTemplates":{"Order":"DEFAULTTEMPLATE","Offer":"DEFAULTTEMPLATE","Invoice":"DEFAULTTEMPLATE","CashInvoice":"DEFAULTTEMPLATE"},"DeliveryAddress1":null,"DeliveryAddress2":null,"DeliveryCity":null,"DeliveryCountry":null,"DeliveryCountryCode":null,"DeliveryFax":null,"DeliveryName":null,"DeliveryPhone1":null,"DeliveryPhone2":null,"DeliveryZipCode":null,"Email":"","EmailInvoice":"","EmailInvoiceBCC":"","EmailInvoiceCC":"","EmailOffer":"","EmailOfferBCC":"","EmailOfferCC":"","EmailOrder":"","EmailOrderBCC":"","EmailOrderCC":"","ExternalReference":null,"Fax":null,"GLN":null,"GLNDelivery":null,"InvoiceAdministrationFee":null,"InvoiceDiscount":null,"InvoiceFreight":null,"InvoiceRemark":"","Name":"Old
56
63
  name","OrganisationNumber":"860101-8735","OurReference":"","Phone1":null,"Phone2":null,"PriceList":"A","Project":"","SalesAccount":null,"ShowPriceVATIncluded":false,"TermsOfDelivery":"","TermsOfPayment":"","Type":"COMPANY","VATNumber":"","VATType":"SEVAT","VisitingAddress":null,"VisitingCity":null,"VisitingCountry":null,"VisitingCountryCode":null,"VisitingZipCode":null,"WayOfDelivery":"","WWW":"","YourReference":"","ZipCode":null}}'
57
- http_version:
58
- recorded_at: Mon, 21 Dec 2020 20:34:25 GMT
59
- recorded_with: VCR 4.0.0
64
+ recorded_at: Mon, 22 Jan 2024 14:52:50 GMT
65
+ 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/customers/231
5
+ uri: https://api.fortnox.se/3/customers/246
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
- Server:
28
- - nginx
29
- Date:
30
- - Mon, 21 Dec 2020 20:34:24 GMT
27
+ Content-Length:
28
+ - '1437'
31
29
  Content-Type:
32
30
  - application/json
33
- Connection:
34
- - close
31
+ Date:
32
+ - Mon, 22 Jan 2024 14:52:50 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
- - '72'
40
+ - '56'
39
41
  X-Uid:
40
- - ecfe45bf
41
- X-Build:
42
- - d59e2acefa
43
- Strict-Transport-Security:
44
- - max-age=31536000; includeSubdomains
45
- X-Xss-Protection:
46
- - 1; mode=block
42
+ - 9ec19fef
43
+ Server:
44
+ - Fortnox
47
45
  X-Content-Type-Options:
48
46
  - nosniff
49
- X-Frame-Options:
50
- - sameorigin
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: '{"Customer":{"@url":"https:\/\/api.fortnox.se\/3\/customers\/231","Address1":null,"Address2":null,"City":null,"Country":null,"Comments":null,"Currency":"SEK","CostCenter":null,"CountryCode":null,"Active":true,"CustomerNumber":"231","DefaultDeliveryTypes":{"Invoice":"PRINT","Order":"PRINT","Offer":"PRINT"},"DefaultTemplates":{"Order":"DEFAULTTEMPLATE","Offer":"DEFAULTTEMPLATE","Invoice":"DEFAULTTEMPLATE","CashInvoice":"DEFAULTTEMPLATE"},"DeliveryAddress1":null,"DeliveryAddress2":null,"DeliveryCity":null,"DeliveryCountry":null,"DeliveryCountryCode":null,"DeliveryFax":null,"DeliveryName":null,"DeliveryPhone1":null,"DeliveryPhone2":null,"DeliveryZipCode":null,"Email":"","EmailInvoice":"","EmailInvoiceBCC":"","EmailInvoiceCC":"","EmailOffer":"","EmailOfferBCC":"","EmailOfferCC":"","EmailOrder":"","EmailOrderBCC":"","EmailOrderCC":"","ExternalReference":null,"Fax":null,"GLN":null,"GLNDelivery":null,"InvoiceAdministrationFee":null,"InvoiceDiscount":null,"InvoiceFreight":null,"InvoiceRemark":"","Name":"A
62
+ string: '{"Customer":{"@url":"https:\/\/api.fortnox.se\/3\/customers\/246","Address1":null,"Address2":null,"City":null,"Country":null,"Comments":null,"Currency":"SEK","CostCenter":null,"CountryCode":null,"Active":true,"CustomerNumber":"246","DefaultDeliveryTypes":{"Invoice":"PRINT","Order":"PRINT","Offer":"PRINT"},"DefaultTemplates":{"Order":"DEFAULTTEMPLATE","Offer":"DEFAULTTEMPLATE","Invoice":"DEFAULTTEMPLATE","CashInvoice":"DEFAULTTEMPLATE"},"DeliveryAddress1":null,"DeliveryAddress2":null,"DeliveryCity":null,"DeliveryCountry":null,"DeliveryCountryCode":null,"DeliveryFax":null,"DeliveryName":null,"DeliveryPhone1":null,"DeliveryPhone2":null,"DeliveryZipCode":null,"Email":"","EmailInvoice":"","EmailInvoiceBCC":"","EmailInvoiceCC":"","EmailOffer":"","EmailOfferBCC":"","EmailOfferCC":"","EmailOrder":"","EmailOrderBCC":"","EmailOrderCC":"","ExternalReference":null,"Fax":null,"GLN":null,"GLNDelivery":null,"InvoiceAdministrationFee":null,"InvoiceDiscount":null,"InvoiceFreight":null,"InvoiceRemark":"","Name":"A
56
63
  value","OrganisationNumber":"","OurReference":"","Phone1":null,"Phone2":null,"PriceList":"A","Project":"","SalesAccount":null,"ShowPriceVATIncluded":false,"TermsOfDelivery":"","TermsOfPayment":"","Type":"COMPANY","VATNumber":"","VATType":"SEVAT","VisitingAddress":null,"VisitingCity":null,"VisitingCountry":null,"VisitingCountryCode":null,"VisitingZipCode":null,"WayOfDelivery":"","WWW":"","YourReference":"","ZipCode":null}}'
57
- http_version:
58
- recorded_at: Mon, 21 Dec 2020 20:34:24 GMT
59
- recorded_with: VCR 4.0.0
64
+ recorded_at: Mon, 22 Jan 2024 14:52:49 GMT
65
+ recorded_with: VCR 6.2.0
@@ -24,36 +24,42 @@ http_interactions:
24
24
  code: 200
25
25
  message: OK
26
26
  headers:
27
- Server:
28
- - nginx
29
- Date:
30
- - Mon, 21 Dec 2020 20:34:25 GMT
27
+ Content-Length:
28
+ - '303'
31
29
  Content-Type:
32
30
  - application/json
33
- Connection:
34
- - close
31
+ Date:
32
+ - Mon, 22 Jan 2024 14:52:51 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
- - '16'
40
+ - '82'
39
41
  X-Uid:
40
- - 59113dcf
41
- X-Build:
42
- - d59e2acefa
43
- Strict-Transport-Security:
44
- - max-age=31536000; includeSubdomains
45
- X-Xss-Protection:
46
- - 1; mode=block
42
+ - ce0751a3
43
+ Server:
44
+ - Fortnox
47
45
  X-Content-Type-Options:
48
46
  - nosniff
49
- X-Frame-Options:
50
- - sameorigin
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},"Customers":[{"@url":"https:\/\/api.fortnox.se\/3\/customers\/2","Address1":"","Address2":"","City":"New
56
63
  York","CustomerNumber":"2","Email":"","Name":"A customer","OrganisationNumber":"600102-7447","Phone":"","ZipCode":"10001"}]}'
57
- http_version:
58
- recorded_at: Mon, 21 Dec 2020 20:34:25 GMT
59
- recorded_with: VCR 4.0.0
64
+ recorded_at: Mon, 22 Jan 2024 14:52:50 GMT
65
+ recorded_with: VCR 6.2.0
@@ -24,36 +24,42 @@ http_interactions:
24
24
  code: 201
25
25
  message: Created
26
26
  headers:
27
- Server:
28
- - nginx
29
- Date:
30
- - Mon, 21 Dec 2020 20:34:24 GMT
27
+ Content-Length:
28
+ - '1437'
31
29
  Content-Type:
32
30
  - application/json
33
- Connection:
34
- - close
31
+ Date:
32
+ - Mon, 22 Jan 2024 14:52:49 GMT
35
33
  Location:
36
34
  - customers
35
+ X-Build:
36
+ - 9dd4e26746
37
+ X-Frame-Options:
38
+ - sameorigin
37
39
  X-Rack-Responsetime:
38
- - '351'
40
+ - '128'
39
41
  X-Uid:
40
- - f1395f68
41
- X-Build:
42
- - d59e2acefa
43
- Strict-Transport-Security:
44
- - max-age=31536000; includeSubdomains
45
- X-Xss-Protection:
46
- - 1; mode=block
42
+ - e14c4492
43
+ Server:
44
+ - Fortnox
47
45
  X-Content-Type-Options:
48
46
  - nosniff
49
- X-Frame-Options:
50
- - sameorigin
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: UTF-8
55
- string: '{"Customer":{"@url":"https:\/\/api.fortnox.se\/3\/customers\/231","Address1":null,"Address2":null,"City":null,"Country":null,"Comments":null,"Currency":"SEK","CostCenter":null,"CountryCode":null,"Active":true,"CustomerNumber":"231","DefaultDeliveryTypes":{"Invoice":"PRINT","Order":"PRINT","Offer":"PRINT"},"DefaultTemplates":{"Order":"DEFAULTTEMPLATE","Offer":"DEFAULTTEMPLATE","Invoice":"DEFAULTTEMPLATE","CashInvoice":"DEFAULTTEMPLATE"},"DeliveryAddress1":null,"DeliveryAddress2":null,"DeliveryCity":null,"DeliveryCountry":null,"DeliveryCountryCode":null,"DeliveryFax":null,"DeliveryName":null,"DeliveryPhone1":null,"DeliveryPhone2":null,"DeliveryZipCode":null,"Email":"","EmailInvoice":"","EmailInvoiceBCC":"","EmailInvoiceCC":"","EmailOffer":"","EmailOfferBCC":"","EmailOfferCC":"","EmailOrder":"","EmailOrderBCC":"","EmailOrderCC":"","ExternalReference":null,"Fax":null,"GLN":null,"GLNDelivery":null,"InvoiceAdministrationFee":null,"InvoiceDiscount":null,"InvoiceFreight":null,"InvoiceRemark":"","Name":"A
62
+ string: '{"Customer":{"@url":"https:\/\/api.fortnox.se\/3\/customers\/246","Address1":null,"Address2":null,"City":null,"Country":null,"Comments":null,"Currency":"SEK","CostCenter":null,"CountryCode":null,"Active":true,"CustomerNumber":"246","DefaultDeliveryTypes":{"Invoice":"PRINT","Order":"PRINT","Offer":"PRINT"},"DefaultTemplates":{"Order":"DEFAULTTEMPLATE","Offer":"DEFAULTTEMPLATE","Invoice":"DEFAULTTEMPLATE","CashInvoice":"DEFAULTTEMPLATE"},"DeliveryAddress1":null,"DeliveryAddress2":null,"DeliveryCity":null,"DeliveryCountry":null,"DeliveryCountryCode":null,"DeliveryFax":null,"DeliveryName":null,"DeliveryPhone1":null,"DeliveryPhone2":null,"DeliveryZipCode":null,"Email":"","EmailInvoice":"","EmailInvoiceBCC":"","EmailInvoiceCC":"","EmailOffer":"","EmailOfferBCC":"","EmailOfferCC":"","EmailOrder":"","EmailOrderBCC":"","EmailOrderCC":"","ExternalReference":null,"Fax":null,"GLN":null,"GLNDelivery":null,"InvoiceAdministrationFee":null,"InvoiceDiscount":null,"InvoiceFreight":null,"InvoiceRemark":"","Name":"A
56
63
  value","OrganisationNumber":"","OurReference":"","Phone1":null,"Phone2":null,"PriceList":"A","Project":"","SalesAccount":null,"ShowPriceVATIncluded":false,"TermsOfDelivery":"","TermsOfPayment":"","Type":"COMPANY","VATNumber":"","VATType":"SEVAT","VisitingAddress":null,"VisitingCity":null,"VisitingCountry":null,"VisitingCountryCode":null,"VisitingZipCode":null,"WayOfDelivery":"","WWW":"","YourReference":"","ZipCode":null}}'
57
- http_version:
58
- recorded_at: Mon, 21 Dec 2020 20:34:24 GMT
59
- recorded_with: VCR 4.0.0
64
+ recorded_at: Mon, 22 Jan 2024 14:52:49 GMT
65
+ recorded_with: VCR 6.2.0
@@ -25,36 +25,42 @@ http_interactions:
25
25
  code: 201
26
26
  message: Created
27
27
  headers:
28
- Server:
29
- - nginx
30
- Date:
31
- - Mon, 21 Dec 2020 20:34:25 GMT
28
+ Content-Length:
29
+ - '1469'
32
30
  Content-Type:
33
31
  - application/json
34
- Connection:
35
- - close
32
+ Date:
33
+ - Mon, 22 Jan 2024 14:52:51 GMT
36
34
  Location:
37
35
  - customers
36
+ X-Build:
37
+ - 9dd4e26746
38
+ X-Frame-Options:
39
+ - sameorigin
38
40
  X-Rack-Responsetime:
39
- - '49'
41
+ - '99'
40
42
  X-Uid:
41
- - 52ec5e8c
42
- X-Build:
43
- - d59e2acefa
44
- Strict-Transport-Security:
45
- - max-age=31536000; includeSubdomains
46
- X-Xss-Protection:
47
- - 1; mode=block
43
+ - 27a7106c
44
+ Server:
45
+ - Fortnox
48
46
  X-Content-Type-Options:
49
47
  - nosniff
50
- X-Frame-Options:
51
- - sameorigin
48
+ X-Xss-Protection:
49
+ - '0'
52
50
  Referrer-Policy:
53
51
  - strict-origin-when-cross-origin
52
+ Content-Security-Policy:
53
+ - 'upgrade-insecure-requests;frame-ancestors https://*.fortnox.se;report-uri
54
+ /api/cspreport;connect-src ''self'' https://a.storyblok.com wss://*.fortnox.se
55
+ *.fortnox.se *.findity.com mybusiness.pwc.se themes.googleusercontent.com
56
+ s3.amazonaws.com/helpjuice-static/ *.helpjuice.com *.vimeo.com fonts.googleapis.com
57
+ fonts.gstatic.com fortnox.piwik.pro api.cling.se wss://api.cling.se ''unsafe-inline''
58
+ ''unsafe-eval'' blob: data:'
59
+ Strict-Transport-Security:
60
+ - max-age=31536000; includeSubdomains
54
61
  body:
55
62
  encoding: UTF-8
56
- string: '{"Customer":{"@url":"https:\/\/api.fortnox.se\/3\/customers\/233","Address1":null,"Address2":null,"City":null,"Country":"Sverige","Comments":null,"Currency":"SEK","CostCenter":null,"CountryCode":"SE","Active":true,"CustomerNumber":"233","DefaultDeliveryTypes":{"Invoice":"PRINT","Order":"PRINT","Offer":"PRINT"},"DefaultTemplates":{"Order":"DEFAULTTEMPLATE","Offer":"DEFAULTTEMPLATE","Invoice":"DEFAULTTEMPLATE","CashInvoice":"DEFAULTTEMPLATE"},"DeliveryAddress1":null,"DeliveryAddress2":null,"DeliveryCity":null,"DeliveryCountry":null,"DeliveryCountryCode":null,"DeliveryFax":null,"DeliveryName":null,"DeliveryPhone1":null,"DeliveryPhone2":null,"DeliveryZipCode":null,"Email":"","EmailInvoice":"","EmailInvoiceBCC":"","EmailInvoiceCC":"","EmailOffer":"","EmailOfferBCC":"","EmailOfferCC":"","EmailOrder":"","EmailOrderBCC":"","EmailOrderCC":"","ExternalReference":null,"Fax":null,"GLN":null,"GLNDelivery":null,"InvoiceAdministrationFee":null,"InvoiceDiscount":null,"InvoiceFreight":null,"InvoiceRemark":"","Name":"Customer
63
+ string: '{"Customer":{"@url":"https:\/\/api.fortnox.se\/3\/customers\/248","Address1":null,"Address2":null,"City":null,"Country":"Sverige","Comments":null,"Currency":"SEK","CostCenter":null,"CountryCode":"SE","Active":true,"CustomerNumber":"248","DefaultDeliveryTypes":{"Invoice":"PRINT","Order":"PRINT","Offer":"PRINT"},"DefaultTemplates":{"Order":"DEFAULTTEMPLATE","Offer":"DEFAULTTEMPLATE","Invoice":"DEFAULTTEMPLATE","CashInvoice":"DEFAULTTEMPLATE"},"DeliveryAddress1":null,"DeliveryAddress2":null,"DeliveryCity":null,"DeliveryCountry":null,"DeliveryCountryCode":null,"DeliveryFax":null,"DeliveryName":null,"DeliveryPhone1":null,"DeliveryPhone2":null,"DeliveryZipCode":null,"Email":"","EmailInvoice":"","EmailInvoiceBCC":"","EmailInvoiceCC":"","EmailOffer":"","EmailOfferBCC":"","EmailOfferCC":"","EmailOrder":"","EmailOrderBCC":"","EmailOrderCC":"","ExternalReference":null,"Fax":null,"GLN":null,"GLNDelivery":null,"InvoiceAdministrationFee":null,"InvoiceDiscount":null,"InvoiceFreight":null,"InvoiceRemark":"","Name":"Customer
57
64
  with Swedish country code","OrganisationNumber":"","OurReference":"","Phone1":null,"Phone2":null,"PriceList":"A","Project":"","SalesAccount":null,"ShowPriceVATIncluded":false,"TermsOfDelivery":"","TermsOfPayment":"","Type":"COMPANY","VATNumber":"","VATType":"SEVAT","VisitingAddress":null,"VisitingCity":null,"VisitingCountry":null,"VisitingCountryCode":null,"VisitingZipCode":null,"WayOfDelivery":"","WWW":"","YourReference":"","ZipCode":null}}'
58
- http_version:
59
- recorded_at: Mon, 21 Dec 2020 20:34:25 GMT
60
- recorded_with: VCR 4.0.0
65
+ recorded_at: Mon, 22 Jan 2024 14:52:51 GMT
66
+ recorded_with: VCR 6.2.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: put
5
- uri: https://api.fortnox.se/3/customers/231
5
+ uri: https://api.fortnox.se/3/customers/246
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"Customer":{"Name":"Updated name"}}'
@@ -24,36 +24,42 @@ http_interactions:
24
24
  code: 200
25
25
  message: OK
26
26
  headers:
27
- Server:
28
- - nginx
29
- Date:
30
- - Mon, 21 Dec 2020 20:34:24 GMT
27
+ Content-Length:
28
+ - '1442'
31
29
  Content-Type:
32
30
  - application/json
33
- Connection:
34
- - close
31
+ Date:
32
+ - Mon, 22 Jan 2024 14:52:50 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
- - '93'
40
+ - '133'
39
41
  X-Uid:
40
- - 48f33edb
41
- X-Build:
42
- - d59e2acefa
43
- Strict-Transport-Security:
44
- - max-age=31536000; includeSubdomains
45
- X-Xss-Protection:
46
- - 1; mode=block
42
+ - 62ad1cf4
43
+ Server:
44
+ - Fortnox
47
45
  X-Content-Type-Options:
48
46
  - nosniff
49
- X-Frame-Options:
50
- - sameorigin
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: '{"Customer":{"@url":"https:\/\/api.fortnox.se\/3\/customers\/231","Address1":null,"Address2":null,"City":null,"Country":null,"Comments":null,"Currency":"SEK","CostCenter":null,"CountryCode":null,"Active":true,"CustomerNumber":"231","DefaultDeliveryTypes":{"Invoice":"PRINT","Order":"PRINT","Offer":"PRINT"},"DefaultTemplates":{"Order":"DEFAULTTEMPLATE","Offer":"DEFAULTTEMPLATE","Invoice":"DEFAULTTEMPLATE","CashInvoice":"DEFAULTTEMPLATE"},"DeliveryAddress1":null,"DeliveryAddress2":null,"DeliveryCity":null,"DeliveryCountry":null,"DeliveryCountryCode":null,"DeliveryFax":null,"DeliveryName":null,"DeliveryPhone1":null,"DeliveryPhone2":null,"DeliveryZipCode":null,"Email":"","EmailInvoice":"","EmailInvoiceBCC":"","EmailInvoiceCC":"","EmailOffer":"","EmailOfferBCC":"","EmailOfferCC":"","EmailOrder":"","EmailOrderBCC":"","EmailOrderCC":"","ExternalReference":null,"Fax":null,"GLN":null,"GLNDelivery":null,"InvoiceAdministrationFee":null,"InvoiceDiscount":null,"InvoiceFreight":null,"InvoiceRemark":"","Name":"Updated
62
+ string: '{"Customer":{"@url":"https:\/\/api.fortnox.se\/3\/customers\/246","Address1":null,"Address2":null,"City":null,"Country":null,"Comments":null,"Currency":"SEK","CostCenter":null,"CountryCode":null,"Active":true,"CustomerNumber":"246","DefaultDeliveryTypes":{"Invoice":"PRINT","Order":"PRINT","Offer":"PRINT"},"DefaultTemplates":{"Order":"DEFAULTTEMPLATE","Offer":"DEFAULTTEMPLATE","Invoice":"DEFAULTTEMPLATE","CashInvoice":"DEFAULTTEMPLATE"},"DeliveryAddress1":null,"DeliveryAddress2":null,"DeliveryCity":null,"DeliveryCountry":null,"DeliveryCountryCode":null,"DeliveryFax":null,"DeliveryName":null,"DeliveryPhone1":null,"DeliveryPhone2":null,"DeliveryZipCode":null,"Email":"","EmailInvoice":"","EmailInvoiceBCC":"","EmailInvoiceCC":"","EmailOffer":"","EmailOfferBCC":"","EmailOfferCC":"","EmailOrder":"","EmailOrderBCC":"","EmailOrderCC":"","ExternalReference":null,"Fax":null,"GLN":null,"GLNDelivery":null,"InvoiceAdministrationFee":null,"InvoiceDiscount":null,"InvoiceFreight":null,"InvoiceRemark":"","Name":"Updated
56
63
  name","OrganisationNumber":"","OurReference":"","Phone1":null,"Phone2":null,"PriceList":"A","Project":"","SalesAccount":null,"ShowPriceVATIncluded":false,"TermsOfDelivery":"","TermsOfPayment":"","Type":"COMPANY","VATNumber":"","VATType":"SEVAT","VisitingAddress":null,"VisitingCity":null,"VisitingCountry":null,"VisitingCountryCode":null,"VisitingZipCode":null,"WayOfDelivery":"","WWW":"","YourReference":"","ZipCode":null}}'
57
- http_version:
58
- recorded_at: Mon, 21 Dec 2020 20:34:24 GMT
59
- recorded_with: VCR 4.0.0
64
+ recorded_at: Mon, 22 Jan 2024 14:52:50 GMT
65
+ recorded_with: VCR 6.2.0
@@ -24,36 +24,42 @@ http_interactions:
24
24
  code: 201
25
25
  message: Created
26
26
  headers:
27
- Server:
28
- - nginx
29
- Date:
30
- - Mon, 21 Dec 2020 20:34:24 GMT
27
+ Content-Length:
28
+ - '1459'
31
29
  Content-Type:
32
30
  - application/json
33
- Connection:
34
- - close
31
+ Date:
32
+ - Mon, 22 Jan 2024 14:52:50 GMT
35
33
  Location:
36
34
  - customers
35
+ X-Build:
36
+ - 9dd4e26746
37
+ X-Frame-Options:
38
+ - sameorigin
37
39
  X-Rack-Responsetime:
38
- - '37'
40
+ - '110'
39
41
  X-Uid:
40
- - 02a76035
41
- X-Build:
42
- - d59e2acefa
43
- Strict-Transport-Security:
44
- - max-age=31536000; includeSubdomains
45
- X-Xss-Protection:
46
- - 1; mode=block
42
+ - 68d61983
43
+ Server:
44
+ - Fortnox
47
45
  X-Content-Type-Options:
48
46
  - nosniff
49
- X-Frame-Options:
50
- - sameorigin
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: UTF-8
55
- string: '{"Customer":{"@url":"https:\/\/api.fortnox.se\/3\/customers\/232","Address1":null,"Address2":null,"City":null,"Country":null,"Comments":null,"Currency":"SEK","CostCenter":null,"CountryCode":null,"Active":true,"CustomerNumber":"232","DefaultDeliveryTypes":{"Invoice":"PRINT","Order":"PRINT","Offer":"PRINT"},"DefaultTemplates":{"Order":"DEFAULTTEMPLATE","Offer":"DEFAULTTEMPLATE","Invoice":"DEFAULTTEMPLATE","CashInvoice":"DEFAULTTEMPLATE"},"DeliveryAddress1":null,"DeliveryAddress2":null,"DeliveryCity":null,"DeliveryCountry":null,"DeliveryCountryCode":null,"DeliveryFax":null,"DeliveryName":null,"DeliveryPhone1":null,"DeliveryPhone2":null,"DeliveryZipCode":null,"Email":"","EmailInvoice":"","EmailInvoiceBCC":"","EmailInvoiceCC":"test@example.com","EmailOffer":"","EmailOfferBCC":"","EmailOfferCC":"","EmailOrder":"","EmailOrderBCC":"","EmailOrderCC":"","ExternalReference":null,"Fax":null,"GLN":null,"GLNDelivery":null,"InvoiceAdministrationFee":null,"InvoiceDiscount":null,"InvoiceFreight":null,"InvoiceRemark":"","Name":"Test
62
+ string: '{"Customer":{"@url":"https:\/\/api.fortnox.se\/3\/customers\/247","Address1":null,"Address2":null,"City":null,"Country":null,"Comments":null,"Currency":"SEK","CostCenter":null,"CountryCode":null,"Active":true,"CustomerNumber":"247","DefaultDeliveryTypes":{"Invoice":"PRINT","Order":"PRINT","Offer":"PRINT"},"DefaultTemplates":{"Order":"DEFAULTTEMPLATE","Offer":"DEFAULTTEMPLATE","Invoice":"DEFAULTTEMPLATE","CashInvoice":"DEFAULTTEMPLATE"},"DeliveryAddress1":null,"DeliveryAddress2":null,"DeliveryCity":null,"DeliveryCountry":null,"DeliveryCountryCode":null,"DeliveryFax":null,"DeliveryName":null,"DeliveryPhone1":null,"DeliveryPhone2":null,"DeliveryZipCode":null,"Email":"","EmailInvoice":"","EmailInvoiceBCC":"","EmailInvoiceCC":"test@example.com","EmailOffer":"","EmailOfferBCC":"","EmailOfferCC":"","EmailOrder":"","EmailOrderBCC":"","EmailOrderCC":"","ExternalReference":null,"Fax":null,"GLN":null,"GLNDelivery":null,"InvoiceAdministrationFee":null,"InvoiceDiscount":null,"InvoiceFreight":null,"InvoiceRemark":"","Name":"Test
56
63
  customer","OrganisationNumber":"","OurReference":"","Phone1":null,"Phone2":null,"PriceList":"A","Project":"","SalesAccount":null,"ShowPriceVATIncluded":false,"TermsOfDelivery":"","TermsOfPayment":"","Type":"COMPANY","VATNumber":"","VATType":"SEVAT","VisitingAddress":null,"VisitingCity":null,"VisitingCountry":null,"VisitingCountryCode":null,"VisitingZipCode":null,"WayOfDelivery":"","WWW":"","YourReference":"","ZipCode":null}}'
57
- http_version:
58
- recorded_at: Mon, 21 Dec 2020 20:34:24 GMT
59
- recorded_with: VCR 4.0.0
64
+ recorded_at: Mon, 22 Jan 2024 14:52:50 GMT
65
+ recorded_with: VCR 6.2.0
@@ -24,35 +24,42 @@ http_interactions:
24
24
  code: 200
25
25
  message: OK
26
26
  headers:
27
- Server:
28
- - nginx
29
- Date:
30
- - Mon, 21 Dec 2020 20:34:25 GMT
27
+ Content-Length:
28
+ - '6891'
31
29
  Content-Type:
32
30
  - application/json
33
- Connection:
34
- - close
31
+ Date:
32
+ - Mon, 22 Jan 2024 14:52:51 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
- - '17'
40
+ - '48'
39
41
  X-Uid:
40
- - eddb1149
41
- X-Build:
42
- - d59e2acefa
43
- Strict-Transport-Security:
44
- - max-age=31536000; includeSubdomains
45
- X-Xss-Protection:
46
- - 1; mode=block
42
+ - a650a2f2
43
+ Server:
44
+ - Fortnox
47
45
  X-Content-Type-Options:
48
46
  - nosniff
49
- X-Frame-Options:
50
- - sameorigin
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":31,"@TotalPages":1,"@CurrentPage":1},"Customers":[{"@url":"https:\/\/api.fortnox.se\/3\/customers\/3","Address1":"","Address2":"","City":"New
62
+ string: '{"MetaInformation":{"@TotalResources":33,"@TotalPages":1,"@CurrentPage":1},"Customers":[{"@url":"https:\/\/api.fortnox.se\/3\/customers\/3","Address1":"","Address2":"","City":"New
56
63
  York","CustomerNumber":"3","Email":"","Name":"Test customer","OrganisationNumber":"400101-8383","Phone":"","ZipCode":""},{"@url":"https:\/\/api.fortnox.se\/3\/customers\/93","Address1":"testgatan
57
64
  6","Address2":"","City":"teststan","CustomerNumber":"93","Email":"","Name":"tester","OrganisationNumber":"","Phone":"","ZipCode":"414141"},{"@url":"https:\/\/api.fortnox.se\/3\/customers\/94","Address1":"","Address2":"","City":"1414141","CustomerNumber":"94","Email":"","Name":"test12313","OrganisationNumber":"","Phone":"","ZipCode":"1414141"},{"@url":"https:\/\/api.fortnox.se\/3\/customers\/95","Address1":"test","Address2":"","City":"teststan","CustomerNumber":"95","Email":"","Name":"test
58
65
  kund utland","OrganisationNumber":"","Phone":"","ZipCode":"12314"},{"@url":"https:\/\/api.fortnox.se\/3\/customers\/96","Address1":"","Address2":"","City":"","CustomerNumber":"96","Email":"test@email.com","Name":"test123133","OrganisationNumber":"","Phone":"13132141","ZipCode":""},{"@url":"https:\/\/api.fortnox.se\/3\/customers\/97","Address1":"","Address2":"","City":"","CustomerNumber":"97","Email":"test@testarn.com","Name":"testata","OrganisationNumber":"","Phone":"0987654","ZipCode":""},{"@url":"https:\/\/api.fortnox.se\/3\/customers\/98","Address1":"","Address2":"","City":"","CustomerNumber":"98","Email":"test@email.com","Name":"test1231331","OrganisationNumber":"","Phone":"+1313131","ZipCode":""},{"@url":"https:\/\/api.fortnox.se\/3\/customers\/99","Address1":"testgatan
@@ -82,7 +89,8 @@ http_interactions:
82
89
  Hassan Ahmed test","OrganisationNumber":"19700110-2222","Phone":"","ZipCode":"53392"},{"@url":"https:\/\/api.fortnox.se\/3\/customers\/227","Address1":"","Address2":"","City":"","CustomerNumber":"227","Email":"","Name":"Test
83
90
  customer","OrganisationNumber":"","Phone":"","ZipCode":""},{"@url":"https:\/\/api.fortnox.se\/3\/customers\/229","Address1":"","Address2":"","City":"","CustomerNumber":"229","Email":"","Name":"Test
84
91
  customer","OrganisationNumber":"","Phone":"","ZipCode":""},{"@url":"https:\/\/api.fortnox.se\/3\/customers\/232","Address1":"","Address2":"","City":"","CustomerNumber":"232","Email":"","Name":"Test
92
+ customer","OrganisationNumber":"","Phone":"","ZipCode":""},{"@url":"https:\/\/api.fortnox.se\/3\/customers\/244","Address1":"","Address2":"","City":"","CustomerNumber":"244","Email":"","Name":"Test
93
+ customer","OrganisationNumber":"","Phone":"","ZipCode":""},{"@url":"https:\/\/api.fortnox.se\/3\/customers\/247","Address1":"","Address2":"","City":"","CustomerNumber":"247","Email":"","Name":"Test
85
94
  customer","OrganisationNumber":"","Phone":"","ZipCode":""}]}'
86
- http_version:
87
- recorded_at: Mon, 21 Dec 2020 20:34:25 GMT
88
- recorded_with: VCR 4.0.0
95
+ recorded_at: Mon, 22 Jan 2024 14:52:51 GMT
96
+ recorded_with: VCR 6.2.0