POST api/GetProductsMiniPack

Request Information

URI Parameters

None.

Body Parameters

RequestEnhance
NameDescriptionTypeAdditional information
Id

integer

None.

User

string

None.

UserId

integer

None.

ValidationKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "user": "sample string 2",
  "userId": 3,
  "validationKey": "sample string 4"
}

application/xml, text/xml

Sample:
<RequestEnhance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request">
  <User>sample string 2</User>
  <UserId>3</UserId>
  <ValidationKey>sample string 4</ValidationKey>
  <Id>1</Id>
</RequestEnhance>

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 'RequestEnhance'.

Response Information

Resource Description

ProductMiniPackResponseList
NameDescriptionTypeAdditional information
product_mini_pack_list

Collection of ProductMiniPackResponse

None.

ResultCode

integer

None.

ResultMessage

string

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "product_mini_pack_list": [
    {
      "product": {
        "reference": "sample string 1",
        "barCode": "sample string 2",
        "serializable": true,
        "productGroup": "sample string 4",
        "productSubGroup": "sample string 5",
        "measureType": "sample string 6",
        "brand": "sample string 7",
        "model": "sample string 8",
        "price": 9.0,
        "idClient": 10,
        "client": "sample string 11",
        "weight": 1.0,
        "size": "sample string 12",
        "idColor": 13,
        "volume": 1.0,
        "id": 14,
        "name": "sample string 15",
        "description": "sample string 16",
        "code": 17,
        "isEnabled": true,
        "isInUse": true,
        "resultCode": 20,
        "resultMessage": "sample string 21",
        "errorMessage": "sample string 22"
      },
      "product_mini_pack": {
        "idProduct": 1,
        "sheetCod": "sample string 2",
        "color": "sample string 3",
        "colorDescription": "sample string 4",
        "clientName": "sample string 5",
        "state": "sample string 6",
        "totalMeters": 7.0,
        "startDate": "2024-11-30T23:56:58.6140387-05:00",
        "typeDamage": "sample string 9",
        "entryDate": "2024-11-30T23:56:58.6140387-05:00",
        "combined": true,
        "common": true,
        "repetitionsNumber": 13,
        "orderNumber": "sample string 14",
        "width": 15.0,
        "emergent": "sample string 16",
        "ballardLayer": true,
        "taps": "sample string 18",
        "saveCylinder": true,
        "clientCode": "sample string 20",
        "inRelocation": "sample string 21",
        "inventoryWareH": "sample string 22",
        "wareHouse": "sample string 23",
        "destination": "sample string 24",
        "positionSubIndex": "sample string 25",
        "balanced": true,
        "balancedDate": "2024-11-30T23:56:58.6140387-05:00",
        "id": 26,
        "name": "sample string 27",
        "description": "sample string 28",
        "code": 29,
        "isEnabled": true,
        "isInUse": true,
        "resultCode": 32,
        "resultMessage": "sample string 33",
        "errorMessage": "sample string 34"
      },
      "id": 1,
      "name": "sample string 2",
      "description": "sample string 3",
      "code": 4,
      "isEnabled": true,
      "isInUse": true,
      "resultCode": 7,
      "resultMessage": "sample string 8",
      "errorMessage": "sample string 9"
    },
    {
      "product": {
        "reference": "sample string 1",
        "barCode": "sample string 2",
        "serializable": true,
        "productGroup": "sample string 4",
        "productSubGroup": "sample string 5",
        "measureType": "sample string 6",
        "brand": "sample string 7",
        "model": "sample string 8",
        "price": 9.0,
        "idClient": 10,
        "client": "sample string 11",
        "weight": 1.0,
        "size": "sample string 12",
        "idColor": 13,
        "volume": 1.0,
        "id": 14,
        "name": "sample string 15",
        "description": "sample string 16",
        "code": 17,
        "isEnabled": true,
        "isInUse": true,
        "resultCode": 20,
        "resultMessage": "sample string 21",
        "errorMessage": "sample string 22"
      },
      "product_mini_pack": {
        "idProduct": 1,
        "sheetCod": "sample string 2",
        "color": "sample string 3",
        "colorDescription": "sample string 4",
        "clientName": "sample string 5",
        "state": "sample string 6",
        "totalMeters": 7.0,
        "startDate": "2024-11-30T23:56:58.6140387-05:00",
        "typeDamage": "sample string 9",
        "entryDate": "2024-11-30T23:56:58.6140387-05:00",
        "combined": true,
        "common": true,
        "repetitionsNumber": 13,
        "orderNumber": "sample string 14",
        "width": 15.0,
        "emergent": "sample string 16",
        "ballardLayer": true,
        "taps": "sample string 18",
        "saveCylinder": true,
        "clientCode": "sample string 20",
        "inRelocation": "sample string 21",
        "inventoryWareH": "sample string 22",
        "wareHouse": "sample string 23",
        "destination": "sample string 24",
        "positionSubIndex": "sample string 25",
        "balanced": true,
        "balancedDate": "2024-11-30T23:56:58.6140387-05:00",
        "id": 26,
        "name": "sample string 27",
        "description": "sample string 28",
        "code": 29,
        "isEnabled": true,
        "isInUse": true,
        "resultCode": 32,
        "resultMessage": "sample string 33",
        "errorMessage": "sample string 34"
      },
      "id": 1,
      "name": "sample string 2",
      "description": "sample string 3",
      "code": 4,
      "isEnabled": true,
      "isInUse": true,
      "resultCode": 7,
      "resultMessage": "sample string 8",
      "errorMessage": "sample string 9"
    }
  ],
  "resultCode": 1,
  "resultMessage": "sample string 2",
  "errorMessage": "sample string 3"
}

