interactions:
- request:
    body: '{"expiration": null, "plan_slug": "unittest"}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Basic cXhSU05jSWRlQToxZjBBVkNaUEpiUm5kRjlGTlNHTU9XTWZIOUtNVURhWA==]
      Cache-Control: [no-cache]
      Connection: [keep-alive]
      Content-Length: ['45']
      Content-Type: [application/json]
      User-Agent: [api_toolkit]
    method: POST
    uri: http://sandbox.app.passaporteweb.com.br/organizations/api/identities/c3769912-baa9-4a0c-9856-395a706c7d57/accounts/
  response:
    body: {string: !!python/unicode '{"errors": ["Either name or uuid must be supplied."]}'}
    headers:
      allow: ['GET, POST, HEAD, OPTIONS']
      connection: [keep-alive]
      content-length: ['53']
      content-type: [application/json]
      date: ['Wed, 24 Sep 2014 21:18:38 GMT']
      p3p: [CP="NON DSP COR CURa TIA"]
      server: [nginx/1.6.2]
      vary: ['Authenticate, Accept, Cookie']
    status: {code: 400, message: BAD REQUEST}
- request:
    body: '{"expiration": null, "name": "", "plan_slug": "unittest"}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Basic cXhSU05jSWRlQToxZjBBVkNaUEpiUm5kRjlGTlNHTU9XTWZIOUtNVURhWA==]
      Cache-Control: [no-cache]
      Connection: [keep-alive]
      Content-Length: ['57']
      Content-Type: [application/json]
      User-Agent: [api_toolkit]
    method: POST
    uri: http://sandbox.app.passaporteweb.com.br/organizations/api/identities/c3769912-baa9-4a0c-9856-395a706c7d57/accounts/
  response:
    body: {string: !!python/unicode '{"errors": ["Either name or uuid must be supplied."]}'}
    headers:
      allow: ['GET, POST, HEAD, OPTIONS']
      connection: [keep-alive]
      content-length: ['53']
      content-type: [application/json]
      date: ['Wed, 24 Sep 2014 21:18:33 GMT']
      p3p: [CP="NON DSP COR CURa TIA"]
      server: [nginx/1.6.2]
      vary: ['Authenticate, Accept, Cookie']
    status: {code: 400, message: BAD REQUEST}
- request:
    body: '{"expiration": null, "plan_slug": "unittest", "uuid": ""}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Basic cXhSU05jSWRlQToxZjBBVkNaUEpiUm5kRjlGTlNHTU9XTWZIOUtNVURhWA==]
      Cache-Control: [no-cache]
      Connection: [keep-alive]
      Content-Length: ['57']
      Content-Type: [application/json]
      User-Agent: [api_toolkit]
    method: POST
    uri: http://sandbox.app.passaporteweb.com.br/organizations/api/identities/c3769912-baa9-4a0c-9856-395a706c7d57/accounts/
  response:
    body: {string: !!python/unicode '{"errors": ["Either name or uuid must be supplied."]}'}
    headers:
      allow: ['GET, POST, HEAD, OPTIONS']
      connection: [keep-alive]
      content-length: ['53']
      content-type: [application/json]
      date: ['Wed, 24 Sep 2014 21:18:33 GMT']
      p3p: [CP="NON DSP COR CURa TIA"]
      server: [nginx/1.6.2]
      vary: ['Authenticate, Accept, Cookie']
    status: {code: 400, message: BAD REQUEST}
version: 1
