ValleLabs
  1. institution
ValleLabs
  • auth
    • Login
      POST
    • Logout
      GET
    • Refresh Token
      POST
  • pei
    • definition
      • Get PEI definition
      • Update PEI definition
      • Create PEI definition
    • component
      • Administrative Management
        • Save principles fundamentals
        • Save objectives
        • Save school government
        • Save educational costs
        • Save resource evaluation
        • Save administrative organization management evaluation
        • Update principles fundamentals
        • Update objectives
        • Update school government
        • Update educational costs
        • Update resource evaluation
        • Update administrative organization management evaluation
      • Administrative Community Management
        • Save institutional situation analysis
        • Update institutional situation analysis
      • Academic pedagogical
        • Save pedagogical strategy
        • Save curriculum plan and evaluation and promotion criteria - PEI
        • Update pedagogical strategy
        • Update curriculum plan and evaluation and promotion criteria - PEI
      • Administrative Management Academic Pedagogical
        • Save coexistence manual and teacher regulations
        • Update coexistence manual and teacher regulations
      • Community
        • Save relationship social organizations
        • Save articulation cultural expressions
        • Save institutional diagnosis reference
        • Update relationship social organizations
        • Update articulation cultural expressions
        • Update institutional diagnosis reference
    • secretary
      • Get all PEI created
      • Get PEI by ID and aspect ID
      • Revision PEI with observations
      • Revision PEI without observations
    • school governing
      • Create school governing
      • Get school governing
    • institution
      • Save PEI data with a file
      • Send PEI data to revision
      • Get PEI data by aspect's indicator
      • Get PEI components
      • Get PEI status of completed
      • Get PEI History
    • Get total pei
      GET
    • Download PEI
      GET
  • institution
    • Create
      POST
    • Create massive
      POST
    • Update
      PUT
    • Find
      GET
    • Find all
      GET
    • FindByMunicipality
      GET
    • FindByHeadquarter
      GET
    • FindByGagem
      GET
    • Merge institution to institution
      POST
    • Create Merge institution to institution
      POST
    • Find history files
      GET
    • Get history file - role institution
      GET
    • Download all institutions
      POST
  • headquarter
    • Create
      POST
    • Update
      PUT
    • FindByInstitution
      GET
    • Find
      GET
    • Merge headquarters to institution
      POST
    • Find history files
      GET
    • FindByRoleInstitution
      GET
  • draft
    • institution
      • Create
      • Update
    • headquarter
      • Update
      • Create
    • Delete
    • FindByUser
  • change-history
    • FindByInstitution
    • FindByHeadquarter
    • FindByAspectIndicator
  • notification
    • Get by institution
    • Delete
  • user
    • Get institutions
  • indicator
    • Get totals (institutions, headquarters, aulas, students, teachers)
    • Get student-techear ratio
    • Get steam-room-ratio
    • Get totals modelsByInstitution
    • Get absense public-service by headquarter
    • Get steam-room
  • filters
    • List gagem
    • List establishment-type
    • List sector
    • List nature
    • List schedule
    • List area
    • List deparment
    • List municipality by deparment
    • List resolution-type
    • List headquarter-type
    • List state
    • List model
    • List character-due
    • List state-due
    • List specialty-due
    • List detailed-specialty
    • List grade
    • List academic-day
    • List public-service-type
    • List operator by public service
    • List municipality By Gagem
    • List role by institution
    • List zone
    • List modality
    • List labpoint
    • List state-quality
    • List environment
    • List organization
    • List financing-type
    • List document-type
    • List resource-physical-type
    • List resource-technological-type
    • List cultural-activity-type
    • List session-act-type
    • List organization-community-type
    • List model-pedagogical-type
    • List plan-type
    • List area-teacher
    • List project-type
    • List profile-type
    • List process-type
    • List area-knowledge
    • List curriculum-structure-type
    • List investigation-product-type
    • List tools
    • List service-type
    • List initiative-type
    • List curricular-levels
    • List population-group
    • List entrepreneurship-type
    • List area-type
    • List session-acts
  • file
    • Get url file
  1. institution

Update

