POST api/CalendariodeVisitadores

Añade un registro a la tabla CalendariodeVisitadores

Request Information

URI Parameters

None.

Body Parameters

objeto CalendariodeVisitadores

CalendariodeVisitadores
NameDescriptionTypeAdditional information
FK_Tiendas_Id

integer

None.

Codigo

string

String length: inclusive between 0 and 50

Fecha

date

None.

Nombre

string

String length: inclusive between 0 and 100

Direccion

string

String length: inclusive between 0 and 100

CodigoPostal

string

String length: inclusive between 0 and 50

Poblacion

string

String length: inclusive between 0 and 100

Marca

string

String length: inclusive between 0 and 50

id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FK_Tiendas_Id": 1,
  "Codigo": "sample string 2",
  "Fecha": "2024-09-19T07:59:54.16849+02:00",
  "Nombre": "sample string 4",
  "Direccion": "sample string 5",
  "CodigoPostal": "sample string 6",
  "Poblacion": "sample string 7",
  "Marca": "sample string 8",
  "id": 9
}

application/xml, text/xml

Sample:
<CalendariodeVisitadores xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Seed_APi_Bella_Aurora">
  <Codigo>sample string 2</Codigo>
  <CodigoPostal>sample string 6</CodigoPostal>
  <Direccion>sample string 5</Direccion>
  <FK_Tiendas_Id>1</FK_Tiendas_Id>
  <Fecha>2024-09-19T07:59:54.16849+02:00</Fecha>
  <Marca>sample string 8</Marca>
  <Nombre>sample string 4</Nombre>
  <Poblacion>sample string 7</Poblacion>
  <id>9</id>
</CalendariodeVisitadores>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CalendariodeVisitadores
NameDescriptionTypeAdditional information
FK_Tiendas_Id

integer

None.

Codigo

string

String length: inclusive between 0 and 50

Fecha

date

None.

Nombre

string

String length: inclusive between 0 and 100

Direccion

string

String length: inclusive between 0 and 100

CodigoPostal

string

String length: inclusive between 0 and 50

Poblacion

string

String length: inclusive between 0 and 100

Marca

string

String length: inclusive between 0 and 50

id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "FK_Tiendas_Id": 1,
  "Codigo": "sample string 2",
  "Fecha": "2024-09-19T07:59:54.1841191+02:00",
  "Nombre": "sample string 4",
  "Direccion": "sample string 5",
  "CodigoPostal": "sample string 6",
  "Poblacion": "sample string 7",
  "Marca": "sample string 8",
  "id": 9
}

application/xml, text/xml

Sample:
<CalendariodeVisitadores xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Seed_APi_Bella_Aurora">
  <Codigo>sample string 2</Codigo>
  <CodigoPostal>sample string 6</CodigoPostal>
  <Direccion>sample string 5</Direccion>
  <FK_Tiendas_Id>1</FK_Tiendas_Id>
  <Fecha>2024-09-19T07:59:54.1841191+02:00</Fecha>
  <Marca>sample string 8</Marca>
  <Nombre>sample string 4</Nombre>
  <Poblacion>sample string 7</Poblacion>
  <id>9</id>
</CalendariodeVisitadores>