Sha256: 08647937563077c31844b4bfbcaee32d3081c0a04fb1e2cbaad93bb45e5837d7

Contents?: true

Size: 1.93 KB

Versions: 3

Compression:

Stored size: 1.93 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://api.fortnox.se/3/orders/?customername=A%20customer
    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, 29 May 2019 07:52:36 GMT
      Content-Type:
      - application/json
      Connection:
      - close
      Vary:
      - Accept-Encoding
      - Accept-Encoding
      X-Rack-Responsetime:
      - '34'
      X-Uid:
      - b3a71381
      X-Build:
      - e930a91c78
    body:
      encoding: UTF-8
      string: '{"MetaInformation":{"@TotalResources":3,"@TotalPages":1,"@CurrentPage":1},"Orders":[{"@url":"https:\/\/api.fortnox.se\/3\/orders\/4","Cancelled":false,"Currency":"SEK","CustomerName":"A
        customer","CustomerNumber":"26","DeliveryDate":null,"DocumentNumber":"4","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-04-21","OrderType":"Order","Project":"1","Sent":false,"Total":0},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/60","Cancelled":false,"Currency":"SEK","CustomerName":"A
        customer","CustomerNumber":"2","DeliveryDate":null,"DocumentNumber":"60","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2016-05-09","OrderType":"Order","Project":"1","Sent":false,"Total":19},{"@url":"https:\/\/api.fortnox.se\/3\/orders\/269","Cancelled":false,"Currency":"SEK","CustomerName":"A
        customer","CustomerNumber":"2","DeliveryDate":null,"DocumentNumber":"269","ExternalInvoiceReference1":"","ExternalInvoiceReference2":"","OrderDate":"2018-01-02","OrderType":"Order","Project":"5582","Sent":false,"Total":1250}]}'
    http_version: 
  recorded_at: Wed, 29 May 2019 07:52:36 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/orders/search_by_name.yml
fortnox-api-0.7.1 spec/vcr_cassettes/orders/search_by_name.yml
fortnox-api-0.7.0 spec/vcr_cassettes/orders/search_by_name.yml