POST api/SolicitudMovimientoCuadrillaAPI/Post

Inserta un Registro

Request Information

URI Parameters

None.

Body Parameters

MovimientoCuadrillaGuardar
NameDescriptionTypeAdditional information
NumeroOrden

string

String length: inclusive between 0 and 20

LargaDistancia

boolean

None.

TipoMovimiento

string

Matching regular expression pattern: ^(Ingreso|Traslado|Egreso)$

String length: inclusive between 0 and 8

IdaYVuelta

boolean

None.

FechaNecesidad

date

None.

FechaSalida

date

None.

FechaDeModificacion

date

None.

Observaciones

string

String length: inclusive between 0 and 500

NombreChofer

string

String length: inclusive between 0 and 40

CuitChofer

string

String length: inclusive between 0 and 11

PatenteMicro

string

String length: inclusive between 0 and 10

Ruta

string

String length: inclusive between 0 and 20

Estado

MovimientoCuadrillaReferencia

None.

Campana

MovimientoCuadrillaReferencia

None.

Responsables

Collection of MovimientoCuadrillaReferencia

None.

AgenteViaje

MovimientoCuadrillaReferencia

None.

CondicionExpedicion

MovimientoCuadrillaReferencia

None.

Items

Collection of MovimientoCuadrillaItemGuardar

None.

Posiciones

Collection of MovimientoCuadrillaPosicionGuardar

None.

Request Formats

application/json, text/json

