Sha256: 6a7f86e8bb3d05111499ebbc38c8a75bc63324155c8043db1f2b219236bd64a8

Contents?: true

Size: 1.05 KB

Versions: 3

Compression:

Stored size: 1.05 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":"COOKING","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:
      - Wed, 29 May 2019 07:52:41 GMT
      Content-Type:
      - application/json
      Connection:
      - close
      X-Rack-Responsetime:
      - '31'
      X-Uid:
      - b9165cef
      X-Build:
      - e930a91c78
    body:
      encoding: UTF-8
      string: '{"ErrorInformation":{"error":1,"message":"Skattereduktion f\u00f6r
        den valda typen av husarbete har upph\u00f6rt.","code":2003157}}'
    http_version: 
  recorded_at: Wed, 29 May 2019 07:52:41 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/housework_type_cooking.yml
fortnox-api-0.7.1 spec/vcr_cassettes/orders/housework_type_cooking.yml
fortnox-api-0.7.0 spec/vcr_cassettes/orders/housework_type_cooking.yml