Sha256: 471d4c20160b5beaa810312b093a49f440ddc4c007d8637b565b273b99947b05

Contents?: true

Size: 1.86 KB

Versions: 9

Compression:

Stored size: 1.86 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://api.fortnox.se/3/invoices/?yourreference=Gandalf%20the%20Grey
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Content-Type:
      - application/json
      Accept:
      - application/json
      Client-Secret:
      - 9aBA8ZgsvR
      Access-Token:
      - ccaef817-d5d8-4b1c-a316-54f3e55c5c54
  response:
    status:
      code: 200
      message: OK
    headers:
      Server:
      - nginx
      Date:
      - Wed, 12 Jul 2017 12:24:39 GMT
      Content-Type:
      - application/json
      Connection:
      - close
      Vary:
      - Accept-Encoding
      - Accept-Encoding
      X-Rack-Responsetime:
      - '36'
      X-Uid:
      - b37dab19
      X-Build:
      - 401ff9d5e0
    body:
      encoding: UTF-8
      string: '{"MetaInformation":{"@TotalResources":2,"@TotalPages":1,"@CurrentPage":1},"Invoices":[{"@url":"https:\/\/api.fortnox.se\/3\/invoices\/2","Balance":0,"Booked":false,"Cancelled":false,"Currency":"SEK","CurrencyRate":"1","CurrencyUnit":1,"CustomerName":"Updated
        customer","CustomerNumber":"1","DocumentNumber":"2","DueDate":"2016-03-18","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","InvoiceDate":"2016-03-16","NoxFinans":false,"OCR":"232","WayOfDelivery":"","TermsOfPayment":"0","Project":"","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/invoices\/3","Balance":200,"Booked":false,"Cancelled":false,"Currency":"SEK","CurrencyRate":"1","CurrencyUnit":1,"CustomerName":"Updated
        customer","CustomerNumber":"1","DocumentNumber":"3","DueDate":"2016-03-17","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","InvoiceDate":"2016-03-16","NoxFinans":false,"OCR":"331","WayOfDelivery":"","TermsOfPayment":"0","Project":"","Sent":false,"Total":200}]}'
    http_version: 
  recorded_at: Wed, 12 Jul 2017 12:24:39 GMT
recorded_with: VCR 3.0.3

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fortnox-api-0.6.3 spec/vcr_cassettes/invoices/single_param_find_by_hash.yml
fortnox-api-0.6.2 spec/vcr_cassettes/invoices/single_param_find_by_hash.yml
fortnox-api-0.6.1 spec/vcr_cassettes/invoices/single_param_find_by_hash.yml
fortnox-api-0.6.0 spec/vcr_cassettes/invoices/single_param_find_by_hash.yml
fortnox-api-0.5.2 spec/vcr_cassettes/invoices/single_param_find_by_hash.yml
fortnox-api-0.5.1 spec/vcr_cassettes/invoices/single_param_find_by_hash.yml
fortnox-api-0.5.0 spec/vcr_cassettes/invoices/single_param_find_by_hash.yml
fortnox-api-0.4.0 spec/vcr_cassettes/invoices/single_param_find_by_hash.yml
fortnox-api-0.3.0 spec/vcr_cassettes/invoices/single_param_find_by_hash.yml