POST api/SIPAgroSAPAPI/PrepararPlanillaSAP

Request Information

URI Parameters

None.

Body Parameters

LaboreoPlanillaInterfaz
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

IdLaboreoPlanilla

globally unique identifier

None.

IdLote

globally unique identifier

None.

Lote

string

None.

IdCampo

globally unique identifier

None.

Campo

string

None.

CodigoPEP

string

None.

IdCampana

globally unique identifier

None.

Campana

string

None.

IdZona

globally unique identifier

None.

Zona

string

None.

IdCultivo

globally unique identifier

None.

Cultivo

string

None.

IdLaboreoCategoria

globally unique identifier

None.

LaboreoCategoria

string

None.

LaboreoCategoria_CodigoSap

string

None.

NumeroOrden

integer

None.

NumeroSIP

string

None.

NumeroSAP

string

None.

FechaSAP

date

None.

ModPendSAP

boolean

None.

ModSAP

boolean

None.

ProcesableSAP

boolean

None.

RespuestaSAP

integer

None.

UsuarioSAP

string

None.

Total_Hs

decimal number

None.

FechaDocumento

date

None.

FechaInicio

date

None.

FechaFin

date

None.

Cuadrilla_CodigoSAP

string

None.

IdCuadrilla

globally unique identifier

None.

Cuadrilla

string

None.

CECO

string

None.

Items

Collection of LaboreoPlanillaInterfazItems

None.

UsuarioDeModificacion

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "d11d1745-9f72-417d-acf9-ecd943d50845",
  "IdLaboreoPlanilla": "d803cf47-10fa-4dfa-8b0d-b21d206d02d4",
  "IdLote": "91ecf59e-69fe-4265-ad4d-0f9006451e45",
  "Lote": "sample string 4",
  "IdCampo": "b2eaeec3-86e2-4380-b17a-46dc41e4458d",
  "Campo": "sample string 6",
  "CodigoPEP": "sample string 7",
  "IdCampana": "5dd42361-8213-45fd-8d63-b28bd4523e88",
  "Campana": "sample string 9",
  "IdZona": "474063c1-0552-4ff9-bb98-d432b79e1bf0",
  "Zona": "sample string 11",
  "IdCultivo": "07c215ac-cbb1-4a95-887a-606b37ffdd43",
  "Cultivo": "sample string 13",
  "IdLaboreoCategoria": "d7c8f7e1-661d-45fd-8988-a082b69ac4cc",
  "LaboreoCategoria": "sample string 15",
  "LaboreoCategoria_CodigoSap": "sample string 16",
  "NumeroOrden": 17,
  "NumeroSIP": "sample string 18",
  "NumeroSAP": "sample string 19",
  "FechaSAP": "2026-01-09T12:46:46.1341808-03:00",
  "ModPendSAP": true,
  "ModSAP": true,
  "ProcesableSAP": true,
  "RespuestaSAP": 23,
  "UsuarioSAP": "sample string 24",
  "Total_Hs": 25.0,
  "FechaDocumento": "2026-01-09T12:46:46.1341808-03:00",
  "FechaInicio": "2026-01-09T12:46:46.1341808-03:00",
  "FechaFin": "2026-01-09T12:46:46.1341808-03:00",
  "Cuadrilla_CodigoSAP": "sample string 29",
  "IdCuadrilla": "d3ac49b6-8b6b-403d-87a4-ff756ab3e420",
  "Cuadrilla": "sample string 31",
  "CECO": "sample string 32",
  "Items": [
    {
      "Id": "720218dc-5851-41b8-9ced-d1139cf10036",
      "Descripcion": "sample string 2",
      "Horas": 3.0,
      "Destajo": 4.0
    },
    {
      "Id": "720218dc-5851-41b8-9ced-d1139cf10036",
      "Descripcion": "sample string 2",
      "Horas": 3.0,
      "Destajo": 4.0
    }
  ],
  "UsuarioDeModificacion": "sample string 33"
}

application/xml, text/xml

