GET api/Posts/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Post
NameDescriptionTypeAdditional 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.

Response 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": "2024-12-22T23:53:04.1696239+00:00",
  "fechaCreacion": "2024-12-22T23:53:04.1696239+00:00",
  "usuario": "sample string 7",
  "borrado": "2024-12-22T23:53:04.1696239+00:00"
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.