Sha256: 3bf6a111aded31c99cb90b88dec8aa31e2e973ab329808e5a66d71a56b49476d

Contents?: true

Size: 1.92 KB

Versions: 1

Compression:

Stored size: 1.92 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://api.fortnox.se/3/invoices/?ourreference=Radagast%20the%20Brown&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
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Server:
      - nginx
      Date:
      - Mon, 21 Dec 2020 20:41:47 GMT
      Content-Type:
      - application/json
      Connection:
      - close
      Vary:
      - Accept-Encoding
      X-Rack-Responsetime:
      - '48'
      X-Uid:
      - 7e608411
      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: ASCII-8BIT
      string: '{"MetaInformation":{"@TotalResources":1,"@TotalPages":1,"@CurrentPage":1},"Invoices":[{"@url":"https:\/\/api.fortnox.se\/3\/invoices\/3","Balance":200,"Booked":false,"Cancelled":false,"CostCenter":"","Currency":"SEK","CurrencyRate":"1","CurrencyUnit":1,"CustomerName":"Updated
        customer","CustomerNumber":"1","DocumentNumber":"3","DueDate":"2016-03-17","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","InvoiceDate":"2016-03-16","InvoiceType":"INVOICE","NoxFinans":false,"OCR":"331","VoucherNumber":null,"VoucherSeries":null,"VoucherYear":null,"WayOfDelivery":"","TermsOfPayment":"0","Project":"","Sent":false,"Total":200,"FinalPayDate":null}]}'
    http_version: 
  recorded_at: Mon, 21 Dec 2020 20:41:47 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/invoices/multi_param_find_by_hash.yml