Sha256: aeba8e1710485b35083f9dd6409547ce4839f03d6317c612fdf41ba722c3723b

Contents?: true

Size: 1.43 KB

Versions: 4

Compression:

Stored size: 1.43 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://demo.moneta.ru/services
    body:
      encoding: UTF-8
      string: '{"Envelope":{"Header":{"Security":{"UsernameToken":{"Username":"<USERNAME>","Password":"<PASSWORD>"}}},"Body":{"FindAccountByIdRequest":{"value":-1}}}}'
    headers:
      User-Agent:
      - Faraday v0.11.0
      Content-Type:
      - application/json;charset=UTF-8
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 400
      message: Bad Request
    headers:
      Server:
      - nginx
      Date:
      - Tue, 14 Feb 2017 14:07:17 GMT
      Content-Type:
      - application/json;charset=UTF-8
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
      Keep-Alive:
      - timeout=60
      Strict-Transport-Security:
      - max-age=31536000 ; includeSubDomains
    body:
      encoding: UTF-8
      string: '{"Envelope":{"Body":{"fault":{"detail":{"faultDetail":"200","ValidationError":["cvc-minInclusive-valid:
        Value ''-1'' is not facet-valid with respect to minInclusive ''1'' for type
        ''AccountId''.","cvc-complex-type.2.2: Element ''ns1:FindAccountByIdRequest''
        must have no element [children], and the value must be valid."]},"faultcode":"Client","faultstring":"Validation
        error"}}}}'
    http_version: 
  recorded_at: Tue, 14 Feb 2017 14:07:16 GMT
recorded_with: VCR 3.0.1

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
moneta-api-2.1.0 spec/vcr/moneta_api_service_find_account_by_id/when_soap_raise_error_.yml
moneta-api-2.0.0 spec/vcr/moneta_api_service_find_account_by_id/when_soap_raise_error_.yml
moneta-api-2.0.0.rc2 spec/vcr/moneta_api_service_find_account_by_id/when_soap_raise_error_.yml
moneta-api-2.0.0.rc1 spec/vcr/moneta_api_service_find_account_by_id/when_soap_raise_error_.yml