Sha256: c3ba04e2f204b1cf504faa58f59518d04d4aca3edb67b25f30c6c48f59fdff38

Contents?: true

Size: 1.03 KB

Versions: 3

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":"18DAYS","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:
      - Wed, 29 May 2019 07:54:46 GMT
      Content-Type:
      - application/json
      Connection:
      - close
      Location:
      - paymentterms
      X-Rack-Responsetime:
      - '39'
      X-Uid:
      - 2e4a9fa1
      X-Build:
      - e930a91c78
    body:
      encoding: UTF-8
      string: '{"TermsOfPayment":{"@url":"https:\/\/api.fortnox.se\/3\/termsofpayment\/18DAYS","Code":"18DAYS","Description":"A
        value"}}'
    http_version: 
  recorded_at: Wed, 29 May 2019 07:54:46 GMT
recorded_with: VCR 4.0.0

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fortnox-api-0.7.2 spec/vcr_cassettes/termsofpayments/save_new.yml
fortnox-api-0.7.1 spec/vcr_cassettes/termsofpayments/save_new.yml
fortnox-api-0.7.0 spec/vcr_cassettes/termsofpayments/save_new.yml