ValleLabs
  1. headquarter
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. headquarter

Update

PUT
/headquarter/{{headquarterId}}

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": { "name": "Sede de Prueba", "type": "Principal", "photo": "http://localhost:9000/hvi/1734622651614-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241219%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241219T153731Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=2e11770f2051b4a362f9121db4f0aa363c8f66a648fcc54ee4afd1a8370027ee", "grades": [ "1", "2", "4" ], "levels": [ { "level": 5, "numberOfStudents": 100 } ], "models": "ESCUELA NUEVA", "address": "Calle 98 # 50", "daneCode": 9876548, "dueState": "Activo nuevo", "latitude": "3.123456", "longitude": "4.123456", "agreements": [ { "name": "Convenio Sena", "numberOfStudents": 500 } ], "department": "Valle del Cauca", "academicDay": [ { "type": "MAÑANA", "numberOfStudents": 500, "numberOfStudentsByHeadquarter": 800 } ], "municipality": "Palmira", "detailAddress": "Detalles de la dirección", "academicSector": "Técnico", "classification": "Classification", "numberOfStudents": 700, "numberOfTeachers": 100, "productiveSector": "Industrial", "numberOfTeachersTIC": 5, "administrativeActFile": "http://localhost:9000/hvi/1734622651642-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241219%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241219T153731Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=f89b526e697597051a38aef5646b1288cb5f10bb1c8ef9f13cdb7b8eee973474", "administrativeActNumber": 12345 }, "resolutionData": [ { "id": "7b8a5998-8282-4ab6-8bc0-3bf7a50bb316", "date": "2023-01-15T00:00:00", "file": "http://localhost:9000/hvi/1734622651679-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241219%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241219T153731Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=9b0e185b773d4a0db3a1f16f32a9d3671993fb61340e1ab2e0d28e3a35a6db01", "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/1734622651679-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241219%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241219T153731Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=9b0e185b773d4a0db3a1f16f32a9d3671993fb61340e1ab2e0d28e3a35a6db01", "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/1734622651679-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241219%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241219T153731Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=9b0e185b773d4a0db3a1f16f32a9d3671993fb61340e1ab2e0d28e3a35a6db01", "type": "R. LICENCIA FUNCIONAMIENTO", "description": "Descripción de la resolución 3" } ], "contactInformation": { "address": "Kra 98 50", "coordinatorName": "Pepito", "coordinatorEmail": "pepito@hotmail.com", "coordinatorPhone": 44848152684, "additionalContacts": [ { "name": "Cristina", "email": "perez@yopmail.com", "phone": 2232584, "position": "Rector" } ] }, "infrastructureData": { "area": 500, "review": "Nada", "classroom": [ { "grade": 5, "state": "Verde", "quantity": 88, "observation": "Nada" } ], "standBooks": "Nada", "landUseFile": "http://localhost:9000/hvi/1734622651667-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241219%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241219T153731Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=987613e6b2c09f523f54d075eaf5e6c1f3d11920dcafc51bf1868084e7886938", "environments": [ { "name": "Verde", "type": "Aulas STEAM", "state": "Verde", "location": "Verde", "observation": "Nada" } ], "propertyOwner": "Juan Pérez", "cellPhoneOwner": 3001234567, "healthServices": [ { "state": "Verde", "location": "Calle 98 # 50", "operator": "EPS SURA", "observation": "Nada", "typeBattery": "Básico", "typeDisposition": "Nada" } ], "publicServices": [ { "type": "Agua", "zone": "Sur", "operator": "EMCALI", "observation": "Nada", "counterNumber": 8848158 }, { "type": "Energía", "zone": "Norte", "operator": "EMCALI", "observation": "Nada", "counterNumber": 8848158 } ], "realEstateRegistration": "12345-ABCDE", "realEstateRegistrationFile": "http://localhost:9000/hvi/1734622651656-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241219%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241219T153731Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=3972f06bed82bbacf4c35cafbe90ae010c220772aa683784be5a3318fc4eac16" }, "territorialInformation": { "transit": "Transito", "interestPoint": [ { "phone": 55848486, "address": "Dirección", "organization": "organization" } ], "roadConditions": "Malo" } }
realEstateRegistrationFile
file 
optional
photoFile
file 
optional
landUseFile
file 
optional
resolutionFiles
file 
optional
administrativeActNumberUpdate
string 
optional
Example:
99
administrativeActFileUpdate
file 
optional
Example:
file://C:\Users\linaa\Desktop\Sin título.pdf

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/headquarter/{{headquarterId}}' \
--form 'data="{
  \"basicData\": {
    \"name\": \"Sede de Prueba\",
    \"type\": \"Principal\",
    \"photo\": \"http://localhost:9000/hvi/1734622651614-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241219%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241219T153731Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=2e11770f2051b4a362f9121db4f0aa363c8f66a648fcc54ee4afd1a8370027ee\",
    \"grades\": [
      \"1\",
      \"2\",
      \"4\"
    ],
    \"levels\": [
      {
        \"level\": 5,
        \"numberOfStudents\": 100
      }
    ],
    \"models\": \"ESCUELA NUEVA\",
    \"address\": \"Calle 98 # 50\",
    \"daneCode\": 9876548,
    \"dueState\": \"Activo nuevo\",
    \"latitude\": \"3.123456\",
    \"longitude\": \"4.123456\",
    \"agreements\": [
      {
        \"name\": \"Convenio Sena\",
        \"numberOfStudents\": 500
      }
    ],
    \"department\": \"Valle del Cauca\",
    \"academicDay\": [
      {
        \"type\": \"MAÑANA\",
        \"numberOfStudents\": 500,
        \"numberOfStudentsByHeadquarter\": 800
      }
    ],
    \"municipality\": \"Palmira\",
    \"detailAddress\": \"Detalles de la dirección\",
    \"academicSector\": \"Técnico\",
    \"classification\": \"Classification\",
    \"numberOfStudents\": 700,
    \"numberOfTeachers\": 100,
    \"productiveSector\": \"Industrial\",
    \"numberOfTeachersTIC\": 5,
    \"administrativeActFile\": \"http://localhost:9000/hvi/1734622651642-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241219%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241219T153731Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=f89b526e697597051a38aef5646b1288cb5f10bb1c8ef9f13cdb7b8eee973474\",
    \"administrativeActNumber\": 12345
  },
  \"resolutionData\": [
    {
      \"id\": \"7b8a5998-8282-4ab6-8bc0-3bf7a50bb316\",
      \"date\": \"2023-01-15T00:00:00\",
      \"file\": \"http://localhost:9000/hvi/1734622651679-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241219%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241219T153731Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=9b0e185b773d4a0db3a1f16f32a9d3671993fb61340e1ab2e0d28e3a35a6db01\",
      \"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/1734622651679-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241219%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241219T153731Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=9b0e185b773d4a0db3a1f16f32a9d3671993fb61340e1ab2e0d28e3a35a6db01\",
      \"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/1734622651679-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241219%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241219T153731Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=9b0e185b773d4a0db3a1f16f32a9d3671993fb61340e1ab2e0d28e3a35a6db01\",
      \"type\": \"R. LICENCIA FUNCIONAMIENTO\",
      \"description\": \"Descripción de la resolución 3\"
    }
  ],
  \"contactInformation\": {
    \"address\": \"Kra 98 50\",
    \"coordinatorName\": \"Pepito\",
    \"coordinatorEmail\": \"pepito@hotmail.com\",
    \"coordinatorPhone\": 44848152684,
    \"additionalContacts\": [
      {
        \"name\": \"Cristina\",
        \"email\": \"perez@yopmail.com\",
        \"phone\": 2232584,
        \"position\": \"Rector\"
      }
    ]
  },
  \"infrastructureData\": {
    \"area\": 500,
    \"review\": \"Nada\",
    \"classroom\": [
      {
        \"grade\": 5,
        \"state\": \"Verde\",
        \"quantity\": 88,
        \"observation\": \"Nada\"
      }
    ],
    \"standBooks\": \"Nada\",
    \"landUseFile\": \"http://localhost:9000/hvi/1734622651667-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241219%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241219T153731Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=987613e6b2c09f523f54d075eaf5e6c1f3d11920dcafc51bf1868084e7886938\",
    \"environments\": [
      {
        \"name\": \"Verde\",
        \"type\": \"Aulas STEAM\",
        \"state\": \"Verde\",
        \"location\": \"Verde\",
        \"observation\": \"Nada\"
      }
    ],
    \"propertyOwner\": \"Juan Pérez\",
    \"cellPhoneOwner\": 3001234567,
    \"healthServices\": [
      {
        \"state\": \"Verde\",
        \"location\": \"Calle 98 # 50\",
        \"operator\": \"EPS SURA\",
        \"observation\": \"Nada\",
        \"typeBattery\": \"Básico\",
        \"typeDisposition\": \"Nada\"
      }
    ],
    \"publicServices\": [
      {
        \"type\": \"Agua\",
        \"zone\": \"Sur\",
        \"operator\": \"EMCALI\",
        \"observation\": \"Nada\",
        \"counterNumber\": 8848158
      },
      {
        \"type\": \"Energía\",
        \"zone\": \"Norte\",
        \"operator\": \"EMCALI\",
        \"observation\": \"Nada\",
        \"counterNumber\": 8848158
      }
    ],
    \"realEstateRegistration\": \"12345-ABCDE\",
    \"realEstateRegistrationFile\": \"http://localhost:9000/hvi/1734622651656-SintAtulo.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20241219%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241219T153731Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=3972f06bed82bbacf4c35cafbe90ae010c220772aa683784be5a3318fc4eac16\"
  },
  \"territorialInformation\": {
    \"transit\": \"Transito\",
    \"interestPoint\": [
      {
        \"phone\": 55848486,
        \"address\": \"Dirección\",
        \"organization\": \"organization\"
      }
    ],
    \"roadConditions\": \"Malo\"
  }
}"' \
--form 'realEstateRegistrationFile=@""' \
--form 'photoFile=@""' \
--form 'landUseFile=@""' \
--form 'resolutionFiles=@""' \
--form 'administrativeActNumberUpdate="99"' \
--form 'administrativeActFileUpdate=@"C:\\Users\\linaa\\Desktop\\Sin título.pdf"'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
🟠401ValidationToken
🟠403ValidationRole
Modified at 2024-12-19 18:05:00
Previous
Create
Next
FindByInstitution
Built with