PUT
/institution/{{institutionId}}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params multipart/form-data
data
string 
required
Example:
{ "basicData": { "logo": "http://localhost:9000/hvi/1734464261651-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241217%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241217T193741Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=30cfd970b3521a417fefca5ec6174ebf23d0cecdec14077167f801e8d7f4535b", "name": "Institución de Prueba", "gagem": "GAGEM 1", "nature": "Público", "sector": "Oficial", "calendar": "B", "daneCode": 9877654, "dueState": "Activo nuevo", "labPoint": "No", "modality": "Presencial", "legalStatus": "Si", "dueCharacter": "Académico", "dueSpecialty": [ "Comercial" ], "dueUpdateDate": "2024-06-05T15:34:35.006798", "numberOfStudents": 800, "detailedSpecialty": { "type": "AGROINDUSTRIAL", "numberOfTeachers": 100 }, "establishmentType": "Centro educativo", "coordinatingEntity": "Entidad Coordinadora" }, "resolutionData": [ { "id": "7b8a5998-8282-4ab6-8bc0-3bf7a50bb316", "date": "2023-01-15T00:00:00", "file": "http://localhost:9000/hvi/1734464261736-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241217%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241217T193741Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=d9ea1e4beb9e083f07ad86e4db3f9a8c31f47318d089bd4daa1b40dd230e6022", "type": "R. CIERRE", "description": "Descripción de la resolución 1" }, { "id": "7b8a5998-8282-4ab6-8bc0-3bf7a50bb318", "date": "2023-02-20T00:00:00", "file": "http://localhost:9000/hvi/1734464261736-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241217%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241217T193741Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=d9ea1e4beb9e083f07ad86e4db3f9a8c31f47318d089bd4daa1b40dd230e6022", "type": "R. DE FUSION PUBLICOS", "description": "Descripción de la resolución 2" }, { "id": "7b8a5998-8282-4ab6-8bc0-3bf7a50bb317", "date": "2023-03-25T00:00:00", "file": "http://localhost:9000/hvi/1734464261736-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241217%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241217T193741Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=d9ea1e4beb9e083f07ad86e4db3f9a8c31f47318d089bd4daa1b40dd230e6022", "type": "R. LICENCIA FUNCIONAMIENTO", "description": "Descripción de la resolución 3" } ], "contactInformation": { "zone": "El madrigal", "leaders": [ { "name": "Pablo", "role": "Profesor", "email": "prueba@hotmail.com", "phone": 65498484514 } ], "rectorID": 987654321, "department": "Valle del Cauca", "rectorName": "Juan Pérez", "rectorEmail": "rector@hotmail.com", "rectorPhoto": "http://localhost:9000/hvi/1734464261810-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241217%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241217T193741Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=ce4e41a2abdad4b6a5147932d0695815bbd75ff7f3c39b7e34177f04821900a5", "municipality": "Palmira", "additionalData": { "additionalContacts": [ { "name": "Cristina", "phone": 2232584 } ] }, "rectorCellPhone": 3001234567, "schoolOrientation": [ { "name": "Prueba", "email": "prueba@hotmail.com", "phone": 594813165, "coverageOfHeadquarter": "coverageOfHeadquarter" } ], "administrativeActFile": "http://localhost:9000/hvi/1734464261802-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241217%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241217T193741Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=8fc4a76c716cc9aab2d6ca6f54f7acfadb63c9dd7181fe7bebd9c9e4a840f634", "officesAdministrative": { "state": "Secretaria", "website": "www.prueba.com", "location": "Calle 1 # 2-3", "headquarter": "Cristina", "observation": "Observación" }, "administrativeActNumber": 12345 } }
logoFile
file 
optional
administrativeActFile
file 
optional
Example:
[]
resolutionFiles
file 
optional
rectorPhotoFile
file 
optional
administrativeActFileUpdate
file 
required
Example:
file://C:\Users\linaa\Downloads\Nueva carpeta\img009.pdf
administrativeActNumberUpdate
string 
required
Example:
55

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request PUT 'https://vallelabs-pei-hvi.talentum.edu.co/institution/{{institutionId}}' \
--form 'data="{
  \"basicData\": {
    \"logo\": \"http://localhost:9000/hvi/1734464261651-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241217%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241217T193741Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=30cfd970b3521a417fefca5ec6174ebf23d0cecdec14077167f801e8d7f4535b\",
    \"name\": \"Institución de Prueba\",
    \"gagem\": \"GAGEM 1\",
    \"nature\": \"Público\",
    \"sector\": \"Oficial\",
    \"calendar\": \"B\",
    \"daneCode\": 9877654,
    \"dueState\": \"Activo nuevo\",
    \"labPoint\": \"No\",
    \"modality\": \"Presencial\",
    \"legalStatus\": \"Si\",
    \"dueCharacter\": \"Académico\",
    \"dueSpecialty\": [
      \"Comercial\"
    ],
    \"dueUpdateDate\": \"2024-06-05T15:34:35.006798\",
    \"numberOfStudents\": 800,
    \"detailedSpecialty\": {
      \"type\": \"AGROINDUSTRIAL\",
      \"numberOfTeachers\": 100
    },
    \"establishmentType\": \"Centro educativo\",
    \"coordinatingEntity\": \"Entidad Coordinadora\"
  },
  \"resolutionData\": [
    {
      \"id\": \"7b8a5998-8282-4ab6-8bc0-3bf7a50bb316\",
      \"date\": \"2023-01-15T00:00:00\",
      \"file\": \"http://localhost:9000/hvi/1734464261736-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241217%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241217T193741Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=d9ea1e4beb9e083f07ad86e4db3f9a8c31f47318d089bd4daa1b40dd230e6022\",
      \"type\": \"R. CIERRE\",
      \"description\": \"Descripción de la resolución 1\"
    },
    {
      \"id\": \"7b8a5998-8282-4ab6-8bc0-3bf7a50bb318\",
      \"date\": \"2023-02-20T00:00:00\",
      \"file\": \"http://localhost:9000/hvi/1734464261736-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241217%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241217T193741Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=d9ea1e4beb9e083f07ad86e4db3f9a8c31f47318d089bd4daa1b40dd230e6022\",
      \"type\": \"R. DE FUSION PUBLICOS\",
      \"description\": \"Descripción de la resolución 2\"
    },
    {
      \"id\": \"7b8a5998-8282-4ab6-8bc0-3bf7a50bb317\",
      \"date\": \"2023-03-25T00:00:00\",
      \"file\": \"http://localhost:9000/hvi/1734464261736-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241217%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241217T193741Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=d9ea1e4beb9e083f07ad86e4db3f9a8c31f47318d089bd4daa1b40dd230e6022\",
      \"type\": \"R. LICENCIA FUNCIONAMIENTO\",
      \"description\": \"Descripción de la resolución 3\"
    }
  ],
  \"contactInformation\": {
    \"zone\": \"El madrigal\",
    \"leaders\": [
      {
        \"name\": \"Pablo\",
        \"role\": \"Profesor\",
        \"email\": \"prueba@hotmail.com\",
        \"phone\": 65498484514
      }
    ],
    \"rectorID\": 987654321,
    \"department\": \"Valle del Cauca\",
    \"rectorName\": \"Juan Pérez\",
    \"rectorEmail\": \"rector@hotmail.com\",
    \"rectorPhoto\": \"http://localhost:9000/hvi/1734464261810-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241217%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241217T193741Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=ce4e41a2abdad4b6a5147932d0695815bbd75ff7f3c39b7e34177f04821900a5\",
    \"municipality\": \"Palmira\",
    \"additionalData\": {
      \"additionalContacts\": [
        {
          \"name\": \"Cristina\",
          \"phone\": 2232584
        }
      ]
    },
    \"rectorCellPhone\": 3001234567,
    \"schoolOrientation\": [
      {
        \"name\": \"Prueba\",
        \"email\": \"prueba@hotmail.com\",
        \"phone\": 594813165,
        \"coverageOfHeadquarter\": \"coverageOfHeadquarter\"
      }
    ],
    \"administrativeActFile\": \"http://localhost:9000/hvi/1734464261802-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241217%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241217T193741Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=8fc4a76c716cc9aab2d6ca6f54f7acfadb63c9dd7181fe7bebd9c9e4a840f634\",
    \"officesAdministrative\": {
      \"state\": \"Secretaria\",
      \"website\": \"www.prueba.com\",
      \"location\": \"Calle 1 # 2-3\",
      \"headquarter\": \"Cristina\",
      \"observation\": \"Observación\"
    },
    \"administrativeActNumber\": 12345
  }
}"' \
--form 'logoFile=@""' \
--form 'resolutionFiles=@""' \
--form 'rectorPhotoFile=@""' \
--form 'administrativeActFileUpdate=@"C:\\Users\\linaa\\Downloads\\Nueva carpeta\\img009.pdf"' \
--form 'administrativeActNumberUpdate="55"'

Responses

🟢200OK
application/json
Body
message
string 
required
Example
{
    "message": "Institution updated successfully"
}
🟠401ValidationToken
🟠403ValidationRole
🟠404Record Not Found
🟠400Not Changes
Modified at 2024-12-17 19:48:31
Previous
Create massive
Next
Find
Built with