DELETE api/Empresas/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Empresas
NameDescriptionTypeAdditional information
IdEmpresa

integer

None.

Nombre

string

None.

Telefonos

string

None.

Domicilio

string

None.

Observaciones

string

None.

Contacto

string

None.

Clientes

Collection of Clientes

None.

EmpresaCiudad

Collection of EmpresaCiudad

None.

ParametrosEnvios

Collection of ParametrosEnvios

None.

Personal

Collection of Personal

None.

Productos

Collection of Productos

None.

Response Formats

application/json, text/json

Sample:
{
  "IdEmpresa": 1,
  "Nombre": "sample string 2",
  "Telefonos": "sample string 3",
  "Domicilio": "sample string 4",
  "Observaciones": "sample string 5",
  "Contacto": "sample string 6"
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[WebAPI.Models.Afichaje, WebAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[WebAPI.Models.Afichaje, WebAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.