POST api/Tarea
Request Information
URI Parameters
None.
Body Parameters
Tarea| Name | Description | Type | Additional information |
|---|---|---|---|
| IdTarea | integer |
None. |
|
| IdProyecto | integer |
None. |
|
| Nombre | string |
None. |
|
| FechaInicio | date |
None. |
|
| FechaFin | date |
None. |
|
| Notas | string |
None. |
|
| Activo | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdTarea": 1,
"IdProyecto": 2,
"Nombre": "sample string 3",
"FechaInicio": "2025-12-05T20:25:49.1373057-08:00",
"FechaFin": "2025-12-05T20:25:49.1373057-08:00",
"Notas": "sample string 4",
"Activo": true
}
application/xml, text/xml
Sample:
<Tarea xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tareas.Api.Models"> <Activo>true</Activo> <FechaFin>2025-12-05T20:25:49.1373057-08:00</FechaFin> <FechaInicio>2025-12-05T20:25:49.1373057-08:00</FechaInicio> <IdProyecto>2</IdProyecto> <IdTarea>1</IdTarea> <Nombre>sample string 3</Nombre> <Notas>sample string 4</Notas> </Tarea>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Tarea| Name | Description | Type | Additional information |
|---|---|---|---|
| IdTarea | integer |
None. |
|
| IdProyecto | integer |
None. |
|
| Nombre | string |
None. |
|
| FechaInicio | date |
None. |
|
| FechaFin | date |
None. |
|
| Notas | string |
None. |
|
| Activo | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"IdTarea": 1,
"IdProyecto": 2,
"Nombre": "sample string 3",
"FechaInicio": "2025-12-05T20:25:49.1413096-08:00",
"FechaFin": "2025-12-05T20:25:49.1413096-08:00",
"Notas": "sample string 4",
"Activo": true
}
application/xml, text/xml
Sample:
<Tarea xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tareas.Api.Models"> <Activo>true</Activo> <FechaFin>2025-12-05T20:25:49.1413096-08:00</FechaFin> <FechaInicio>2025-12-05T20:25:49.1413096-08:00</FechaInicio> <IdProyecto>2</IdProyecto> <IdTarea>1</IdTarea> <Nombre>sample string 3</Nombre> <Notas>sample string 4</Notas> </Tarea>