Sha256: 61d5f765ee7a81d17b66d6935f99c884d3f729761cddc1169bacc3235e6632ae

Contents?: true

Size: 1.15 KB

Versions: 3

Compression:

Stored size: 1.15 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.fortnox.se/3/projects/
    body:
      encoding: UTF-8
      string: '{"Project":{"Comments":"A value","Description":"Some important project"}}'
    headers:
      Content-Type:
      - application/json
      Accept:
      - application/json
      Client-Secret:
      - 9aBA8ZgsvR
      Access-Token:
      - ccaef817-d5d8-4b1c-a316-54f3e55c5c54
  response:
    status:
      code: 201
      message: Created
    headers:
      Server:
      - nginx
      Date:
      - Wed, 29 May 2019 07:52:30 GMT
      Content-Type:
      - application/json
      Connection:
      - close
      Location:
      - project
      X-Rack-Responsetime:
      - '160'
      X-Uid:
      - 3d6ffe61
      X-Build:
      - e930a91c78
    body:
      encoding: UTF-8
      string: '{"Project":{"@url":"https:\/\/api.fortnox.se\/3\/projects\/5593","Comments":"A
        value","ContactPerson":null,"Description":"Some important project","EndDate":null,"ProjectLeader":null,"ProjectNumber":"5593","Status":"ONGOING","StartDate":null}}'
    http_version: 
  recorded_at: Wed, 29 May 2019 07:52:30 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/projects/save_new.yml
fortnox-api-0.7.1 spec/vcr_cassettes/projects/save_new.yml
fortnox-api-0.7.0 spec/vcr_cassettes/projects/save_new.yml