Sample:
<LaboreoPlanillaInterfaz xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities">
  <CECO>sample string 32</CECO>
  <Campana>sample string 9</Campana>
  <Campo>sample string 6</Campo>
  <CodigoPEP>sample string 7</CodigoPEP>
  <Cuadrilla>sample string 31</Cuadrilla>
  <Cuadrilla_CodigoSAP>sample string 29</Cuadrilla_CodigoSAP>
  <Cultivo>sample string 13</Cultivo>
  <FechaDocumento>2026-01-09T12:46:46.1341808-03:00</FechaDocumento>
  <FechaFin>2026-01-09T12:46:46.1341808-03:00</FechaFin>
  <FechaInicio>2026-01-09T12:46:46.1341808-03:00</FechaInicio>
  <FechaSAP>2026-01-09T12:46:46.1341808-03:00</FechaSAP>
  <Id>d11d1745-9f72-417d-acf9-ecd943d50845</Id>
  <IdCampana>5dd42361-8213-45fd-8d63-b28bd4523e88</IdCampana>
  <IdCampo>b2eaeec3-86e2-4380-b17a-46dc41e4458d</IdCampo>
  <IdCuadrilla>d3ac49b6-8b6b-403d-87a4-ff756ab3e420</IdCuadrilla>
  <IdCultivo>07c215ac-cbb1-4a95-887a-606b37ffdd43</IdCultivo>
  <IdLaboreoCategoria>d7c8f7e1-661d-45fd-8988-a082b69ac4cc</IdLaboreoCategoria>
  <IdLaboreoPlanilla>d803cf47-10fa-4dfa-8b0d-b21d206d02d4</IdLaboreoPlanilla>
  <IdLote>91ecf59e-69fe-4265-ad4d-0f9006451e45</IdLote>
  <IdZona>474063c1-0552-4ff9-bb98-d432b79e1bf0</IdZona>
  <Items>
    <LaboreoPlanillaInterfazItems>
      <Descripcion>sample string 2</Descripcion>
      <Destajo>4</Destajo>
      <Horas>3</Horas>
      <Id>720218dc-5851-41b8-9ced-d1139cf10036</Id>
    </LaboreoPlanillaInterfazItems>
    <LaboreoPlanillaInterfazItems>
      <Descripcion>sample string 2</Descripcion>
      <Destajo>4</Destajo>
      <Horas>3</Horas>
      <Id>720218dc-5851-41b8-9ced-d1139cf10036</Id>
    </LaboreoPlanillaInterfazItems>
  </Items>
  <LaboreoCategoria>sample string 15</LaboreoCategoria>
  <LaboreoCategoria_CodigoSap>sample string 16</LaboreoCategoria_CodigoSap>
  <Lote>sample string 4</Lote>
  <ModPendSAP>true</ModPendSAP>
  <ModSAP>true</ModSAP>
  <NumeroOrden>17</NumeroOrden>
  <NumeroSAP>sample string 19</NumeroSAP>
  <NumeroSIP>sample string 18</NumeroSIP>
  <ProcesableSAP>true</ProcesableSAP>
  <RespuestaSAP>23</RespuestaSAP>
  <Total_Hs>25</Total_Hs>
  <UsuarioDeModificacion>sample string 33</UsuarioDeModificacion>
  <UsuarioSAP>sample string 24</UsuarioSAP>
  <Zona>sample string 11</Zona>
</LaboreoPlanillaInterfaz>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SIPAgroSAPTransaccionCompleta
NameDescriptionTypeAdditional information
CABECERA

SIPAgroSAPTransaccionCabecera

None.

COMPONENTES

Collection of SIPAgroSAPTransaccionComponente

None.

OPERACIONES

Collection of SIPAgroSAPTransaccionOperacion

None.

RESPUESTA

SIPAgroSAPTransaccionResponseCabecera

None.

RESPUESTA_ITEMS

Collection of SIPAgroSAPTransaccionResponseItem

None.

RESULT

SIPAgroSAPTransaccionResponseResult

None.

Response Formats

application/json, text/json

