Sha256: b55bfbbef1aebce3e3aaf57faeadde949c427e3befb04a919e45a4f9d16be05c

Contents?: true

Size: 1.06 KB

Versions: 6

Compression:

Stored size: 1.06 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.fortnox.se/3/orders/
    body:
      encoding: UTF-8
      string: '{"Order":{"CustomerNumber":"1","OrderRows":[{"ArticleNumber":"0000","HouseWorkType":"TUTORING","OrderedQuantity":1.0}]}}'
    headers:
      Content-Type:
      - application/json
      Accept:
      - application/json
      Client-Secret:
      - 9aBA8ZgsvR
      Access-Token:
      - ccaef817-d5d8-4b1c-a316-54f3e55c5c54
  response:
    status:
      code: 400
      message: Bad Request
    headers:
      Server:
      - nginx
      Date:
      - Tue, 25 Oct 2016 10:21:52 GMT
      Content-Type:
      - application/json
      Connection:
      - close
      X-Rack-Responsetime:
      - '39'
      X-Uid:
      - 9b83de03
      X-Build:
      - 76600b8d0c
    body:
      encoding: UTF-8
      string: '{"ErrorInformation":{"error":1,"message":"Skattereduktion f\u00f6r
        en av de valda husarbetestyperna har upph\u00f6rt.","code":2003151}}'
    http_version: 
  recorded_at: Tue, 25 Oct 2016 10:21:52 GMT
recorded_with: VCR 3.0.1

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fortnox-api-0.5.2 spec/vcr_cassettes/orders/house_work_type_tutoring.yml
fortnox-api-0.5.1 spec/vcr_cassettes/orders/house_work_type_tutoring.yml
fortnox-api-0.5.0 spec/vcr_cassettes/orders/house_work_type_tutoring.yml
fortnox-api-0.4.0 spec/vcr_cassettes/orders/house_work_type_tutoring.yml
fortnox-api-0.3.0 spec/vcr_cassettes/orders/house_work_type_tutoring.yml
fortnox-api-0.2.0 spec/vcr_cassettes/orders/house_work_type_tutoring.yml