POST api/Paginas

Request Information

URI Parameters

None.

Body Parameters

Pagina
NameDescriptionTypeAdditional information
id

integer

None.

nombre

string

Required

titulo

string

Required

banner

string

Required

idioma

integer

None.

division

integer

None.

borrado

date

Data type: DateTime

dominio

integer

None.

Post

Collection of Post

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "nombre": "sample string 2",
  "titulo": "sample string 3",
  "banner": "sample string 4",
  "idioma": 1,
  "division": 1,
  "borrado": "2024-12-22T23:21:57.0542239+00:00",
  "dominio": 1,
  "Post": [
    {
      "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:21:57.0542239+00:00",
      "fechaCreacion": "2024-12-22T23:21:57.0542239+00:00",
      "usuario": "sample string 7",
      "borrado": "2024-12-22T23:21:57.0542239+00:00"
    },
    {
      "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:21:57.0542239+00:00",
      "fechaCreacion": "2024-12-22T23:21:57.0542239+00:00",
      "usuario": "sample string 7",
      "borrado": "2024-12-22T23:21:57.0542239+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

Pagina
NameDescriptionTypeAdditional information
id

integer

None.

nombre

string

Required

titulo

string

Required

banner

string

Required

idioma

integer

None.

division

integer

None.

borrado

date

Data type: DateTime

dominio

integer

None.

Post

Collection of Post

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "nombre": "sample string 2",
  "titulo": "sample string 3",
  "banner": "sample string 4",
  "idioma": 1,
  "division": 1,
  "borrado": "2024-12-22T23:21:57.1107551+00:00",
  "dominio": 1,
  "Post": [
    {
      "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:21:57.1107551+00:00",
      "fechaCreacion": "2024-12-22T23:21:57.1107551+00:00",
      "usuario": "sample string 7",
      "borrado": "2024-12-22T23:21:57.1107551+00:00"
    },
    {
      "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:21:57.1107551+00:00",
      "fechaCreacion": "2024-12-22T23:21:57.1107551+00:00",
      "usuario": "sample string 7",
      "borrado": "2024-12-22T23:21:57.1107551+00:00"
    }
  ]
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.