Sample:
{
  "CABECERA": {
    "ORDERID": "sample string 1",
    "ORDER_TYPE": "sample string 2",
    "START_DATE": "sample string 3",
    "FINISH_DATE": "sample string 4",
    "MN_WK_CTR": "sample string 5",
    "PROFIT_CTR": "sample string 6",
    "RESPCCTR": "sample string 7",
    "WBS_ELEM": "sample string 8"
  },
  "COMPONENTES": [
    {
      "MATERIAL": "sample string 1",
      "REQUIREMENT_QUANTITY": "sample string 2",
      "REQUIREMENT_QUANTITY_UNIT": "sample string 3",
      "LOTE": "sample string 4",
      "STGE_LOC": "sample string 5",
      "VENDOR_NO": "sample string 6",
      "PUR_GROUP": "sample string 7",
      "PRICE": 8.0
    },
    {
      "MATERIAL": "sample string 1",
      "REQUIREMENT_QUANTITY": "sample string 2",
      "REQUIREMENT_QUANTITY_UNIT": "sample string 3",
      "LOTE": "sample string 4",
      "STGE_LOC": "sample string 5",
      "VENDOR_NO": "sample string 6",
      "PUR_GROUP": "sample string 7",
      "PRICE": 8.0
    }
  ],
  "OPERACIONES": [
    {
      "ACTTYPE": "sample string 1",
      "OPER_BASE_UOM": "sample string 2",
      "OPER_PRICE": 3.0,
      "OPER_QUANTITY": 4.0,
      "PUR_GROUP": "sample string 5",
      "SRVPOS": "sample string 6",
      "SRV_GROSS_PRICE": 7.0,
      "SRV_QUANTITY": 8.0,
      "SRV_UOM": "sample string 9",
      "UN_WORK": "sample string 10",
      "VENDOR_NO": "sample string 11",
      "WORK_ACTIVITY": 12.0,
      "WORK_CNTR": "sample string 13",
      "DESCRIPTION": "sample string 14"
    },
    {
      "ACTTYPE": "sample string 1",
      "OPER_BASE_UOM": "sample string 2",
      "OPER_PRICE": 3.0,
      "OPER_QUANTITY": 4.0,
      "PUR_GROUP": "sample string 5",
      "SRVPOS": "sample string 6",
      "SRV_GROSS_PRICE": 7.0,
      "SRV_QUANTITY": 8.0,
      "SRV_UOM": "sample string 9",
      "UN_WORK": "sample string 10",
      "VENDOR_NO": "sample string 11",
      "WORK_ACTIVITY": 12.0,
      "WORK_CNTR": "sample string 13",
      "DESCRIPTION": "sample string 14"
    }
  ],
  "RESPUESTA": {
    "ID": "sample string 1",
    "ID_CABECERA": "sample string 2",
    "FECHA": "sample string 3",
    "RESULT": "sample string 4",
    "MESSAGE": "sample string 5",
    "USUARIO_SAP": "sample string 6"
  },
  "RESPUESTA_ITEMS": [
    {
      "ORDERID": "sample string 1",
      "TYPE": "sample string 2",
      "ID": "sample string 3",
      "NUMBER": "sample string 4",
      "MESSAGE": "sample string 5",
      "LOG_NO": "sample string 6",
      "LOG_MSG_NO": "sample string 7",
      "MESSAGE_V1": "sample string 8",
      "MESSAGE_V2": "sample string 9",
      "MESSAGE_V3": "sample string 10",
      "MESSAGE_V4": "sample string 11",
      "PARAMETER": "sample string 12",
      "ROW": "sample string 13",
      "FIELD": "sample string 14",
      "SYSTEM": "sample string 15",
      "IDRESPONSEITEM": "sample string 16"
    },
    {
      "ORDERID": "sample string 1",
      "TYPE": "sample string 2",
      "ID": "sample string 3",
      "NUMBER": "sample string 4",
      "MESSAGE": "sample string 5",
      "LOG_NO": "sample string 6",
      "LOG_MSG_NO": "sample string 7",
      "MESSAGE_V1": "sample string 8",
      "MESSAGE_V2": "sample string 9",
      "MESSAGE_V3": "sample string 10",
      "MESSAGE_V4": "sample string 11",
      "PARAMETER": "sample string 12",
      "ROW": "sample string 13",
      "FIELD": "sample string 14",
      "SYSTEM": "sample string 15",
      "IDRESPONSEITEM": "sample string 16"
    }
  ],
  "RESULT": {
    "NumeroSIP": "sample string 1",
    "NumeroSAP": "sample string 2",
    "FechaSAP": "2026-01-09T12:46:46.1691849-03:00",
    "ModPendSAP": true,
    "ModSAP": true,
    "ProcesableSAP": true,
    "RespuestaSAP": 6,
    "UsuarioSAP": "sample string 7"
  }
}

