Ir al contenido
UnoPagoDocumentación
Referencia de la APISchoolsSections

Create a new section or update an existing section for a specific grade.

POST
/v1/grades/sections

Autorización

bearerAuth
headerAutorizaciónBearer <token>

Your API key, created in Configuración → Claves API. The key alone, without the Bearer prefix, is accepted too.

application/json
  1. body
sectionId?string
Patrón^[cC][0-9a-z]{6,}$
Formatocuid
name*string
gradeId*string
Patrón^[cC][0-9a-z]{6,}$
Formatocuid

Cuerpo de la respuesta

Successful response

application/json
  1. response
id*string
Patrón^[cC][0-9a-z]{6,}$
Formatocuid
name*string
Ejemplo de solicitud
curl -X POST 'https://api.unopago.com/v1/grades/sections' \  -H 'Content-Type: application/json' \  -d '{  "name": "string",  "gradeId": "string"}'
Ejemplo de respuesta
{  "id": "string",  "name": "string"}