Crear un plan

post/plans

Request

  • Base URL
    https://www.cloud.wispro.co/api/v1
  • URL
    https://www.cloud.wispro.co/api/v1/plans
  • Auth
    API key in header Authorization

Request body

namestring required

Nombre del plan

cirnumber float

Porcentaje de ancho de banda a garantizar a cada contrato

ceil_down_kbpsinteger required

Bajada máxima expresada en kbps

ceil_up_kbpsinteger required

Subida máxima expresada en kbps

pricenumber float required

Precio que tendrá el plan

frequency_in_monthsinteger

Lapso de tiempo en el que se crearán las facturas

Response

200

statusinteger

Example response

{
  "status": 200,
  "meta": {
    "object": "plan"
  },
  "data": {
    "id": "382b4120-f124-4f33-8bad-0e6c767e88bc",
    "name": "Plan Name",
    "public_id": 3,
    "cir": "0.1",
    "ceil_down_kbps": 128,
    "ceil_up_kbps": 128,
    "price": "500.0",
    "frequency_in_months": 1,
    "created_at": "2021-05-27T12:27:22.547-03:00",
    "updated_at": "2021-05-27T12:27:22.547-03:00"
  }
}

Changes