Skip to main content
POST /api/modulo Creates a new module record. The value of strNombreModulo is automatically converted to uppercase before being stored.

Request body

string
required
Name of the new module. Stored in uppercase regardless of the casing supplied.

Response

boolean
required
true when the module is created successfully.
object
required
The newly created module record as returned by the database.

Error responses

Validation and database errors for this endpoint return HTTP 200 with success: false in the body rather than a 4xx/5xx HTTP status code.

Examples

Success response

200

Error response (missing name)

200