Plantillas de expedientes
Plantillas de expedientes
GET https://api.test.fandit.es/api/v2/templates/
Petición paginada para obtener todas las plantillas necesarias para la creación de un expediente.
Cabeceras
| Authorization string | |
|---|---|
| Token de experto (Obligatorio). |
Respuesta
Object
count number
next string
previous string
results array of objects
copied boolean
created_at string
custom_forms Object
mine number
others number
expert_data Object
email string
id number
name string
experts array
fund_data Object
id number
title string
id number
platform string
public boolean
title string
updated_at string
curl--request GET \--url 'https://api.test.fandit.es/api/v2/templates/' \ import requests
url = "https://api.test.fandit.es/api/v2/templates/"
response = requests.get(url)
print(response.status_code)
print(response.json())
const url = "https://api.test.fandit.es/api/v2/templates/";
const options = {
method: "GET",
headers: {
}
};
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
const url: string = "https://api.test.fandit.es/api/v2/templates/";
const options: RequestInit = {
method: "GET",
headers: {
}
};
const response = await fetch(url, options);
const data: any = await response.json();
console.log(data);
<?php
$url = "https://api.test.fandit.es/api/v2/templates/";
$curl = curl_init($url);
curl_setopt_array($curl, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
]
]);
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import java.io.IOException;
import okhttp3.*;
public class FanditApiExample {
public static void main(String[] args) throws IOException {
OkHttpClient client = new OkHttpClient();
String url = "https://api.test.fandit.es/api/v2/templates/";
Request request = new Request.Builder()
.url(url)
.get()
.build();
try (Response response = client.newCall(request).execute()) {
System.out.println(response.body().string());
}
}
}
Respuesta Ejemplo de respuesta
{
"count": 14,
"next": "https://api.fandit.es/api/v2/templates/?page=2",
"previous": null,
"results": [
{
"copied": false,
"created_at": "2025-11-04T09:32:11Z",
"custom_forms": {
"mine": 3,
"others": 8
},
"expert_data": {
"email": "marta.sanchez@fandit.es",
"id": 34,
"name": "Marta Sánchez"
},
"experts": [
12,
34,
56
],
"fund_data": {
"id": 210,
"title": "Kit Digital - Segmento III"
},
"id": 58,
"platform": "fandit",
"public": true,
"title": "Plantilla Kit Digital",
"updated_at": "2026-02-18T14:05:44Z"
},
{
"copied": true,
"created_at": "2025-09-22T11:10:03Z",
"custom_forms": {
"mine": 1,
"others": 2
},
"expert_data": {
"email": "javier.ortega@fandit.es",
"id": 12,
"name": "Javier Ortega"
},
"experts": [
12
],
"fund_data": {
"id": 187,
"title": "Ayudas I+D+i Industria 4.0"
},
"id": 41,
"platform": "fandit",
"public": false,
"title": "Plantilla I+D+i",
"updated_at": "2026-01-30T08:47:19Z"
}
]
}