Sha256: 891744a3c97124c5c56260a929463b77cbe59032dcc908a27fdc1e939a58f7ee

Contents?: true

Size: 1.06 KB

Versions: 4

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:
      - Thu, 01 Mar 2018 13:58:13 GMT
      Content-Type:
      - application/json
      Connection:
      - close
      X-Rack-Responsetime:
      - '291'
      X-Uid:
      - 66f15c22
      X-Build:
      - bec4a33b2e
    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: Thu, 01 Mar 2018 13:58:13 GMT
recorded_with: VCR 3.0.3

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fortnox-api-0.6.3 spec/vcr_cassettes/orders/housework_type_tutoring.yml
fortnox-api-0.6.2 spec/vcr_cassettes/orders/housework_type_tutoring.yml
fortnox-api-0.6.1 spec/vcr_cassettes/orders/housework_type_tutoring.yml
fortnox-api-0.6.0 spec/vcr_cassettes/orders/housework_type_tutoring.yml