Sha256: 6d81afda4884f486554f227aa8898f54187f505912da9f5b309ab59996eda49a

Contents?: true

Size: 1.4 KB

Versions: 1

Compression:

Stored size: 1.4 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.fortnox.se/3/termsofpayments/
    body:
      encoding: UTF-8
      string: '{"TermsOfPayment":{"Code":"19DAYS","Description":"A value"}}'
    headers:
      Content-Type:
      - application/json
      Accept:
      - application/json
      Client-Secret:
      - 9aBA8ZgsvR
      Access-Token:
      - ccaef817-d5d8-4b1c-a316-54f3e55c5c54
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      User-Agent:
      - Ruby
  response:
    status:
      code: 201
      message: Created
    headers:
      Server:
      - nginx
      Date:
      - Mon, 21 Dec 2020 20:37:49 GMT
      Content-Type:
      - application/json
      Connection:
      - close
      Location:
      - paymentterms
      X-Rack-Responsetime:
      - '43'
      X-Uid:
      - 6781a707
      X-Build:
      - d59e2acefa
      Strict-Transport-Security:
      - max-age=31536000; includeSubdomains
      X-Xss-Protection:
      - 1; mode=block
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - sameorigin
      Referrer-Policy:
      - strict-origin-when-cross-origin
    body:
      encoding: UTF-8
      string: '{"TermsOfPayment":{"@url":"https:\/\/api.fortnox.se\/3\/termsofpayments\/19DAYS","Code":"19DAYS","Description":"A
        value"}}'
    http_version: 
  recorded_at: Mon, 21 Dec 2020 20:37:49 GMT
recorded_with: VCR 4.0.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fortnox-api-0.8.0 spec/vcr_cassettes/termsofpayments/save_new.yml