Sha256: b82c8d714c27616a551cd3c154a2cd5e8a6fa712841abfa5ff34ff496c97ca1e

Contents?: true

Size: 1.03 KB

Versions: 4

Compression:

Stored size: 1.03 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.fortnox.se/3/termsofpayments/
    body:
      encoding: UTF-8
      string: '{"TermsOfPayment":{"Code":"15DAYS","Description":"A value"}}'
    headers:
      Content-Type:
      - application/json
      Accept:
      - application/json
      Client-Secret:
      - 9aBA8ZgsvR
      Access-Token:
      - ccaef817-d5d8-4b1c-a316-54f3e55c5c54
  response:
    status:
      code: 201
      message: Created
    headers:
      Server:
      - nginx
      Date:
      - Sat, 24 Feb 2018 06:45:42 GMT
      Content-Type:
      - application/json
      Connection:
      - close
      Location:
      - paymentterms
      X-Rack-Responsetime:
      - '28'
      X-Uid:
      - c6e19b56
      X-Build:
      - bec4a33b2e
    body:
      encoding: UTF-8
      string: '{"TermsOfPayment":{"@url":"https:\/\/api.fortnox.se\/3\/termsofpayment\/15DAYS","Code":"15DAYS","Description":"A
        value"}}'
    http_version: 
  recorded_at: Sat, 24 Feb 2018 06:45:42 GMT
recorded_with: VCR 3.0.3

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fortnox-api-0.6.3 spec/vcr_cassettes/termsofpayments/save_new.yml
fortnox-api-0.6.2 spec/vcr_cassettes/termsofpayments/save_new.yml
fortnox-api-0.6.1 spec/vcr_cassettes/termsofpayments/save_new.yml
fortnox-api-0.6.0 spec/vcr_cassettes/termsofpayments/save_new.yml