Sample:
{
  "NumeroOrden": "sample string 1",
  "LargaDistancia": true,
  "TipoMovimiento": "sample string 3",
  "IdaYVuelta": true,
  "FechaNecesidad": "2026-11-25T19:24:20.2361284-03:00",
  "FechaSalida": "2026-11-25T19:24:20.2361284-03:00",
  "FechaDeModificacion": "2026-11-25T19:24:20.2361284-03:00",
  "Observaciones": "sample string 5",
  "NombreChofer": "sample string 6",
  "CuitChofer": "sample string 7",
  "PatenteMicro": "sample string 8",
  "Ruta": "sample string 9",
  "Estado": {
    "Id": "5ec57a6d-03e4-4ab1-834e-4bfcce880d26"
  },
  "Campana": {
    "Id": "5ec57a6d-03e4-4ab1-834e-4bfcce880d26"
  },
  "Responsables": [
    {
      "Id": "5ec57a6d-03e4-4ab1-834e-4bfcce880d26"
    },
    {
      "Id": "5ec57a6d-03e4-4ab1-834e-4bfcce880d26"
    }
  ],
  "AgenteViaje": {
    "Id": "5ec57a6d-03e4-4ab1-834e-4bfcce880d26"
  },
  "CondicionExpedicion": {
    "Id": "5ec57a6d-03e4-4ab1-834e-4bfcce880d26"
  },
  "Items": [
    {
      "Cuadrilla": {
        "Id": "5ec57a6d-03e4-4ab1-834e-4bfcce880d26"
      },
      "PersonasCuadrilla": 1,
      "AjustePorAusentismo": 2
    },
    {
      "Cuadrilla": {
        "Id": "5ec57a6d-03e4-4ab1-834e-4bfcce880d26"
      },
      "PersonasCuadrilla": 1,
      "AjustePorAusentismo": 2
    }
  ],
  "Posiciones": [
    {
      "AlmacenOrigen": {
        "Id": "5ec57a6d-03e4-4ab1-834e-4bfcce880d26"
      },
      "AlmacenDestino": {
        "Id": "5ec57a6d-03e4-4ab1-834e-4bfcce880d26"
      },
      "Orden": 1,
      "Distancia": 2.0,
      "Observaciones": "sample string 3"
    },
    {
      "AlmacenOrigen": {
        "Id": "5ec57a6d-03e4-4ab1-834e-4bfcce880d26"
      },
      "AlmacenDestino": {
        "Id": "5ec57a6d-03e4-4ab1-834e-4bfcce880d26"
      },
      "Orden": 1,
      "Distancia": 2.0,
      "Observaciones": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<MovimientoCuadrillaGuardar xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.DTO">
  <AgenteViaje>
    <Id>5ec57a6d-03e4-4ab1-834e-4bfcce880d26</Id>
  </AgenteViaje>
  <Campana>
    <Id>5ec57a6d-03e4-4ab1-834e-4bfcce880d26</Id>
  </Campana>
  <CondicionExpedicion>
    <Id>5ec57a6d-03e4-4ab1-834e-4bfcce880d26</Id>
  </CondicionExpedicion>
  <CuitChofer>sample string 7</CuitChofer>
  <Estado>
    <Id>5ec57a6d-03e4-4ab1-834e-4bfcce880d26</Id>
  </Estado>
  <FechaDeModificacion>2026-11-25T19:24:20.2361284-03:00</FechaDeModificacion>
  <FechaNecesidad>2026-11-25T19:24:20.2361284-03:00</FechaNecesidad>
  <FechaSalida>2026-11-25T19:24:20.2361284-03:00</FechaSalida>
  <IdaYVuelta>true</IdaYVuelta>
  <Items>
    <MovimientoCuadrillaItemGuardar>
      <AjustePorAusentismo>2</AjustePorAusentismo>
      <Cuadrilla>
        <Id>5ec57a6d-03e4-4ab1-834e-4bfcce880d26</Id>
      </Cuadrilla>
      <PersonasCuadrilla>1</PersonasCuadrilla>
    </MovimientoCuadrillaItemGuardar>
    <MovimientoCuadrillaItemGuardar>
      <AjustePorAusentismo>2</AjustePorAusentismo>
      <Cuadrilla>
        <Id>5ec57a6d-03e4-4ab1-834e-4bfcce880d26</Id>
      </Cuadrilla>
      <PersonasCuadrilla>1</PersonasCuadrilla>
    </MovimientoCuadrillaItemGuardar>
  </Items>
  <LargaDistancia>true</LargaDistancia>
  <NombreChofer>sample string 6</NombreChofer>
  <NumeroOrden>sample string 1</NumeroOrden>
  <Observaciones>sample string 5</Observaciones>
  <PatenteMicro>sample string 8</PatenteMicro>
  <Posiciones>
    <MovimientoCuadrillaPosicionGuardar>
      <AlmacenDestino>
        <Id>5ec57a6d-03e4-4ab1-834e-4bfcce880d26</Id>
      </AlmacenDestino>
      <AlmacenOrigen>
        <Id>5ec57a6d-03e4-4ab1-834e-4bfcce880d26</Id>
      </AlmacenOrigen>
      <Distancia>2</Distancia>
      <Observaciones>sample string 3</Observaciones>
      <Orden>1</Orden>
    </MovimientoCuadrillaPosicionGuardar>
    <MovimientoCuadrillaPosicionGuardar>
      <AlmacenDestino>
        <Id>5ec57a6d-03e4-4ab1-834e-4bfcce880d26</Id>
      </AlmacenDestino>
      <AlmacenOrigen>
        <Id>5ec57a6d-03e4-4ab1-834e-4bfcce880d26</Id>
      </AlmacenOrigen>
      <Distancia>2</Distancia>
      <Observaciones>sample string 3</Observaciones>
      <Orden>1</Orden>
    </MovimientoCuadrillaPosicionGuardar>
  </Posiciones>
  <Responsables>
    <MovimientoCuadrillaReferencia>
      <Id>5ec57a6d-03e4-4ab1-834e-4bfcce880d26</Id>
    </MovimientoCuadrillaReferencia>
    <MovimientoCuadrillaReferencia>
      <Id>5ec57a6d-03e4-4ab1-834e-4bfcce880d26</Id>
    </MovimientoCuadrillaReferencia>
  </Responsables>
  <Ruta>sample string 9</Ruta>
  <TipoMovimiento>sample string 3</TipoMovimiento>
</MovimientoCuadrillaGuardar>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.