application/xml, text/xml

Sample:
<SIPAgroSAPTransaccionCompleta xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities">
  <CABECERA>
    <FINISH_DATE>sample string 4</FINISH_DATE>
    <MN_WK_CTR>sample string 5</MN_WK_CTR>
    <ORDERID>sample string 1</ORDERID>
    <ORDER_TYPE>sample string 2</ORDER_TYPE>
    <PROFIT_CTR>sample string 6</PROFIT_CTR>
    <RESPCCTR>sample string 7</RESPCCTR>
    <START_DATE>sample string 3</START_DATE>
    <WBS_ELEM>sample string 8</WBS_ELEM>
  </CABECERA>
  <COMPONENTES>
    <SIPAgroSAPTransaccionComponente>
      <LOTE>sample string 4</LOTE>
      <MATERIAL>sample string 1</MATERIAL>
      <PRICE>8</PRICE>
      <PUR_GROUP>sample string 7</PUR_GROUP>
      <REQUIREMENT_QUANTITY>sample string 2</REQUIREMENT_QUANTITY>
      <REQUIREMENT_QUANTITY_UNIT>sample string 3</REQUIREMENT_QUANTITY_UNIT>
      <STGE_LOC>sample string 5</STGE_LOC>
      <VENDOR_NO>sample string 6</VENDOR_NO>
    </SIPAgroSAPTransaccionComponente>
    <SIPAgroSAPTransaccionComponente>
      <LOTE>sample string 4</LOTE>
      <MATERIAL>sample string 1</MATERIAL>
      <PRICE>8</PRICE>
      <PUR_GROUP>sample string 7</PUR_GROUP>
      <REQUIREMENT_QUANTITY>sample string 2</REQUIREMENT_QUANTITY>
      <REQUIREMENT_QUANTITY_UNIT>sample string 3</REQUIREMENT_QUANTITY_UNIT>
      <STGE_LOC>sample string 5</STGE_LOC>
      <VENDOR_NO>sample string 6</VENDOR_NO>
    </SIPAgroSAPTransaccionComponente>
  </COMPONENTES>
  <OPERACIONES>
    <SIPAgroSAPTransaccionOperacion>
      <ACTTYPE>sample string 1</ACTTYPE>
      <DESCRIPTION>sample string 14</DESCRIPTION>
      <OPER_BASE_UOM>sample string 2</OPER_BASE_UOM>
      <OPER_PRICE>3</OPER_PRICE>
      <OPER_QUANTITY>4</OPER_QUANTITY>
      <PUR_GROUP>sample string 5</PUR_GROUP>
      <SRVPOS>sample string 6</SRVPOS>
      <SRV_GROSS_PRICE>7</SRV_GROSS_PRICE>
      <SRV_QUANTITY>8</SRV_QUANTITY>
      <SRV_UOM>sample string 9</SRV_UOM>
      <UN_WORK>sample string 10</UN_WORK>
      <VENDOR_NO>sample string 11</VENDOR_NO>
      <WORK_ACTIVITY>12</WORK_ACTIVITY>
      <WORK_CNTR>sample string 13</WORK_CNTR>
    </SIPAgroSAPTransaccionOperacion>
    <SIPAgroSAPTransaccionOperacion>
      <ACTTYPE>sample string 1</ACTTYPE>
      <DESCRIPTION>sample string 14</DESCRIPTION>
      <OPER_BASE_UOM>sample string 2</OPER_BASE_UOM>
      <OPER_PRICE>3</OPER_PRICE>
      <OPER_QUANTITY>4</OPER_QUANTITY>
      <PUR_GROUP>sample string 5</PUR_GROUP>
      <SRVPOS>sample string 6</SRVPOS>
      <SRV_GROSS_PRICE>7</SRV_GROSS_PRICE>
      <SRV_QUANTITY>8</SRV_QUANTITY>
      <SRV_UOM>sample string 9</SRV_UOM>
      <UN_WORK>sample string 10</UN_WORK>
      <VENDOR_NO>sample string 11</VENDOR_NO>
      <WORK_ACTIVITY>12</WORK_ACTIVITY>
      <WORK_CNTR>sample string 13</WORK_CNTR>
    </SIPAgroSAPTransaccionOperacion>
  </OPERACIONES>
  <RESPUESTA>
    <FECHA>sample string 3</FECHA>
    <ID>sample string 1</ID>
    <ID_CABECERA>sample string 2</ID_CABECERA>
    <MESSAGE>sample string 5</MESSAGE>
    <RESULT>sample string 4</RESULT>
    <USUARIO_SAP>sample string 6</USUARIO_SAP>
  </RESPUESTA>
  <RESPUESTA_ITEMS>
    <SIPAgroSAPTransaccionResponseItem>
      <FIELD>sample string 14</FIELD>
      <ID>sample string 3</ID>
      <IDRESPONSEITEM>sample string 16</IDRESPONSEITEM>
      <LOG_MSG_NO>sample string 7</LOG_MSG_NO>
      <LOG_NO>sample string 6</LOG_NO>
      <MESSAGE>sample string 5</MESSAGE>
      <MESSAGE_V1>sample string 8</MESSAGE_V1>
      <MESSAGE_V2>sample string 9</MESSAGE_V2>
      <MESSAGE_V3>sample string 10</MESSAGE_V3>
      <MESSAGE_V4>sample string 11</MESSAGE_V4>
      <NUMBER>sample string 4</NUMBER>
      <ORDERID>sample string 1</ORDERID>
      <PARAMETER>sample string 12</PARAMETER>
      <ROW>sample string 13</ROW>
      <SYSTEM>sample string 15</SYSTEM>
      <TYPE>sample string 2</TYPE>
    </SIPAgroSAPTransaccionResponseItem>
    <SIPAgroSAPTransaccionResponseItem>
      <FIELD>sample string 14</FIELD>
      <ID>sample string 3</ID>
      <IDRESPONSEITEM>sample string 16</IDRESPONSEITEM>
      <LOG_MSG_NO>sample string 7</LOG_MSG_NO>
      <LOG_NO>sample string 6</LOG_NO>
      <MESSAGE>sample string 5</MESSAGE>
      <MESSAGE_V1>sample string 8</MESSAGE_V1>
      <MESSAGE_V2>sample string 9</MESSAGE_V2>
      <MESSAGE_V3>sample string 10</MESSAGE_V3>
      <MESSAGE_V4>sample string 11</MESSAGE_V4>
      <NUMBER>sample string 4</NUMBER>
      <ORDERID>sample string 1</ORDERID>
      <PARAMETER>sample string 12</PARAMETER>
      <ROW>sample string 13</ROW>
      <SYSTEM>sample string 15</SYSTEM>
      <TYPE>sample string 2</TYPE>
    </SIPAgroSAPTransaccionResponseItem>
  </RESPUESTA_ITEMS>
  <RESULT>
    <FechaSAP>2026-01-09T12:46:46.1691849-03:00</FechaSAP>
    <ModPendSAP>true</ModPendSAP>
    <ModSAP>true</ModSAP>
    <NumeroSAP>sample string 2</NumeroSAP>
    <NumeroSIP>sample string 1</NumeroSIP>
    <ProcesableSAP>true</ProcesableSAP>
    <RespuestaSAP>6</RespuestaSAP>
    <UsuarioSAP>sample string 7</UsuarioSAP>
  </RESULT>
</SIPAgroSAPTransaccionCompleta>