interactions:
- request:
    body: '{"emitter_id": 13, "name": "Lote de teste da API (vazio)"}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Basic Njg1MTY3RDQxOTBEOTRBOTQ2MTk0ODdBMTA2NTYxRTc6]
      Cache-Control: [no-cache]
      Connection: [keep-alive]
      Content-Length: ['58']
      Content-Type: [application/json]
      User-Agent: [python-emites]
    method: POST
    uri: https://sandbox.emites.com.br:443/api/v1/batches
  response:
    body: {string: !!python/unicode '{"_links": [{"href": "https://sandbox.emites.com.br/api/v1/batches/26",
        "method": "GET", "rel": "self"}, {"href": "https://sandbox.emites.com.br/api/v1/batches/26/nfse",
        "method": "GET", "rel": "nfse"}, {"href": "https://sandbox.emites.com.br/api/v1/batches/26/send",
        "method": "POST", "rel": "send"}, {"href": "https://sandbox.emites.com.br/api/v1/batches/26/cancel",
        "method": "POST", "rel": "cancel"}, {"href": "https://sandbox.emites.com.br/api/v1/batches/26/history",
        "method": "GET", "rel": "history"}], "id": 26, "name": "Lote de teste da API
        (vazio)", "emitter_id": 13, "status": "created", "properties": {"scheduled":
        0, "cancelling": 0, "accepted": 0, "processing": 0, "created": 0, "cancelled":
        0, "total": 0, "rejected": 0}}'}
    headers:
      allow: ['GET, POST, HEAD, OPTIONS']
      connection: [keep-alive]
      content-length: ['736']
      content-type: [application/json]
      date: ['Wed, 12 Nov 2014 15:51:36 GMT']
      location: ['https://sandbox.emites.com.br/api/v1/batches/26']
      server: [nginx/1.4.7]
      user-agent: [emites-sandbox-v1]
      vary: ['Accept, Cookie']
      x-frame-options: [SAMEORIGIN]
    status: {code: 201, message: CREATED}
version: 1
