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
        • Govierno escolar fail
      • 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
    • Update
    • FindByInstitution
    • Find
    • Merge headquarters to institution
    • Find history files
    • FindByRoleInstitution
  • draft
    • institution
      • Create
        GET
      • Update
        PUT
    • headquarter
      • Update
      • Create
    • Delete
      DELETE
    • FindByUser
      GET
  • 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

Create

GET
/change-draft/institution/{{institutionId}}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
    "basicData": {
        "nit": "string",
        "daneCode": 0,
        "name": "string",
        "logo": "string",
        "gagem": "string",
        "establishmentType": "string",
        "sector": "string",
        "nature": "string",
        "legalStatus": "string",
        "calendar": "A",
        "coordinatingEntity": "string",
        "dueUpdateDate": "2019-08-24T14:15:22Z",
        "dueUpdate": "2019-08-24T14:15:22Z",
        "photo": "string"
    },
    "contactInformation": {
        "administrativeActNumber": 0,
        "administrativeActFile": "string",
        "rectorName": "string",
        "rectorID": 0,
        "rectorCellphone": 0,
        "zone": "string",
        "department": "string",
        "municipality": "string",
        "website": "string"
    },
    "resolutionData": [
        {
            "type": "string",
            "date": "2019-08-24T14:15:22Z",
            "description": "string",
            "file": "string"
        }
    ]
}

Request Code 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 GET 'https://vallelabs-pei-hvi.talentum.edu.co/change-draft/institution/{{institutionId}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "basicData": {
        "nit": "string",
        "daneCode": 0,
        "name": "string",
        "logo": "string",
        "gagem": "string",
        "establishmentType": "string",
        "sector": "string",
        "nature": "string",
        "legalStatus": "string",
        "calendar": "A",
        "coordinatingEntity": "string",
        "dueUpdateDate": "2019-08-24T14:15:22Z",
        "dueUpdate": "2019-08-24T14:15:22Z",
        "photo": "string"
    },
    "contactInformation": {
        "administrativeActNumber": 0,
        "administrativeActFile": "string",
        "rectorName": "string",
        "rectorID": 0,
        "rectorCellphone": 0,
        "zone": "string",
        "department": "string",
        "municipality": "string",
        "website": "string"
    },
    "resolutionData": [
        {
            "type": "string",
            "date": "2019-08-24T14:15:22Z",
            "description": "string",
            "file": "string"
        }
    ]
}'

Responses

🟢201Created
application/json
Body

Example
{"message":"Draft created successfully","data":"f2ab50c4-492e-4e86-a0a6-dcf0574ff785"}
🟠401ValidationToken
🟠403ValidationRole
🟠400Draft Already Exists - CurrentUser
🟠403Draft Already Exists - Other User
Modified at 2024-09-09 16:54:14
Previous
FindByRoleInstitution
Next
Update
Built with