Texts
Texts allow defining common texts to reuse in invoices and budgets.
Formatted texts are returned in markdown format.
Texts can contain substitution variables. They can be consulted in any text editor in the application.
List texts
This endpoint allows the consultation of texts of your application.
HTTP Request
GET/texts
GET Parameters
Name | Type | Description |
---|---|---|
page | Integer / Optional / Min:1 | Page |
per_page | Integer / Optional / Min:1 Max:100 | Items per page |
200 Response
{
"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
}
}
Get a text
This endpoint allows the consultation of a text of your application.
HTTP Request
GET/texts/{id}
200 Response
{
"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"
}
}