POST api/v1/Tratamientos/SaveOrUpdate/{empresaid}/{almacenid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
empresaid

integer

Required

almacenid

integer

Required

Body Parameters

Tratamiento
NameDescriptionTypeAdditional information
Codigo

string

Required

Max length: 8

Descripcion

string

Max length: 255

EmpresaId

integer

Required

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:
{
  "Codigo": "sample string 1",
  "Descripcion": "sample string 2",
  "EmpresaId": 3,
  "Synchronized": "2026-02-23T15:02:43.8901609+00:00",
  "Sync": true,
  "PendingSync": true,
  "Id": 6,
  "Created": "2026-02-23T15:02:43.8901609+00:00",
  "Updated": "2026-02-23T15:02:43.8901609+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.