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.
- checksums.yaml +4 -4
- data/.codeclimate.yml +1 -0
- data/.rubocop.yml +1 -1
- data/.tool-versions +1 -0
- data/.travis.yml +5 -10
- data/CHANGELOG.md +45 -1
- data/README.md +7 -4
- data/Rakefile +5 -0
- data/fortnox-api.gemspec +22 -17
- data/lib/fortnox/api/mappers/article.rb +1 -1
- data/lib/fortnox/api/mappers/base/from_json.rb +3 -3
- data/lib/fortnox/api/mappers/base/to_json.rb +2 -2
- data/lib/fortnox/api/mappers/base.rb +3 -3
- data/lib/fortnox/api/mappers/customer.rb +1 -1
- data/lib/fortnox/api/mappers/default_delivery_types.rb +1 -1
- data/lib/fortnox/api/mappers/default_templates.rb +1 -1
- data/lib/fortnox/api/mappers/edi_information.rb +1 -1
- data/lib/fortnox/api/mappers/email_information.rb +1 -1
- data/lib/fortnox/api/mappers/invoice.rb +4 -4
- data/lib/fortnox/api/mappers/invoice_row.rb +1 -1
- data/lib/fortnox/api/mappers/order.rb +4 -4
- data/lib/fortnox/api/mappers/order_row.rb +1 -1
- data/lib/fortnox/api/mappers/project.rb +1 -1
- data/lib/fortnox/api/mappers/terms_of_payment.rb +1 -1
- data/lib/fortnox/api/mappers/unit.rb +1 -1
- data/lib/fortnox/api/mappers/value/country_string.rb +1 -1
- data/lib/fortnox/api/mappers.rb +18 -18
- data/lib/fortnox/api/models/article.rb +2 -2
- data/lib/fortnox/api/models/base.rb +14 -14
- data/lib/fortnox/api/models/customer.rb +2 -2
- data/lib/fortnox/api/models/document.rb +5 -2
- data/lib/fortnox/api/models/invoice.rb +2 -2
- data/lib/fortnox/api/models/label.rb +1 -1
- data/lib/fortnox/api/models/order.rb +2 -2
- data/lib/fortnox/api/models/project.rb +2 -2
- data/lib/fortnox/api/models/terms_of_payment.rb +2 -2
- data/lib/fortnox/api/models/unit.rb +2 -2
- data/lib/fortnox/api/models.rb +7 -7
- data/lib/fortnox/api/repositories/article.rb +3 -3
- data/lib/fortnox/api/repositories/base.rb +4 -3
- data/lib/fortnox/api/repositories/customer.rb +3 -3
- data/lib/fortnox/api/repositories/invoice.rb +3 -3
- data/lib/fortnox/api/repositories/order.rb +3 -3
- data/lib/fortnox/api/repositories/project.rb +3 -3
- data/lib/fortnox/api/repositories/terms_of_payment.rb +3 -3
- data/lib/fortnox/api/repositories/unit.rb +3 -3
- data/lib/fortnox/api/repositories.rb +7 -7
- data/lib/fortnox/api/types/default_delivery_types.rb +0 -2
- data/lib/fortnox/api/types/default_templates.rb +0 -2
- data/lib/fortnox/api/types/edi_information.rb +0 -2
- data/lib/fortnox/api/types/email_information.rb +0 -2
- data/lib/fortnox/api/types/enums.rb +36 -8
- data/lib/fortnox/api/types/invoice_row.rb +1 -1
- data/lib/fortnox/api/types/model.rb +4 -6
- data/lib/fortnox/api/types/nullable.rb +13 -9
- data/lib/fortnox/api/types/order_row.rb +1 -1
- data/lib/fortnox/api/types/required.rb +3 -3
- data/lib/fortnox/api/types/sized.rb +2 -2
- data/lib/fortnox/api/types.rb +23 -23
- data/lib/fortnox/api/version.rb +1 -1
- data/lib/fortnox/api.rb +18 -16
- data/spec/fortnox/api/circular_queue_spec.rb +3 -3
- data/spec/fortnox/api/mappers/base/canonical_name_sym_spec.rb +9 -7
- data/spec/fortnox/api/mappers/default_delivery_types_spec.rb +1 -1
- data/spec/fortnox/api/mappers/examples/mapper.rb +1 -1
- data/spec/fortnox/api/models/base_spec.rb +8 -8
- data/spec/fortnox/api/repositories/article_spec.rb +2 -2
- data/spec/fortnox/api/repositories/base_spec.rb +4 -12
- data/spec/fortnox/api/repositories/customer_spec.rb +1 -1
- data/spec/fortnox/api/repositories/invoice_spec.rb +13 -19
- data/spec/fortnox/api/repositories/project_spec.rb +1 -1
- data/spec/fortnox/api/repositories/terms_of_payment_spec.rb +2 -2
- data/spec/fortnox/api/repositories/unit_spec.rb +3 -3
- data/spec/fortnox/api/types/enums_spec.rb +1 -0
- data/spec/fortnox/api/types/housework_types_spec.rb +122 -34
- data/spec/fortnox/api/types/model_spec.rb +11 -17
- data/spec/fortnox/api/types/nullable_spec.rb +30 -10
- data/spec/fortnox/api/types/required_spec.rb +1 -4
- data/spec/support/matchers/type/enum_matcher.rb +1 -1
- data/spec/support/matchers/type/have_account_number_matcher.rb +1 -1
- data/spec/support/matchers/type/have_email_matcher.rb +1 -1
- data/spec/support/matchers/type/have_nullable_date_matcher.rb +5 -5
- data/spec/support/matchers/type/have_nullable_string_matcher.rb +3 -3
- data/spec/vcr_cassettes/articles/all.yml +43 -17
- data/spec/vcr_cassettes/articles/find_by_hash_failure.yml +34 -15
- data/spec/vcr_cassettes/articles/find_failure.yml +34 -15
- data/spec/vcr_cassettes/articles/find_id_1.yml +35 -16
- data/spec/vcr_cassettes/articles/find_new.yml +37 -18
- data/spec/vcr_cassettes/articles/multi_param_find_by_hash.yml +34 -15
- data/spec/vcr_cassettes/articles/save_new.yml +35 -15
- data/spec/vcr_cassettes/articles/save_old.yml +37 -18
- data/spec/vcr_cassettes/articles/save_with_specially_named_attribute.yml +35 -15
- data/spec/vcr_cassettes/articles/search_by_name.yml +34 -15
- data/spec/vcr_cassettes/articles/search_miss.yml +34 -15
- data/spec/vcr_cassettes/articles/search_with_special_char.yml +34 -15
- data/spec/vcr_cassettes/articles/single_param_find_by_hash.yml +38 -18
- data/spec/vcr_cassettes/customers/all.yml +36 -17
- data/spec/vcr_cassettes/customers/find_by_hash_failure.yml +34 -15
- data/spec/vcr_cassettes/customers/find_failure.yml +34 -15
- data/spec/vcr_cassettes/customers/find_id_1.yml +34 -15
- data/spec/vcr_cassettes/customers/find_new.yml +36 -17
- data/spec/vcr_cassettes/customers/multi_param_find_by_hash.yml +34 -15
- data/spec/vcr_cassettes/customers/save_new.yml +34 -14
- data/spec/vcr_cassettes/customers/save_new_with_country_code_SE.yml +30 -20
- data/spec/vcr_cassettes/customers/save_old.yml +36 -17
- data/spec/vcr_cassettes/customers/save_with_specially_named_attribute.yml +34 -14
- data/spec/vcr_cassettes/customers/search_by_name.yml +38 -16
- data/spec/vcr_cassettes/customers/search_miss.yml +34 -15
- data/spec/vcr_cassettes/customers/search_with_special_char.yml +34 -15
- data/spec/vcr_cassettes/customers/single_param_find_by_hash.yml +34 -15
- data/spec/vcr_cassettes/invoices/all.yml +39 -17
- data/spec/vcr_cassettes/invoices/filter_hit.yml +34 -15
- data/spec/vcr_cassettes/invoices/filter_invalid.yml +33 -13
- data/spec/vcr_cassettes/invoices/find_by_hash_failure.yml +34 -15
- data/spec/vcr_cassettes/invoices/find_failure.yml +34 -15
- data/spec/vcr_cassettes/invoices/find_id_1.yml +36 -17
- data/spec/vcr_cassettes/invoices/find_new.yml +39 -20
- data/spec/vcr_cassettes/invoices/multi_param_find_by_hash.yml +34 -15
- data/spec/vcr_cassettes/invoices/save_new.yml +37 -17
- data/spec/vcr_cassettes/invoices/save_new_with_comments.yml +37 -17
- data/spec/vcr_cassettes/invoices/save_new_with_country.yml +32 -22
- data/spec/vcr_cassettes/invoices/save_new_with_country_GB.yml +33 -23
- data/spec/vcr_cassettes/invoices/save_new_with_country_Norge.yml +32 -22
- data/spec/vcr_cassettes/invoices/save_new_with_country_Norway.yml +32 -22
- data/spec/vcr_cassettes/invoices/save_new_with_country_Sverige.yml +32 -22
- data/spec/vcr_cassettes/invoices/save_new_with_country_VA.yml +33 -23
- data/spec/vcr_cassettes/invoices/save_new_with_country_VI.yml +33 -23
- data/spec/vcr_cassettes/invoices/save_new_with_country_empty_string.yml +32 -22
- data/spec/vcr_cassettes/invoices/save_new_with_country_nil.yml +32 -22
- data/spec/vcr_cassettes/invoices/save_old.yml +39 -20
- data/spec/vcr_cassettes/invoices/save_old_with_empty_comments.yml +39 -20
- data/spec/vcr_cassettes/invoices/save_old_with_empty_country.yml +34 -25
- data/spec/vcr_cassettes/invoices/save_old_with_nil_comments.yml +39 -20
- data/spec/vcr_cassettes/invoices/save_old_with_nil_country.yml +34 -25
- data/spec/vcr_cassettes/invoices/save_with_nested_model.yml +36 -16
- data/spec/vcr_cassettes/invoices/save_with_specially_named_attribute.yml +36 -16
- data/spec/vcr_cassettes/invoices/search_by_name.yml +34 -15
- data/spec/vcr_cassettes/invoices/search_miss.yml +34 -15
- data/spec/vcr_cassettes/invoices/search_with_special_char.yml +34 -15
- data/spec/vcr_cassettes/invoices/single_param_find_by_hash.yml +34 -15
- data/spec/vcr_cassettes/orders/all.yml +35 -16
- data/spec/vcr_cassettes/orders/filter_hit.yml +34 -15
- data/spec/vcr_cassettes/orders/filter_invalid.yml +33 -13
- data/spec/vcr_cassettes/orders/find_by_hash_failure.yml +34 -15
- data/spec/vcr_cassettes/orders/find_failure.yml +34 -15
- data/spec/vcr_cassettes/orders/find_id_1.yml +35 -16
- data/spec/vcr_cassettes/orders/find_new.yml +38 -19
- data/spec/vcr_cassettes/orders/housework_invalid_tax_reduction_type.yml +63 -0
- data/spec/vcr_cassettes/orders/housework_othercoses_invalid.yml +63 -0
- data/spec/vcr_cassettes/orders/housework_type_babysitting.yml +37 -17
- data/spec/vcr_cassettes/orders/housework_type_cleaning.yml +37 -17
- data/spec/vcr_cassettes/orders/housework_type_construction.yml +37 -17
- data/spec/vcr_cassettes/orders/housework_type_cooking.yml +34 -14
- data/spec/vcr_cassettes/orders/housework_type_electricity.yml +37 -17
- data/spec/vcr_cassettes/orders/housework_type_gardening.yml +37 -17
- data/spec/vcr_cassettes/orders/housework_type_glassmetalwork.yml +37 -17
- data/spec/vcr_cassettes/orders/housework_type_grounddrainagework.yml +37 -17
- data/spec/vcr_cassettes/orders/housework_type_hvac.yml +37 -17
- data/spec/vcr_cassettes/orders/housework_type_itservices.yml +66 -0
- data/spec/vcr_cassettes/orders/housework_type_majorappliancerepair.yml +66 -0
- data/spec/vcr_cassettes/orders/housework_type_masonry.yml +37 -17
- data/spec/vcr_cassettes/orders/housework_type_movingservices.yml +66 -0
- data/spec/vcr_cassettes/orders/housework_type_othercare.yml +37 -17
- data/spec/vcr_cassettes/orders/housework_type_othercosts.yml +37 -17
- data/spec/vcr_cassettes/orders/housework_type_paintingwallpapering.yml +37 -17
- data/spec/vcr_cassettes/orders/housework_type_snowplowing.yml +37 -17
- data/spec/vcr_cassettes/orders/housework_type_textileclothing.yml +37 -17
- data/spec/vcr_cassettes/orders/housework_type_tutoring.yml +34 -14
- data/spec/vcr_cassettes/orders/multi_param_find_by_hash.yml +34 -15
- data/spec/vcr_cassettes/orders/save_new.yml +36 -16
- data/spec/vcr_cassettes/orders/save_old.yml +38 -19
- data/spec/vcr_cassettes/orders/save_with_nested_model.yml +36 -16
- data/spec/vcr_cassettes/orders/search_by_name.yml +34 -15
- data/spec/vcr_cassettes/orders/search_miss.yml +34 -15
- data/spec/vcr_cassettes/orders/search_with_special_char.yml +34 -15
- data/spec/vcr_cassettes/orders/single_param_find_by_hash.yml +34 -15
- data/spec/vcr_cassettes/projects/all.yml +58 -33
- data/spec/vcr_cassettes/projects/find_by_hash_failure.yml +34 -15
- data/spec/vcr_cassettes/projects/find_failure.yml +34 -15
- data/spec/vcr_cassettes/projects/find_id_1.yml +34 -15
- data/spec/vcr_cassettes/projects/find_new.yml +37 -18
- data/spec/vcr_cassettes/projects/multi_param_find_by_hash.yml +36 -17
- data/spec/vcr_cassettes/projects/save_new.yml +35 -15
- data/spec/vcr_cassettes/projects/save_old.yml +37 -18
- data/spec/vcr_cassettes/projects/single_param_find_by_hash.yml +36 -17
- data/spec/vcr_cassettes/termsofpayments/all.yml +46 -25
- data/spec/vcr_cassettes/termsofpayments/find_failure.yml +34 -15
- data/spec/vcr_cassettes/termsofpayments/find_id_1.yml +35 -16
- data/spec/vcr_cassettes/termsofpayments/find_new.yml +36 -17
- data/spec/vcr_cassettes/termsofpayments/save_new.yml +35 -15
- data/spec/vcr_cassettes/termsofpayments/save_old.yml +36 -17
- data/spec/vcr_cassettes/units/all.yml +45 -22
- data/spec/vcr_cassettes/units/find_failure.yml +34 -15
- data/spec/vcr_cassettes/units/find_id_1.yml +35 -16
- data/spec/vcr_cassettes/units/find_new.yml +36 -17
- data/spec/vcr_cassettes/units/save_new.yml +35 -15
- data/spec/vcr_cassettes/units/save_old.yml +36 -17
- data/spec/vcr_cassettes/units/save_with_specially_named_attribute.yml +35 -15
- metadata +115 -43
- data/spec/support/helpers/dummy_class_helper.rb +0 -38
- data/spec/vcr_cassettes/invoices/save_new_with_country_KR.yml +0 -57
@@ -15,32 +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
|
-
|
24
|
-
-
|
25
|
-
Date:
|
26
|
-
- Wed, 29 May 2019 07:52:38 GMT
|
27
|
+
Content-Length:
|
28
|
+
- '1443'
|
27
29
|
Content-Type:
|
28
30
|
- application/json
|
29
|
-
|
30
|
-
-
|
31
|
+
Date:
|
32
|
+
- Mon, 22 Jan 2024 14:52:50 GMT
|
31
33
|
Vary:
|
32
34
|
- Accept-Encoding
|
33
|
-
-
|
35
|
+
X-Build:
|
36
|
+
- 9dd4e26746
|
37
|
+
X-Frame-Options:
|
38
|
+
- sameorigin
|
34
39
|
X-Rack-Responsetime:
|
35
|
-
- '
|
40
|
+
- '43'
|
36
41
|
X-Uid:
|
37
|
-
-
|
38
|
-
|
39
|
-
-
|
42
|
+
- cbc26314
|
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:
|
61
|
+
encoding: ASCII-8BIT
|
42
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
|
43
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}}'
|
44
|
-
|
45
|
-
|
46
|
-
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/
|
5
|
+
uri: https://api.fortnox.se/3/customers/246
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -15,32 +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
|
-
|
24
|
-
-
|
25
|
-
Date:
|
26
|
-
- Wed, 29 May 2019 07:52:38 GMT
|
27
|
+
Content-Length:
|
28
|
+
- '1437'
|
27
29
|
Content-Type:
|
28
30
|
- application/json
|
29
|
-
|
30
|
-
-
|
31
|
+
Date:
|
32
|
+
- Mon, 22 Jan 2024 14:52:50 GMT
|
31
33
|
Vary:
|
32
34
|
- Accept-Encoding
|
33
|
-
-
|
35
|
+
X-Build:
|
36
|
+
- 9dd4e26746
|
37
|
+
X-Frame-Options:
|
38
|
+
- sameorigin
|
34
39
|
X-Rack-Responsetime:
|
35
|
-
- '
|
40
|
+
- '56'
|
36
41
|
X-Uid:
|
37
|
-
-
|
38
|
-
|
39
|
-
-
|
42
|
+
- 9ec19fef
|
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:
|
42
|
-
string: '{"Customer":{"@url":"https:\/\/api.fortnox.se\/3\/customers\/
|
61
|
+
encoding: ASCII-8BIT
|
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
|
43
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}}'
|
44
|
-
|
45
|
-
|
46
|
-
recorded_with: VCR 4.0.0
|
64
|
+
recorded_at: Mon, 22 Jan 2024 14:52:49 GMT
|
65
|
+
recorded_with: VCR 6.2.0
|
@@ -15,32 +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
|
-
|
24
|
-
-
|
25
|
-
Date:
|
26
|
-
- Wed, 29 May 2019 07:52:39 GMT
|
27
|
+
Content-Length:
|
28
|
+
- '303'
|
27
29
|
Content-Type:
|
28
30
|
- application/json
|
29
|
-
|
30
|
-
-
|
31
|
+
Date:
|
32
|
+
- Mon, 22 Jan 2024 14:52:51 GMT
|
31
33
|
Vary:
|
32
34
|
- Accept-Encoding
|
33
|
-
-
|
35
|
+
X-Build:
|
36
|
+
- 9dd4e26746
|
37
|
+
X-Frame-Options:
|
38
|
+
- sameorigin
|
34
39
|
X-Rack-Responsetime:
|
35
|
-
- '
|
40
|
+
- '82'
|
36
41
|
X-Uid:
|
37
|
-
-
|
38
|
-
|
39
|
-
-
|
42
|
+
- ce0751a3
|
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:
|
61
|
+
encoding: ASCII-8BIT
|
42
62
|
string: '{"MetaInformation":{"@TotalResources":1,"@TotalPages":1,"@CurrentPage":1},"Customers":[{"@url":"https:\/\/api.fortnox.se\/3\/customers\/2","Address1":"","Address2":"","City":"New
|
43
63
|
York","CustomerNumber":"2","Email":"","Name":"A customer","OrganisationNumber":"600102-7447","Phone":"","ZipCode":"10001"}]}'
|
44
|
-
|
45
|
-
|
46
|
-
recorded_with: VCR 4.0.0
|
64
|
+
recorded_at: Mon, 22 Jan 2024 14:52:50 GMT
|
65
|
+
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: 201
|
21
25
|
message: Created
|
22
26
|
headers:
|
23
|
-
|
24
|
-
-
|
25
|
-
Date:
|
26
|
-
- Wed, 29 May 2019 07:52:37 GMT
|
27
|
+
Content-Length:
|
28
|
+
- '1437'
|
27
29
|
Content-Type:
|
28
30
|
- application/json
|
29
|
-
|
30
|
-
-
|
31
|
+
Date:
|
32
|
+
- Mon, 22 Jan 2024 14:52:49 GMT
|
31
33
|
Location:
|
32
34
|
- customers
|
35
|
+
X-Build:
|
36
|
+
- 9dd4e26746
|
37
|
+
X-Frame-Options:
|
38
|
+
- sameorigin
|
33
39
|
X-Rack-Responsetime:
|
34
|
-
- '
|
40
|
+
- '128'
|
35
41
|
X-Uid:
|
36
|
-
-
|
37
|
-
|
38
|
-
-
|
42
|
+
- e14c4492
|
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: '{"Customer":{"@url":"https:\/\/api.fortnox.se\/3\/customers\/
|
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
|
42
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}}'
|
43
|
-
|
44
|
-
|
45
|
-
recorded_with: VCR 4.0.0
|
64
|
+
recorded_at: Mon, 22 Jan 2024 14:52:49 GMT
|
65
|
+
recorded_with: VCR 6.2.0
|
@@ -16,41 +16,51 @@ http_interactions:
|
|
16
16
|
- 9aBA8ZgsvR
|
17
17
|
Access-Token:
|
18
18
|
- ccaef817-d5d8-4b1c-a316-54f3e55c5c54
|
19
|
+
Accept-Encoding:
|
20
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
21
|
+
User-Agent:
|
22
|
+
- Ruby
|
19
23
|
response:
|
20
24
|
status:
|
21
25
|
code: 201
|
22
26
|
message: Created
|
23
27
|
headers:
|
24
|
-
|
25
|
-
-
|
26
|
-
Date:
|
27
|
-
- Sat, 31 Aug 2019 18:40:48 GMT
|
28
|
+
Content-Length:
|
29
|
+
- '1469'
|
28
30
|
Content-Type:
|
29
31
|
- application/json
|
30
|
-
|
31
|
-
-
|
32
|
+
Date:
|
33
|
+
- Mon, 22 Jan 2024 14:52:51 GMT
|
32
34
|
Location:
|
33
35
|
- customers
|
36
|
+
X-Build:
|
37
|
+
- 9dd4e26746
|
38
|
+
X-Frame-Options:
|
39
|
+
- sameorigin
|
34
40
|
X-Rack-Responsetime:
|
35
|
-
- '
|
41
|
+
- '99'
|
36
42
|
X-Uid:
|
37
|
-
-
|
38
|
-
|
39
|
-
-
|
40
|
-
Strict-Transport-Security:
|
41
|
-
- max-age=31536000; includeSubdomains
|
42
|
-
X-Xss-Protection:
|
43
|
-
- 1; mode=block
|
43
|
+
- 27a7106c
|
44
|
+
Server:
|
45
|
+
- Fortnox
|
44
46
|
X-Content-Type-Options:
|
45
47
|
- nosniff
|
46
|
-
X-
|
47
|
-
-
|
48
|
+
X-Xss-Protection:
|
49
|
+
- '0'
|
48
50
|
Referrer-Policy:
|
49
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
|
50
61
|
body:
|
51
62
|
encoding: UTF-8
|
52
|
-
string: '{"Customer":{"@url":"https:\/\/api.fortnox.se\/3\/customers\/
|
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
|
53
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}}'
|
54
|
-
|
55
|
-
|
56
|
-
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/
|
5
|
+
uri: https://api.fortnox.se/3/customers/246
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: '{"Customer":{"Name":"Updated name"}}'
|
@@ -15,32 +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
|
-
|
24
|
-
-
|
25
|
-
Date:
|
26
|
-
- Wed, 29 May 2019 07:52:38 GMT
|
27
|
+
Content-Length:
|
28
|
+
- '1442'
|
27
29
|
Content-Type:
|
28
30
|
- application/json
|
29
|
-
|
30
|
-
-
|
31
|
+
Date:
|
32
|
+
- Mon, 22 Jan 2024 14:52:50 GMT
|
31
33
|
Vary:
|
32
34
|
- Accept-Encoding
|
33
|
-
-
|
35
|
+
X-Build:
|
36
|
+
- 9dd4e26746
|
37
|
+
X-Frame-Options:
|
38
|
+
- sameorigin
|
34
39
|
X-Rack-Responsetime:
|
35
|
-
- '
|
40
|
+
- '133'
|
36
41
|
X-Uid:
|
37
|
-
-
|
38
|
-
|
39
|
-
-
|
42
|
+
- 62ad1cf4
|
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:
|
42
|
-
string: '{"Customer":{"@url":"https:\/\/api.fortnox.se\/3\/customers\/
|
61
|
+
encoding: ASCII-8BIT
|
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
|
43
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}}'
|
44
|
-
|
45
|
-
|
46
|
-
recorded_with: VCR 4.0.0
|
64
|
+
recorded_at: Mon, 22 Jan 2024 14:52:50 GMT
|
65
|
+
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: 201
|
21
25
|
message: Created
|
22
26
|
headers:
|
23
|
-
|
24
|
-
-
|
25
|
-
Date:
|
26
|
-
- Wed, 29 May 2019 07:52:38 GMT
|
27
|
+
Content-Length:
|
28
|
+
- '1459'
|
27
29
|
Content-Type:
|
28
30
|
- application/json
|
29
|
-
|
30
|
-
-
|
31
|
+
Date:
|
32
|
+
- Mon, 22 Jan 2024 14:52:50 GMT
|
31
33
|
Location:
|
32
34
|
- customers
|
35
|
+
X-Build:
|
36
|
+
- 9dd4e26746
|
37
|
+
X-Frame-Options:
|
38
|
+
- sameorigin
|
33
39
|
X-Rack-Responsetime:
|
34
|
-
- '
|
40
|
+
- '110'
|
35
41
|
X-Uid:
|
36
|
-
-
|
37
|
-
|
38
|
-
-
|
42
|
+
- 68d61983
|
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: '{"Customer":{"@url":"https:\/\/api.fortnox.se\/3\/customers\/
|
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
|
42
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}}'
|
43
|
-
|
44
|
-
|
45
|
-
recorded_with: VCR 4.0.0
|
64
|
+
recorded_at: Mon, 22 Jan 2024 14:52:50 GMT
|
65
|
+
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
|
-
|
24
|
-
-
|
25
|
-
Date:
|
26
|
-
- Wed, 29 May 2019 07:52:40 GMT
|
27
|
+
Content-Length:
|
28
|
+
- '6891'
|
27
29
|
Content-Type:
|
28
30
|
- application/json
|
29
|
-
|
30
|
-
-
|
31
|
+
Date:
|
32
|
+
- Mon, 22 Jan 2024 14:52:51 GMT
|
31
33
|
Vary:
|
32
34
|
- Accept-Encoding
|
33
|
-
-
|
35
|
+
X-Build:
|
36
|
+
- 9dd4e26746
|
37
|
+
X-Frame-Options:
|
38
|
+
- sameorigin
|
34
39
|
X-Rack-Responsetime:
|
35
|
-
- '
|
40
|
+
- '48'
|
36
41
|
X-Uid:
|
37
|
-
-
|
38
|
-
|
39
|
-
-
|
42
|
+
- a650a2f2
|
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:
|
42
|
-
string: '{"MetaInformation":{"@TotalResources":
|
61
|
+
encoding: ASCII-8BIT
|
62
|
+
string: '{"MetaInformation":{"@TotalResources":33,"@TotalPages":1,"@CurrentPage":1},"Customers":[{"@url":"https:\/\/api.fortnox.se\/3\/customers\/3","Address1":"","Address2":"","City":"New
|
43
63
|
York","CustomerNumber":"3","Email":"","Name":"Test customer","OrganisationNumber":"400101-8383","Phone":"","ZipCode":""},{"@url":"https:\/\/api.fortnox.se\/3\/customers\/93","Address1":"testgatan
|
44
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
|
45
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
|
@@ -68,7 +88,9 @@ http_interactions:
|
|
68
88
|
3 lgh 1205","Address2":"","City":"Lundsbrunn","CustomerNumber":"224","Email":"","Name":"Linda
|
69
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
|
70
90
|
customer","OrganisationNumber":"","Phone":"","ZipCode":""},{"@url":"https:\/\/api.fortnox.se\/3\/customers\/229","Address1":"","Address2":"","City":"","CustomerNumber":"229","Email":"","Name":"Test
|
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
|
71
94
|
customer","OrganisationNumber":"","Phone":"","ZipCode":""}]}'
|
72
|
-
|
73
|
-
|
74
|
-
recorded_with: VCR 4.0.0
|
95
|
+
recorded_at: Mon, 22 Jan 2024 14:52:51 GMT
|
96
|
+
recorded_with: VCR 6.2.0
|