PUT api/Posts/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
Post| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| pagina_id | integer |
Required |
|
| nombre | string |
Required String length: inclusive between 0 and 50 |
|
| titulo | string |
String length: inclusive between 0 and 300 |
|
| subtitulo | string |
String length: inclusive between 0 and 150 |
|
| contenido | string |
None. |
|
| fechaModificacion | date |
Data type: DateTime |
|
| fechaCreacion | date |
Data type: DateTime |
|
| usuario | string |
String length: inclusive between 0 and 150 |
|
| borrado | date |
Data type: DateTime |
|
| Pagina | Pagina |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"pagina_id": 2,
"nombre": "sample string 3",
"titulo": "sample string 4",
"subtitulo": "sample string 5",
"contenido": "sample string 6",
"fechaModificacion": "2025-10-30T13:34:17.1837948+00:00",
"fechaCreacion": "2025-10-30T13:34:17.1837948+00:00",
"usuario": "sample string 7",
"borrado": "2025-10-30T13:34:17.1837948+00:00"
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.