POST api/SIPAgroSAPAPI/ProcesarOperacionWS

PorcesarOperaconWS

Request Information

URI Parameters

None.

Body Parameters

SIPAgroSAPTransaccion
NameDescriptionTypeAdditional information
CABECERA

SIPAgroSAPTransaccionCabecera

None.

COMPONENTES

Collection of SIPAgroSAPTransaccionComponente

None.

OPERACIONES

Collection of SIPAgroSAPTransaccionOperacion

None.

Request 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"
    }
  ]
}

application/xml, text/xml

Sample:
<SIPAgroSAPTransaccion 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>
</SIPAgroSAPTransaccion>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SIPAgroSAPTransaccionResponse
NameDescriptionTypeAdditional information
Cabecera

SIPAgroSAPTransaccionResponseCabecera

None.

Items

Collection of SIPAgroSAPTransaccionResponseItem

None.

Response Formats

application/json, text/json

Sample:
{
  "Cabecera": {
    "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"
  },
  "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"
    }
  ]
}

application/xml, text/xml

Sample:
<SIPAgroSAPTransaccionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities">
  <Cabecera>
    <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>
  </Cabecera>
  <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>
  </Items>
</SIPAgroSAPTransaccionResponse>