POST api/Client/AddEnterpriseClient

Request Information

URI Parameters

None.

Body Parameters

EEnterpriseClient
NameDescriptionTypeAdditional information
Id

integer

None.

NombreRazonSocial

string

None.

AddressRazonSocial

string

None.

Nit

string

None.

ImagenNit

boolean

None.

ImagenFundaEmpresa

boolean

None.

TelfEmpresa

string

None.

Correo

string

None.

Actividad

string

None.

NombreRepresentanteLegal

string

None.

TelefonoRepresentanteLegal

string

None.

CIRepresentanteLegal

string

None.

RepresentanteLegalImagenCI

boolean

None.

Notas

string

None.

Destacado

boolean

None.

UrlGoogleMap

string

None.

FechaServiciosbasicos

date

None.

Dangerous

boolean

None.

Images

Collection of EImagesImagesData

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "NombreRazonSocial": "sample string 2",
  "AddressRazonSocial": "sample string 3",
  "Nit": "sample string 4",
  "ImagenNit": true,
  "ImagenFundaEmpresa": true,
  "TelfEmpresa": "sample string 7",
  "Correo": "sample string 8",
  "Actividad": "sample string 9",
  "NombreRepresentanteLegal": "sample string 10",
  "TelefonoRepresentanteLegal": "sample string 11",
  "CIRepresentanteLegal": "sample string 12",
  "RepresentanteLegalImagenCI": true,
  "Notas": "sample string 14",
  "Destacado": true,
  "UrlGoogleMap": "sample string 16",
  "FechaServiciosbasicos": "2025-10-28T08:38:04.8275456-07:00",
  "Dangerous": true,
  "Images": [
    {
      "Id": 1,
      "Status": 0,
      "Image": "QEA=",
      "Width": 2,
      "Height": 3
    },
    {
      "Id": 1,
      "Status": 0,
      "Image": "QEA=",
      "Width": 2,
      "Height": 3
    }
  ]
}

application/xml, text/xml

Sample:
<EEnterpriseClient xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entidades">
  <Actividad>sample string 9</Actividad>
  <AddressRazonSocial>sample string 3</AddressRazonSocial>
  <CIRepresentanteLegal>sample string 12</CIRepresentanteLegal>
  <Correo>sample string 8</Correo>
  <Dangerous>true</Dangerous>
  <Destacado>true</Destacado>
  <FechaServiciosbasicos>2025-10-28T08:38:04.8275456-07:00</FechaServiciosbasicos>
  <Id>1</Id>
  <ImagenFundaEmpresa>true</ImagenFundaEmpresa>
  <ImagenNit>true</ImagenNit>
  <Images>
    <EImagesImagesData>
      <Height>3</Height>
      <Id>1</Id>
      <Image>QEA=</Image>
      <Status>New</Status>
      <Width>2</Width>
    </EImagesImagesData>
    <EImagesImagesData>
      <Height>3</Height>
      <Id>1</Id>
      <Image>QEA=</Image>
      <Status>New</Status>
      <Width>2</Width>
    </EImagesImagesData>
  </Images>
  <Nit>sample string 4</Nit>
  <NombreRazonSocial>sample string 2</NombreRazonSocial>
  <NombreRepresentanteLegal>sample string 10</NombreRepresentanteLegal>
  <Notas>sample string 14</Notas>
  <RepresentanteLegalImagenCI>true</RepresentanteLegalImagenCI>
  <TelefonoRepresentanteLegal>sample string 11</TelefonoRepresentanteLegal>
  <TelfEmpresa>sample string 7</TelfEmpresa>
  <UrlGoogleMap>sample string 16</UrlGoogleMap>
</EEnterpriseClient>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

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

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.