Ir al contenido principal

Página nueva

Nombre del servicio

  • Módulo: Inicial
  • Servicio: Linkear publicacion

Contexto funcional

  • ¿Cuándo se usa? Al iniciar sesión.
  • ¿Qué hace?
  • Pantallazo de la app:

image.png

Detalles técnicos

Request ejemplo:

{
    "cookie": "sid=Guest", 
    "name": "post-00224", 
    "marked": 1
}

Response ejemplo:

Servicios relacionados

{
    "valor": false,
    "msn": "Error al generar Servicio",
    "data": "{\\"exc_type\\":\\"PermissionError\\",\\"exc\\":\\"[\\\\\\"Traceback (most recent call last):\\\\\\\\n  File \\\\\\\\\\\\\\"/home/erpnext/frappe-bench/apps/frappe/frappe/app.py\\\\\\\\\\\\\\", line 68, in application\\\\\\\\n    response = frappe.api.handle()\\\\\\\\n  File \\\\\\\\\\\\\\"/home/erpnext/frappe-bench/apps/frappe/frappe/api.py\\\\\\\\\\\\\\", line 55, in handle\\\\\\\\n    return frappe.handler.handle()\\\\\\\\n  File \\\\\\\\\\\\\\"/home/erpnext/frappe-bench/apps/frappe/frappe/handler.py\\\\\\\\\\\\\\", line 31, in handle\\\\\\\\n    data = execute_cmd(cmd)\\\\\\\\n  File \\\\\\\\\\\\\\"/home/erpnext/frappe-bench/apps/frappe/frappe/handler.py\\\\\\\\\\\\\\", line 64, in execute_cmd\\\\\\\\n    is_whitelisted(method)\\\\\\\\n  File \\\\\\\\\\\\\\"/home/erpnext/frappe-bench/apps/frappe/frappe/__init__.py\\\\\\\\\\\\\\", line 593, in is_whitelisted\\\\\\\\n    throw(_(\\\\\\\\\\\\\\"Not permitted\\\\\\\\\\\\\\"), PermissionError)\\\\\\\\n  File \\\\\\\\\\\\\\"/home/erpnext/frappe-bench/apps/frappe/frappe/__init__.py\\\\\\\\\\\\\\", line 432, in throw\\\\\\\\n    msgprint(msg, raise_exception=exc, title=title, indicator='red', is_minimizable=is_minimizable, wide=wide, as_list=as_list)\\\\\\\\n  File \\\\\\\\\\\\\\"/home/erpnext/frappe-bench/apps/frappe/frappe/__init__.py\\\\\\\\\\\\\\", line 411, in msgprint\\\\\\\\n    _raise_exception()\\\\\\\\n  File \\\\\\\\\\\\\\"/home/erpnext/frappe-bench/apps/frappe/frappe/__init__.py\\\\\\\\\\\\\\", line 365, in _raise_exception\\\\\\\\n    raise raise_exception(msg)\\\\\\\\nfrappe.exceptions.PermissionError: Not permitted\\\\\\\\n\\\\\\"]\\",\\"_server_messages\\":\\"[\\\\\\"{\\\\\\\\\\\\\\"message\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"Not permitted\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"indicator\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"red\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"raise_exception\\\\\\\\\\\\\\": 1}\\\\\\"]\\"}"
}
        

DOCUMENTACION DE SERVICIO: https://shalom-documentation.shalomcontrol.com/books/doc-servicios-app-shalom-familia/page/pagina-nueva-registerlikeforposts