application/xml, text/xml

Sample:
<ProductMiniPackResponseList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response.ProductMiniPak">
  <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 3</ErrorMessage>
  <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">1</ResultCode>
  <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 2</ResultMessage>
  <product_mini_pack_list>
    <ProductMiniPackResponse>
      <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 9</ErrorMessage>
      <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">7</ResultCode>
      <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 8</ResultMessage>
      <Code xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">4</Code>
      <Description xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 3</Description>
      <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">1</Id>
      <IsEnabled xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsEnabled>
      <IsInUse xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsInUse>
      <Name xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 2</Name>
      <product xmlns:d4p1="http://schemas.datacontract.org/2004/07/SGAMovil.Response.Product">
        <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 22</ErrorMessage>
        <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">20</ResultCode>
        <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 21</ResultMessage>
        <Code xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">17</Code>
        <Description xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 16</Description>
        <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">14</Id>
        <IsEnabled xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsEnabled>
        <IsInUse xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsInUse>
        <Name xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 15</Name>
        <d4p1:BarCode>sample string 2</d4p1:BarCode>
        <d4p1:Brand>sample string 7</d4p1:Brand>
        <d4p1:Client>sample string 11</d4p1:Client>
        <d4p1:IdClient>10</d4p1:IdClient>
        <d4p1:IdColor>13</d4p1:IdColor>
        <d4p1:MeasureType>sample string 6</d4p1:MeasureType>
        <d4p1:Model>sample string 8</d4p1:Model>
        <d4p1:Price>9</d4p1:Price>
        <d4p1:ProductGroup>sample string 4</d4p1:ProductGroup>
        <d4p1:ProductSubGroup>sample string 5</d4p1:ProductSubGroup>
        <d4p1:Reference>sample string 1</d4p1:Reference>
        <d4p1:Serializable>true</d4p1:Serializable>
        <d4p1:Size>sample string 12</d4p1:Size>
        <d4p1:Volume>1</d4p1:Volume>
        <d4p1:Weight>1</d4p1:Weight>
      </product>
      <product_mini_pack>
        <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 34</ErrorMessage>
        <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">32</ResultCode>
        <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 33</ResultMessage>
        <Code xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">29</Code>
        <Description xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 28</Description>
        <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">26</Id>
        <IsEnabled xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsEnabled>
        <IsInUse xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsInUse>
        <Name xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 27</Name>
        <Balanced>true</Balanced>
        <BalancedDate>2024-11-30T23:56:58.6140387-05:00</BalancedDate>
        <BallardLayer>true</BallardLayer>
        <ClientCode>sample string 20</ClientCode>
        <ClientName>sample string 5</ClientName>
        <Color>sample string 3</Color>
        <ColorDescription>sample string 4</ColorDescription>
        <Combined>true</Combined>
        <Common>true</Common>
        <Destination>sample string 24</Destination>
        <Emergent>sample string 16</Emergent>
        <EntryDate>2024-11-30T23:56:58.6140387-05:00</EntryDate>
        <IdProduct>1</IdProduct>
        <InRelocation>sample string 21</InRelocation>
        <InventoryWareH>sample string 22</InventoryWareH>
        <OrderNumber>sample string 14</OrderNumber>
        <PositionSubIndex>sample string 25</PositionSubIndex>
        <RepetitionsNumber>13</RepetitionsNumber>
        <SaveCylinder>true</SaveCylinder>
        <SheetCod>sample string 2</SheetCod>
        <StartDate>2024-11-30T23:56:58.6140387-05:00</StartDate>
        <State>sample string 6</State>
        <Taps>sample string 18</Taps>
        <TotalMeters>7</TotalMeters>
        <TypeDamage>sample string 9</TypeDamage>
        <WareHouse>sample string 23</WareHouse>
        <Width>15</Width>
      </product_mini_pack>
    </ProductMiniPackResponse>
    <ProductMiniPackResponse>
      <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 9</ErrorMessage>
      <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">7</ResultCode>
      <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 8</ResultMessage>
      <Code xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">4</Code>
      <Description xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 3</Description>
      <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">1</Id>
      <IsEnabled xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsEnabled>
      <IsInUse xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsInUse>
      <Name xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 2</Name>
      <product xmlns:d4p1="http://schemas.datacontract.org/2004/07/SGAMovil.Response.Product">
        <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 22</ErrorMessage>
        <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">20</ResultCode>
        <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 21</ResultMessage>
        <Code xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">17</Code>
        <Description xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 16</Description>
        <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">14</Id>
        <IsEnabled xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsEnabled>
        <IsInUse xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsInUse>
        <Name xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 15</Name>
        <d4p1:BarCode>sample string 2</d4p1:BarCode>
        <d4p1:Brand>sample string 7</d4p1:Brand>
        <d4p1:Client>sample string 11</d4p1:Client>
        <d4p1:IdClient>10</d4p1:IdClient>
        <d4p1:IdColor>13</d4p1:IdColor>
        <d4p1:MeasureType>sample string 6</d4p1:MeasureType>
        <d4p1:Model>sample string 8</d4p1:Model>
        <d4p1:Price>9</d4p1:Price>
        <d4p1:ProductGroup>sample string 4</d4p1:ProductGroup>
        <d4p1:ProductSubGroup>sample string 5</d4p1:ProductSubGroup>
        <d4p1:Reference>sample string 1</d4p1:Reference>
        <d4p1:Serializable>true</d4p1:Serializable>
        <d4p1:Size>sample string 12</d4p1:Size>
        <d4p1:Volume>1</d4p1:Volume>
        <d4p1:Weight>1</d4p1:Weight>
      </product>
      <product_mini_pack>
        <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 34</ErrorMessage>
        <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">32</ResultCode>
        <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 33</ResultMessage>
        <Code xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">29</Code>
        <Description xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 28</Description>
        <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">26</Id>
        <IsEnabled xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsEnabled>
        <IsInUse xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsInUse>
        <Name xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 27</Name>
        <Balanced>true</Balanced>
        <BalancedDate>2024-11-30T23:56:58.6140387-05:00</BalancedDate>
        <BallardLayer>true</BallardLayer>
        <ClientCode>sample string 20</ClientCode>
        <ClientName>sample string 5</ClientName>
        <Color>sample string 3</Color>
        <ColorDescription>sample string 4</ColorDescription>
        <Combined>true</Combined>
        <Common>true</Common>
        <Destination>sample string 24</Destination>
        <Emergent>sample string 16</Emergent>
        <EntryDate>2024-11-30T23:56:58.6140387-05:00</EntryDate>
        <IdProduct>1</IdProduct>
        <InRelocation>sample string 21</InRelocation>
        <InventoryWareH>sample string 22</InventoryWareH>
        <OrderNumber>sample string 14</OrderNumber>
        <PositionSubIndex>sample string 25</PositionSubIndex>
        <RepetitionsNumber>13</RepetitionsNumber>
        <SaveCylinder>true</SaveCylinder>
        <SheetCod>sample string 2</SheetCod>
        <StartDate>2024-11-30T23:56:58.6140387-05:00</StartDate>
        <State>sample string 6</State>
        <Taps>sample string 18</Taps>
        <TotalMeters>7</TotalMeters>
        <TypeDamage>sample string 9</TypeDamage>
        <WareHouse>sample string 23</WareHouse>
        <Width>15</Width>
      </product_mini_pack>
    </ProductMiniPackResponse>
  </product_mini_pack_list>
</ProductMiniPackResponseList>