interactions:
- request:
    body: '{"emitter_id": 13, "name": "Lote de teste da API"}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Basic Njg1MTY3RDQxOTBEOTRBOTQ2MTk0ODdBMTA2NTYxRTc6]
      Cache-Control: [no-cache]
      Connection: [keep-alive]
      Content-Length: ['50']
      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/24",
        "method": "GET", "rel": "self"}, {"href": "https://sandbox.emites.com.br/api/v1/batches/24/nfse",
        "method": "GET", "rel": "nfse"}, {"href": "https://sandbox.emites.com.br/api/v1/batches/24/send",
        "method": "POST", "rel": "send"}, {"href": "https://sandbox.emites.com.br/api/v1/batches/24/cancel",
        "method": "POST", "rel": "cancel"}, {"href": "https://sandbox.emites.com.br/api/v1/batches/24/history",
        "method": "GET", "rel": "history"}], "id": 24, "name": "Lote de teste da API",
        "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: ['728']
      content-type: [application/json]
      date: ['Tue, 11 Nov 2014 20:17:36 GMT']
      location: ['https://sandbox.emites.com.br/api/v1/batches/24']
      server: [nginx/1.4.7]
      user-agent: [emites-sandbox-v1]
      vary: ['Accept, Cookie']
      x-frame-options: [SAMEORIGIN]
    status: {code: 201, message: CREATED}
version: 1
