POST api/GeneralRegister

Request Information

URI Parameters

None.

Body Parameters

GeneralRegisterDataRequestModel
NameDescriptionTypeAdditional information
CodigoPersona

integer

None.

CodigoColab

integer

None.

TipoPersona

string

None.

CIColaborador

string

None.

CICliente

string

None.

Fecha

date

None.

Hora

date

None.

Observaciones

string

None.

Sucursal

integer

None.

Usuario

integer

None.

NombreUsuario

string

None.

FechaMod

date

None.

CodigoCliente

integer

None.

HoraEntrada

date

None.

IdTransportista

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CodigoPersona": 1,
  "CodigoColab": 2,
  "TipoPersona": "sample string 3",
  "CIColaborador": "sample string 4",
  "CICliente": "sample string 5",
  "Fecha": "2026-03-31T16:59:21.5648946-07:00",
  "Hora": "2026-03-31T16:59:21.5648946-07:00",
  "Observaciones": "sample string 8",
  "Sucursal": 9,
  "Usuario": 10,
  "NombreUsuario": "sample string 11",
  "FechaMod": "2026-03-31T16:59:21.5648946-07:00",
  "CodigoCliente": 13,
  "HoraEntrada": "2026-03-31T16:59:21.5648946-07:00",
  "IdTransportista": 15
}

application/xml, text/xml

Sample:
<GeneralRegisterDataRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcessWebApi.Models.EntityModels">
  <CICliente>sample string 5</CICliente>
  <CIColaborador>sample string 4</CIColaborador>
  <CodigoCliente>13</CodigoCliente>
  <CodigoColab>2</CodigoColab>
  <CodigoPersona>1</CodigoPersona>
  <Fecha>2026-03-31T16:59:21.5648946-07:00</Fecha>
  <FechaMod>2026-03-31T16:59:21.5648946-07:00</FechaMod>
  <Hora>2026-03-31T16:59:21.5648946-07:00</Hora>
  <HoraEntrada>2026-03-31T16:59:21.5648946-07:00</HoraEntrada>
  <IdTransportista>15</IdTransportista>
  <NombreUsuario>sample string 11</NombreUsuario>
  <Observaciones>sample string 8</Observaciones>
  <Sucursal>9</Sucursal>
  <TipoPersona>sample string 3</TipoPersona>
  <Usuario>10</Usuario>
</GeneralRegisterDataRequestModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GeneralRegisterDataRequestModel'.

Response Information

Resource Description

GeneralRegisterResponseDataModel
NameDescriptionTypeAdditional information
MessageResponse

string

None.

SuccessCatering

boolean

None.

SuccessAssistence

boolean

None.

SuccessTransport

boolean

None.

SuccessStatus

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "MessageResponse": "sample string 1",
  "SuccessCatering": true,
  "SuccessAssistence": true,
  "SuccessTransport": true,
  "SuccessStatus": true
}

application/xml, text/xml

Sample:
<GeneralRegisterResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcessWebApi.Models.ResponseModels.GeneralRegister">
  <MessageResponse>sample string 1</MessageResponse>
  <SuccessAssistence>true</SuccessAssistence>
  <SuccessCatering>true</SuccessCatering>
  <SuccessStatus>true</SuccessStatus>
  <SuccessTransport>true</SuccessTransport>
</GeneralRegisterResponseDataModel>