Textos
Los textos permiten definir textos comunes para reutilizar en facturas y presupuestos.
Los textos formateados son devueltos en formato markdown.
Los textos pueden contener variables de sustitución. Se pueden consultar las mismas en cualquier editor de textos en la aplicación.
Listar textos
Este endpoint permite la consulta de los textos de tu aplicación.
Petición HTTP
GET/texts
Parámetros GET
Nombre | Tipo | Descripción |
---|---|---|
page | Entero / Opcional / Min:1 | Página |
per_page | Entero / Opcional / Min:1 Max:100 | Elementos por página |
200 Respuesta
{
"data": [
{
"id": 1,
"name": {
"es": "Ley lopd",
"en": "Lopd law"
},
"description": {
"es": "## Lopd xxx es el Responsable del tratamiento de los datos personales proporcionados bajo su consentimiento y le informa de que estos datos serán tratados de conformidad con lo dispuesto en el Reglamento (UE) 2016\/679, de 27 de abril (**GDPR), y la Ley Orgánica 3\/2018, de 5 de diciembre (**LOPDGDD), con la finalidad de mantener una relación comercial (en base a una relación contractual, obligación legal o interés legítimo) y conservarlos durante no más tiempo del necesario para mantener el fin del tratamiento o mientras existan prescripciones legales que dictaminen su custodia. No se comunicarán los datos a terceros, salvo obligación legal. Asimismo, se le informa de que puede ejercer los derechos de acceso, rectificación, portabilidad y supresión de sus datos y los de limitación y oposición a su tratamiento dirigiéndose a xxx en xxx. E-mail: xxx y el de reclamación a [www.aepd.es](http:\/\/www.aepd.es)****",
"en": "## Lopd xxx is the person in charge of processing the personal data provided under your consent and informs you that these data will be treated in accordance with the provisions of Regulation (EU) 2016\/679, of April 27 (**GDPR), and the Organic Law 3\/2018, of December 5 (**LOPDGDD), in order to maintain a commercial relationship (based on a contractual relationship, legal obligation or legitimate interest) and keep them for no longer than necessary to maintain the end of the treatment or while there are legal prescriptions that dictate their custody. The data will not be communicated to third parties, except legal obligation. Likewise, you are informed that you can exercise your rights of access, rectification, portability and deletion of your data and those of limitation and opposition to its treatment by contacting xxx en xxx. E-mail: xxx and the claim to [www.aepd.es](http:\/\/www.aepd.es)****"
},
"created_at": "2022-09-30T15:30:15+00:00",
"updated_at": "2022-09-30T15:30:15+00:00"
}
],
"links": {
"first": "http:\/\/api.orzame.com\/v1\/texts?page=1",
"last": "http:\/\/api.orzame.com\/v1\/texts?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"path": "http:\/\/api.orzame.com\/v1\/texts",
"per_page": 100,
"to": 1,
"total": 1
}
}
Obtener un texto
Este endpoint permite la consulta de un texto de tu aplicación.
Petición HTTP
GET/texts/{id}
200 Respuesta
{
"data": {
"id": 1,
"name": {
"es": "Ley lopd",
"en": "Lopd law"
},
"description": {
"es": "## Lopd xxx es el Responsable del tratamiento de los datos personales proporcionados bajo su consentimiento y le informa de que estos datos serán tratados de conformidad con lo dispuesto en el Reglamento (UE) 2016\/679, de 27 de abril (**GDPR), y la Ley Orgánica 3\/2018, de 5 de diciembre (**LOPDGDD), con la finalidad de mantener una relación comercial (en base a una relación contractual, obligación legal o interés legítimo) y conservarlos durante no más tiempo del necesario para mantener el fin del tratamiento o mientras existan prescripciones legales que dictaminen su custodia. No se comunicarán los datos a terceros, salvo obligación legal. Asimismo, se le informa de que puede ejercer los derechos de acceso, rectificación, portabilidad y supresión de sus datos y los de limitación y oposición a su tratamiento dirigiéndose a xxx en xxx. E-mail: xxx y el de reclamación a [www.aepd.es](http:\/\/www.aepd.es)****",
"en": "## Lopd xxx is the person in charge of processing the personal data provided under your consent and informs you that these data will be treated in accordance with the provisions of Regulation (EU) 2016\/679, of April 27 (**GDPR), and the Organic Law 3\/2018, of December 5 (**LOPDGDD), in order to maintain a commercial relationship (based on a contractual relationship, legal obligation or legitimate interest) and keep them for no longer than necessary to maintain the end of the treatment or while there are legal prescriptions that dictate their custody. The data will not be communicated to third parties, except legal obligation. Likewise, you are informed that you can exercise your rights of access, rectification, portability and deletion of your data and those of limitation and opposition to its treatment by contacting xxx en xxx. E-mail: xxx and the claim to [www.aepd.es](http:\/\/www.aepd.es)****"
},
"created_at": "2022-09-30T15:30:15+00:00",
"updated_at": "2022-09-30T15:30:15+00:00"
}
}