POST api/PuntoServicios

Request Information

URI Parameters

None.

Body Parameters

PuntoServicio
NameDescriptionTypeAdditional information
PUNSERcodigo

string

None.

PUNSERestado

string

None.

PUNSERmunicipio

string

None.

PUNSERdescripcion

string

None.

PUNSERdireccion

string

None.

PUNSERtelefono1

string

None.

PUNSERtelefono2

string

None.

PUNSERmail

string

None.

PUNSERfondofijo

decimal number

None.

PUNSERFondoCalculoMDC

boolean

None.

PUNSERtipo

string

None.

PUNSERsistema

integer

None.

PUNSERpagado

decimal number

None.

PUNSERnatural

decimal number

None.

PUNSERempresarial

decimal number

None.

PUNSERgrupoCE

string

None.

PUNSERFechaInactivacion

date

None.

PUNSERRegional

string

None.

PUNSERFechaCierre

date

None.

PUNSERSectorRegional

string

None.

PUNSERClasificacion

string

None.

PUNSERAConsultorCanales

string

None.

PUNSERIdRed

string

None.

PUNSEREXTlinea

string

None.

PUNSEREXThorarioContraprestacion

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PUNSERcodigo": "sample string 1",
  "PUNSERestado": "sample string 2",
  "PUNSERmunicipio": "sample string 3",
  "PUNSERdescripcion": "sample string 4",
  "PUNSERdireccion": "sample string 5",
  "PUNSERtelefono1": "sample string 6",
  "PUNSERtelefono2": "sample string 7",
  "PUNSERmail": "sample string 8",
  "PUNSERfondofijo": 1.0,
  "PUNSERFondoCalculoMDC": true,
  "PUNSERtipo": "sample string 9",
  "PUNSERsistema": 1,
  "PUNSERpagado": 1.1,
  "PUNSERnatural": 1.1,
  "PUNSERempresarial": 1.1,
  "PUNSERgrupoCE": "sample string 10",
  "PUNSERFechaInactivacion": "2024-11-28T07:45:09.1731883-05:00",
  "PUNSERRegional": "sample string 11",
  "PUNSERFechaCierre": "2024-11-28T07:45:09.1731883-05:00",
  "PUNSERSectorRegional": "sample string 12",
  "PUNSERClasificacion": "sample string 13",
  "PUNSERAConsultorCanales": "sample string 14",
  "PUNSERIdRed": "sample string 15",
  "PUNSEREXTlinea": "sample string 16",
  "PUNSEREXThorarioContraprestacion": 1
}

application/xml, text/xml

Sample:
<PuntoServicio xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.Dynamics.Entidades.PAP">
  <PUNSERAConsultorCanales>sample string 14</PUNSERAConsultorCanales>
  <PUNSERClasificacion>sample string 13</PUNSERClasificacion>
  <PUNSEREXThorarioContraprestacion>1</PUNSEREXThorarioContraprestacion>
  <PUNSEREXTlinea>sample string 16</PUNSEREXTlinea>
  <PUNSERFechaCierre>2024-11-28T07:45:09.1731883-05:00</PUNSERFechaCierre>
  <PUNSERFechaInactivacion>2024-11-28T07:45:09.1731883-05:00</PUNSERFechaInactivacion>
  <PUNSERFondoCalculoMDC>true</PUNSERFondoCalculoMDC>
  <PUNSERIdRed>sample string 15</PUNSERIdRed>
  <PUNSERRegional>sample string 11</PUNSERRegional>
  <PUNSERSectorRegional>sample string 12</PUNSERSectorRegional>
  <PUNSERcodigo>sample string 1</PUNSERcodigo>
  <PUNSERdescripcion>sample string 4</PUNSERdescripcion>
  <PUNSERdireccion>sample string 5</PUNSERdireccion>
  <PUNSERempresarial>1.1</PUNSERempresarial>
  <PUNSERestado>sample string 2</PUNSERestado>
  <PUNSERfondofijo>1</PUNSERfondofijo>
  <PUNSERgrupoCE>sample string 10</PUNSERgrupoCE>
  <PUNSERmail>sample string 8</PUNSERmail>
  <PUNSERmunicipio>sample string 3</PUNSERmunicipio>
  <PUNSERnatural>1.1</PUNSERnatural>
  <PUNSERpagado>1.1</PUNSERpagado>
  <PUNSERsistema>1</PUNSERsistema>
  <PUNSERtelefono1>sample string 6</PUNSERtelefono1>
  <PUNSERtelefono2>sample string 7</PUNSERtelefono2>
  <PUNSERtipo>sample string 9</PUNSERtipo>
</PuntoServicio>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PuntoServicio'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.