POST api/Planes

Request Information

URI Parameters

None.

Body Parameters

Planes_Empresas
NameDescriptionTypeAdditional information
Cod

integer

None.

Plan

integer

None.

Empresa

integer

None.

Cantidad

decimal number

None.

Valor

decimal number

None.

FechaInicio

string

None.

FechaFin

string

None.

Estado

boolean

None.

ConexionBd

Conexion

None.

Request Formats

application/json, text/json

Sample:
{
  "ConexionBd": {
    "BdPrincipal": "sample string 1",
    "BdCliente": "sample string 2"
  },
  "Cod": 1,
  "Plan": 2,
  "Empresa": 3,
  "Cantidad": 4.0,
  "Valor": 5.0,
  "FechaInicio": "sample string 6",
  "FechaFin": "sample string 7",
  "Estado": true
}

application/xml, text/xml

Sample:
<Planes_Empresas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComandasApi.Models">
  <Cantidad>4</Cantidad>
  <Cod>1</Cod>
  <ConexionBd>
    <BdCliente>sample string 2</BdCliente>
    <BdPrincipal>sample string 1</BdPrincipal>
  </ConexionBd>
  <Empresa>3</Empresa>
  <Estado>true</Estado>
  <FechaFin>sample string 7</FechaFin>
  <FechaInicio>sample string 6</FechaInicio>
  <Plan>2</Plan>
  <Valor>5</Valor>
</Planes_Empresas>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.