{"openapi":"3.0.3","info":{"title":"API BIAN - Party Reference Data Directory - Banco Pichincha","description":"API para el Service Domain 'Party Reference Data Directory' del área de negocio Sales & Service, alineada con BIAN.","version":"1.0.0"},"servers":[{"url":"https://virtserver.swaggerhub.com/urp-696/banco-pichincha-party-reference-data-directory-api/1.0.0","description":"Servidor Mock de SwaggerHub (simulado)"},{"url":"https://api-banco-pichincha-party-reference-data-directory.a.run.app","description":"Endpoint en Cloud Run (producción futura)"}],"paths":{"/party-reference/retrieve":{"post":{"summary":"Recuperar datos de referencia de la parte","description":"Obtiene los datos de referencia (contacto, demográficos, asociaciones) de una persona, corporación o socio.","operationId":"retrievePartyReference","security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetrievePartyReferenceRequest"}}}},"responses":{"200":{"description":"Datos recuperados exitosamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetrievePartyReferenceResponse"}}}},"401":{"description":"No autorizado"},"500":{"description":"Error interno del servidor"}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"RetrievePartyReferenceRequest":{"type":"object","properties":{"partyId":{"type":"string","description":"Identificador de la parte (cliente, socio, etc.)"},"partyType":{"type":"string","description":"Tipo de parte (ej. 'individual', 'corporativo', 'socio')"}},"required":["partyId"]},"RetrievePartyReferenceResponse":{"type":"object","properties":{"partyId":{"type":"string"},"fullName":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"address":{"type":"string"},"partyType":{"type":"string"}}}}}}