POST api/Membresia/Crear

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
model
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "MEMBRESIA": {
    "ID_MEMBRESIA": 1,
    "ID_CATALOGO_CATEGORIA": 2,
    "ID_USUARIO_CREACION": 3,
    "NOMBRE": "sample string 4",
    "DESCRIPCION": "sample string 5",
    "ICONO": "sample string 6",
    "ICONO2": "sample string 7",
    "COLOR": "sample string 8",
    "NOMBRE_IMAGEN": "sample string 9",
    "NOMBRE_IMAGEN2": "sample string 10",
    "RUTA_IMAGEN": "sample string 11",
    "RUTA_IMAGEN2": "sample string 12",
    "IMAGEN_BENEFICIOS": "sample string 13",
    "FECHA_CREACION": "sample string 14",
    "FECHA_MODIFICACION": "sample string 15",
    "ORDEN": 16,
    "ESTATUS": 17,
    "DESCUENTO_TEC": 18
  }
}

application/xml, text/xml

Sample:
<MEMBRESIA_MODELO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SorteosAPI.Models">
  <MEMBRESIA>
    <COLOR>sample string 8</COLOR>
    <DESCRIPCION>sample string 5</DESCRIPCION>
    <DESCUENTO_TEC>18</DESCUENTO_TEC>
    <ESTATUS>17</ESTATUS>
    <FECHA_CREACION>sample string 14</FECHA_CREACION>
    <FECHA_MODIFICACION>sample string 15</FECHA_MODIFICACION>
    <ICONO>sample string 6</ICONO>
    <ICONO2>sample string 7</ICONO2>
    <ID_CATALOGO_CATEGORIA>2</ID_CATALOGO_CATEGORIA>
    <ID_MEMBRESIA>1</ID_MEMBRESIA>
    <ID_USUARIO_CREACION>3</ID_USUARIO_CREACION>
    <IMAGEN_BENEFICIOS>sample string 13</IMAGEN_BENEFICIOS>
    <NOMBRE>sample string 4</NOMBRE>
    <NOMBRE_IMAGEN>sample string 9</NOMBRE_IMAGEN>
    <NOMBRE_IMAGEN2>sample string 10</NOMBRE_IMAGEN2>
    <ORDEN>16</ORDEN>
    <RUTA_IMAGEN>sample string 11</RUTA_IMAGEN>
    <RUTA_IMAGEN2>sample string 12</RUTA_IMAGEN2>
  </MEMBRESIA>
</MEMBRESIA_MODELO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>