POST api/v1/EmpresasBase/SaveOrUpdate

Request Information

URI Parameters

None.

Body Parameters

EmpresaBase
NameDescriptionTypeAdditional information
Nombre

string

Required

CodigoCliente

string

Required

String length: inclusive between 0 and 8

CodigoEmpresa

string

Required

String length: inclusive between 0 and 8

AlmacenId

integer

None.

EmpresaId

integer

None.

EmpresasUsuarios

Collection of EmpresaUsuario

None.

SinLicencias

boolean

None.

AccesoAPiconecClientes

boolean

None.

MailEnvioPersonalizado

string

String length: inclusive between 0 and 255

URL

string

String length: inclusive between 0 and 255

Synchronized

date

None.

Sync

boolean

None.

PendingSync

boolean

None.

Id

integer

None.

Created

date

None.

Updated

date

None.

Borrado

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Nombre": "sample string 1",
  "CodigoCliente": "sample string 2",
  "CodigoEmpresa": "sample string 3",
  "AlmacenId": 1,
  "EmpresaId": 1,
  "EmpresasUsuarios": [
    {
      "$id": "2",
      "Email": "sample string 1",
      "EmpresaBaseId": 1,
      "Id": 2,
      "Created": "2026-02-23T11:56:01.4738545+00:00",
      "Updated": "2026-02-23T11:56:01.4738545+00:00",
      "Borrado": true
    },
    {
      "$ref": "2"
    }
  ],
  "SinLicencias": true,
  "AccesoAPiconecClientes": true,
  "MailEnvioPersonalizado": "sample string 5",
  "URL": "sample string 6",
  "Synchronized": "2026-02-23T11:56:01.4738545+00:00",
  "Sync": true,
  "PendingSync": true,
  "Id": 9,
  "Created": "2026-02-23T11:56:01.4738545+00:00",
  "Updated": "2026-02-23T11:56:01.4738545+00:00",
  "Borrado": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.