Sha256: 87c3b8448caec3c8bdcad0a4c209942f6c88215f7172177bcf7d166b4a311381

Contents?: true

Size: 1.68 KB

Versions: 4

Compression:

Stored size: 1.68 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://sandbox.boletosimples.com.br/api/v1/imports/customer_subscriptions
    body:
      encoding: UTF-8
      string: '{"customer_subscription_import":{}}'
    headers:
      User-Agent:
      - email@minhaempresa.com.br
      Authorization:
      - Bearer BOLETOSIMPLES_API_TOKEN
      Content-Type:
      - application/json
      Accept:
      - application/json
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
  response:
    status:
      code: 422
      message: Unprocessable Entity
    headers:
      Server:
      - Cowboy
      Connection:
      - keep-alive
      X-Frame-Options:
      - DENY
      X-Xss-Protection:
      - 1; mode=block
      X-Content-Type-Options:
      - nosniff
      X-Download-Options:
      - noopen
      X-Permitted-Cross-Domain-Policies:
      - none
      Referrer-Policy:
      - strict-origin-when-cross-origin
      Content-Type:
      - application/json; charset=utf-8
      X-Ratelimit-Limit:
      - '1000'
      X-Ratelimit-Remaining:
      - '997'
      Cache-Control:
      - no-cache
      X-Request-Id:
      - c0f61293-6afd-48bf-a5bd-5f51360ac45a
      X-Runtime:
      - '0.019555'
      Date:
      - Tue, 13 Apr 2021 17:18:22 GMT
      X-Rack-Cache:
      - invalidate, pass
      Strict-Transport-Security:
      - max-age=2629746
      Vary:
      - Origin,Accept-Encoding
      Transfer-Encoding:
      - chunked
      Via:
      - 1.1 vegur
    body:
      encoding: UTF-8
      string: '{"errors":[{"title":"customer_subscription_import não pode ficar em
        branco","status":422,"code":422}]}'
  recorded_at: Tue, 13 Apr 2021 17:18:22 GMT
recorded_with: VCR 6.0.0

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
boletosimples-1.0.4 spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/invalid_root.yml
boletosimples-1.0.3 spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/invalid_root.yml
boletosimples-1.0.2 spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/invalid_root.yml
boletosimples-1.0.1 spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/invalid_root.yml