---
title: "Consultar tercero"
method: GET
path: "/api/v1/terceros/consultar/{id}"
tags: ["Terceros"]
---

# Consultar tercero

`GET /api/v1/terceros/consultar/{id}`

<div id='DatosCrear'><p>Consultar tercero</p><div id='get'><span></span>https://api.worldoffice.cloud/api/v1/terceros/consultar</div>Consulta la información registrada en el sistema, con base en el id recibido<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/terceros/consultar/123</b><br><br>Respuesta en el data de la petici&oacute;n:<pre>data: {<br> id: integer,<br> terceroTipoIdentificacion: {<br>   id: integer,<br>   abreviatura: string,<br>   nombre: string,<br>   codigo: string,<br>   senEsEmpresa: boolean,<br>   senManejaDV: boolean,<br>   ubicacionPais: {<br>     id: integer,<br>     nombre: string,<br>     codigo: string,<br>     codAlterno: string<br>   }<br> },<br> identificacion: string,<br> digitoVerificacion: integer,<br> digitoVerificacionGenerado: boolean,<br> primerNombre: string,<br> segundoNombre: string,<br> primerApellido: string,<br> segundoApellido: string,<br> nombreCompleto: string,<br> ciudad: {<br>   id: integer,<br>   nombre: string,<br>   codigo: string,<br>   senSistema: boolean,<br>   ubicacionDepartamento: {<br>     id: integer,<br>     nombre: string,<br>     codigo: string,<br>     senSistema: boolean,<br>     ubicacionPais: {<br>       id: integer,<br>       nombre: string,<br>       codigo: string,<br>       codAlterno: string<br>     }<br>   }<br> },<br> codigo: string,<br> senActivo: boolean,<br> senManejaNomina: boolean,<br> atributos: boolean,<br> tarifaICA: integer,<br> aplicaICAVentas: boolean,<br> terceroTipos: [<br>   {<br>     id: integer,<br>     codigo: string,<br>     nombre: string<br>   }<br> ]<br>}</pre></div>

## Path parameters

- `id` integer, required

## Response `202`

La consulta es realizada correctamente

- ResponseAPITerceroPojo
  - `status` '100 CONTINUE' | '101 SWITCHING_PROTOCOLS' | '102 PROCESSING' | '103 EARLY_HINTS' | '103 CHECKPOINT' | '200 OK' | '201 CREATED' | '202 ACCEPTED' | '203 NON_AUTHORITATIVE_INFORMATION' | '204 NO_CONTENT' | '205 RESET_CONTENT' | '206 PARTIAL_CONTENT' | '207 MULTI_STATUS' | '208 ALREADY_REPORTED' | '226 IM_USED' | '300 MULTIPLE_CHOICES' | '301 MOVED_PERMANENTLY' | '302 FOUND' | '302 MOVED_TEMPORARILY' | '303 SEE_OTHER' | '304 NOT_MODIFIED' | '305 USE_PROXY' | '307 TEMPORARY_REDIRECT' | '308 PERMANENT_REDIRECT' | '400 BAD_REQUEST' | '401 UNAUTHORIZED' | '402 PAYMENT_REQUIRED' | '403 FORBIDDEN' | '404 NOT_FOUND' | '405 METHOD_NOT_ALLOWED' | '406 NOT_ACCEPTABLE' | '407 PROXY_AUTHENTICATION_REQUIRED' | '408 REQUEST_TIMEOUT' | '409 CONFLICT' | '410 GONE' | '411 LENGTH_REQUIRED' | '412 PRECONDITION_FAILED' | '413 PAYLOAD_TOO_LARGE' | '413 REQUEST_ENTITY_TOO_LARGE' | '414 URI_TOO_LONG' | '414 REQUEST_URI_TOO_LONG' | '415 UNSUPPORTED_MEDIA_TYPE' | '416 REQUESTED_RANGE_NOT_SATISFIABLE' | '417 EXPECTATION_FAILED' | '418 I_AM_A_TEAPOT' | '419 INSUFFICIENT_SPACE_ON_RESOURCE' | '420 METHOD_FAILURE' | '421 DESTINATION_LOCKED' | '422 UNPROCESSABLE_ENTITY' | '423 LOCKED' | '424 FAILED_DEPENDENCY' | '425 TOO_EARLY' | '426 UPGRADE_REQUIRED' | '428 PRECONDITION_REQUIRED' | '429 TOO_MANY_REQUESTS' | '431 REQUEST_HEADER_FIELDS_TOO_LARGE' | '451 UNAVAILABLE_FOR_LEGAL_REASONS' | '500 INTERNAL_SERVER_ERROR' | '501 NOT_IMPLEMENTED' | '502 BAD_GATEWAY' | '503 SERVICE_UNAVAILABLE' | '504 GATEWAY_TIMEOUT' | '505 HTTP_VERSION_NOT_SUPPORTED' | '506 VARIANT_ALSO_NEGOTIATES' | '507 INSUFFICIENT_STORAGE' | '508 LOOP_DETECTED' | '509 BANDWIDTH_LIMIT_EXCEEDED' | '510 NOT_EXTENDED' | '511 NETWORK_AUTHENTICATION_REQUIRED'
  - `userMessage` string
  - `developerMessage` object
  - `errorCode` string
  - `moreInfo` string
  - `data` TerceroPojo
    - `id` integer
    - `terceroTipoIdentificacion` TerceroTipoIdentificacionPojo
      - `id` integer
      - `abreviatura` string
      - `nombre` string
      - `codigo` string
      - `senEsEmpresa` boolean
      - `senManejaDV` boolean
    - `identificacion` string
    - `digitoVerificacion` integer
    - `digitoVerificacionGenerado` boolean
    - `primerNombre` string
    - `segundoNombre` string
    - `primerApellido` string
    - `segundoApellido` string
    - `nombreCompleto` string
    - `nombreCompletoEmpleado` string
    - `ciudad` UbicacionCiudadPojo
      - `id` integer
      - `ciudadNombre` string
      - `nombre` string
      - `codigo` string
      - `senSistema` boolean
      - `ubicacionDepartamento` UbicacionDepartamentoPojo
        - `id` integer
        - `nombre` string
        - `codigo` string
        - `senSistema` boolean
        - `ubicacionPais` UbicacionPaisPojo
          - `id` integer
          - `nombre` string
          - `codigo` string
          - `codAlterno` string
    - `codigo` string
    - `senActivo` boolean
    - `senManejaNomina` boolean
    - `atributos` boolean
    - `tarifaICA` number
    - `aplicaICAVentas` boolean
    - `terceroTipos` TerceroTipoPojo[]
      - `id` integer
      - `codigo` string
      - `nombre` string
    - `tieneDirPrincipal` boolean
    - `direccionPrincipal` DireccionPojo
      - `id` integer
      - `direccion` string
      - `ciudad` string
      - `telefonoPrincipal` string
      - `emailPrincipal` string
      - `sucursal` string
      - `senPrincipal` boolean
      - `terceroTipoDireccionId` integer
      - `ciudadId` integer
      - `terceroTipoTelefonoId` integer
      - `numeroTelefonoPrincipal` string

## Other responses

- `400` — Bad Request
- `403` — No se han asignados permisos para consultar este servicio
- `404` — Tercero no encontrado
- `409` — Conflict
- `500` — Error interno del servidor

---

[API](https://skmtc.dev/worldoffice/apis/world-office-api.md) · [All operations](https://skmtc.dev/worldoffice/apis/world-office-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/worldoffice/world-office-api/revisions/ab962606cb0a/schema)
