POST api/TiendaDatosEmpresas/PostTiendaDatosEmpresa?idiomaId={idiomaId}

añade un registro de TiendaDatosEmpresa

Request Information

URI Parameters

NameDescriptionTypeAdditional information
idiomaId

Id del idioma de los mensajes.

string

Required

Body Parameters

Objeto de TiendaDatosEmpresa.

TiendaDatosEmpresa
NameDescriptionTypeAdditional information
FK_Tiendas_Id

integer

None.

FK_Marcas_Id

integer

None.

FK_Empresas_Id

integer

None.

Campo1

string

String length: inclusive between 0 and 100

Campo2

string

String length: inclusive between 0 and 100

Campo3

string

String length: inclusive between 0 and 100

Campo4

string

String length: inclusive between 0 and 100

Campo5

string

String length: inclusive between 0 and 100

Campo6

string

String length: inclusive between 0 and 100

Campo7

string

String length: inclusive between 0 and 100

Campo8

string

String length: inclusive between 0 and 100

Campo9

string

String length: inclusive between 0 and 100

Campo10

string

String length: inclusive between 0 and 100

Request Formats

application/json, text/json

Sample:
{
  "FK_Tiendas_Id": 1,
  "FK_Marcas_Id": 2,
  "FK_Empresas_Id": 3,
  "Campo1": "sample string 4",
  "Campo2": "sample string 5",
  "Campo3": "sample string 6",
  "Campo4": "sample string 7",
  "Campo5": "sample string 8",
  "Campo6": "sample string 9",
  "Campo7": "sample string 10",
  "Campo8": "sample string 11",
  "Campo9": "sample string 12",
  "Campo10": "sample string 13"
}

application/xml, text/xml

Sample:
<TiendaDatosEmpresa xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Seed_APi_Bella_Aurora">
  <Campo1>sample string 4</Campo1>
  <Campo10>sample string 13</Campo10>
  <Campo2>sample string 5</Campo2>
  <Campo3>sample string 6</Campo3>
  <Campo4>sample string 7</Campo4>
  <Campo5>sample string 8</Campo5>
  <Campo6>sample string 9</Campo6>
  <Campo7>sample string 10</Campo7>
  <Campo8>sample string 11</Campo8>
  <Campo9>sample string 12</Campo9>
  <FK_Empresas_Id>3</FK_Empresas_Id>
  <FK_Marcas_Id>2</FK_Marcas_Id>
  <FK_Tiendas_Id>1</FK_Tiendas_Id>
</TiendaDatosEmpresa>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Respuesta
NameDescriptionTypeAdditional information
Finalizado

Indica si la operacion a finalizado con exito.

boolean

None.

ID

Id del nuevo registro de la operacion.

integer

None.

FK_MensajesControlados_Id

Id del mensaje

integer

None.

Descripcion

Mensaje de respuesta

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Finalizado": true,
  "ID": 2,
  "FK_MensajesControlados_Id": 3,
  "Descripcion": "sample string 4"
}

application/xml, text/xml

Sample:
<Respuesta xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Seed_APi_Bella_Aurora">
  <Descripcion>sample string 4</Descripcion>
  <FK_MensajesControlados_Id>3</FK_MensajesControlados_Id>
  <Finalizado>true</Finalizado>
  <ID>2</ID>
</Respuesta>