POST api/ConfiguracionGlobal

Request Information

URI Parameters

None.

Body Parameters

Empresa
NameDescriptionTypeAdditional information
Id

integer

None.

IdEmpresa

integer

None.

Nombre

string

Required

Max length: 50

CIF

string

Required

Max length: 10

Telefono

string

Data type: PhoneNumber

Max length: 20

Direccion

string

Data type: Text

Max length: 100

CodigoPostal

string

Data type: PostalCode

Max length: 10

Poblacion

string

Data type: Text

Max length: 100

Provincia

string

Data type: Text

Max length: 100

IdGrupo

integer

None.

Grupo

Grupo

None.

Estaciones

Collection of Estacion

None.

EnlaceContable

string

Data type: Text

Max length: 100

HashAutenticacion

string

Max length: 256

Logo

string

Max length: 256

RutaApiBacken

string

Data type: Text

Max length: 200

UsuarioApiMagon

string

Data type: Text

Max length: 32

PasswordApiMagon

string

Data type: Password

Max length: 32

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "IdEmpresa": 2,
  "Nombre": "sample string 3",
  "CIF": "sample string 4",
  "Telefono": "sample string 5",
  "Direccion": "sample string 6",
  "CodigoPostal": "sample string 7",
  "Poblacion": "sample string 8",
  "Provincia": "sample string 9",
  "IdGrupo": 10,
  "Grupo": {
    "IdGrupo": 1,
    "Nombre": "sample string 2",
    "Empresas": [],
    "Hash": "sample string 3",
    "ImageArray": "QEA=",
    "ImagePath": "sample string 4",
    "Puerto": "sample string 5",
    "Direccion": "sample string 6",
    "IpPrivada": "sample string 7",
    "IpAPI": "sample string 8",
    "ImageFullPath": "http://appBaseBackend.azurewebsites.net/ample string 4"
  },
  "Estaciones": [
    {
      "Id": 1,
      "IdEstacion": 2,
      "Nombre": "sample string 3",
      "Concesion": "sample string 4",
      "Telefono": "sample string 5",
      "Imagen": "sample string 6",
      "Direccion": "sample string 7",
      "CodigoPostal": "sample string 8",
      "Poblacion": "sample string 9",
      "Provincia": "sample string 10",
      "IdEmpresa": 11
    },
    {
      "Id": 1,
      "IdEstacion": 2,
      "Nombre": "sample string 3",
      "Concesion": "sample string 4",
      "Telefono": "sample string 5",
      "Imagen": "sample string 6",
      "Direccion": "sample string 7",
      "CodigoPostal": "sample string 8",
      "Poblacion": "sample string 9",
      "Provincia": "sample string 10",
      "IdEmpresa": 11
    }
  ],
  "EnlaceContable": "sample string 11",
  "HashAutenticacion": "sample string 12",
  "Logo": "sample string 13",
  "RutaApiBacken": "sample string 14",
  "UsuarioApiMagon": "sample string 15",
  "PasswordApiMagon": "sample string 16"
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Empresa
NameDescriptionTypeAdditional information
Id

integer

None.

IdEmpresa

integer

None.

Nombre

string

Required

Max length: 50

CIF

string

Required

Max length: 10

Telefono

string

Data type: PhoneNumber

Max length: 20

Direccion

string

Data type: Text

Max length: 100

CodigoPostal

string

Data type: PostalCode

Max length: 10

Poblacion

string

Data type: Text

Max length: 100

Provincia

string

Data type: Text

Max length: 100

IdGrupo

integer

None.

Grupo

Grupo

None.

Estaciones

Collection of Estacion

None.

EnlaceContable

string

Data type: Text

Max length: 100

HashAutenticacion

string

Max length: 256

Logo

string

Max length: 256

RutaApiBacken

string

Data type: Text

Max length: 200

UsuarioApiMagon

string

Data type: Text

Max length: 32

PasswordApiMagon

string

Data type: Password

Max length: 32

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "IdEmpresa": 2,
  "Nombre": "sample string 3",
  "CIF": "sample string 4",
  "Telefono": "sample string 5",
  "Direccion": "sample string 6",
  "CodigoPostal": "sample string 7",
  "Poblacion": "sample string 8",
  "Provincia": "sample string 9",
  "IdGrupo": 10,
  "Grupo": {
    "IdGrupo": 1,
    "Nombre": "sample string 2",
    "Empresas": [],
    "Hash": "sample string 3",
    "ImageArray": "QEA=",
    "ImagePath": "sample string 4",
    "Puerto": "sample string 5",
    "Direccion": "sample string 6",
    "IpPrivada": "sample string 7",
    "IpAPI": "sample string 8",
    "ImageFullPath": "http://appBaseBackend.azurewebsites.net/ample string 4"
  },
  "Estaciones": [
    {
      "Id": 1,
      "IdEstacion": 2,
      "Nombre": "sample string 3",
      "Concesion": "sample string 4",
      "Telefono": "sample string 5",
      "Imagen": "sample string 6",
      "Direccion": "sample string 7",
      "CodigoPostal": "sample string 8",
      "Poblacion": "sample string 9",
      "Provincia": "sample string 10",
      "IdEmpresa": 11
    },
    {
      "Id": 1,
      "IdEstacion": 2,
      "Nombre": "sample string 3",
      "Concesion": "sample string 4",
      "Telefono": "sample string 5",
      "Imagen": "sample string 6",
      "Direccion": "sample string 7",
      "CodigoPostal": "sample string 8",
      "Poblacion": "sample string 9",
      "Provincia": "sample string 10",
      "IdEmpresa": 11
    }
  ],
  "EnlaceContable": "sample string 11",
  "HashAutenticacion": "sample string 12",
  "Logo": "sample string 13",
  "RutaApiBacken": "sample string 14",
  "UsuarioApiMagon": "sample string 15",
  "PasswordApiMagon": "sample string 16"
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.