A finalidade deste método é, possibilitar a consulta de produtos que estão no lote de inventário.
GET api/v1/sm/inventories/lot-products?NumberCompany=
{NumberCompany}&LotCode=
{LotCode}&ProductCode={ProductCode}&_pageNo=
{_pageNo}&_pageSize=
{_pageSize}
Nome (Name) | Descrição (Description) | Tipo (Type) | Informações Adicionais (Adittional Information) |
numberCompany | Company identifier number | integer | Requerido |
lotCode | Lot identifier number | integer | Requerido |
productCode | Product identifier number (Optional) | decimal number | Não há. |
_pageNo | integer | Não há. | |
_pageSize | integer | Não há. |
Não há.
List of LotsResponseDTO
Collection of LotProductsResponseDTO
Nome (Name) | Descrição (Description) | Tipo (Type) | Informações Adicionais (Adittional Information) |
numberCompany | Company identifier number | integer | Não há. |
productDescription | Product Description | string | Não há. |
lotCode | Lot identifier number | integer | Não há. |
productCode | Product identifier number | decimal number | Não há. |
quantityFrozen | Quantity of product frozen | decimal number | Não há. |
quantityPackage | Quantity of package | decimal number | Não há. |
frozenNetCost | Frozen product net cost | decimal number | Não há. |
frozenGrossCost | Frozen product gross cost | decimal number | Não há. |
frozenSalePrice | Frozen sale price | decimal number | Não há. |
frozenStatus | Frozen status | string | Tamanho da String: inclusive between 0 and 1 |
dateTimeThaw | Date/Time of thawing lot | date | Não há. |
userThaw | User who thawed the lot | string | Tamanho da String: inclusive between 0 and 12 |
dateTimeFrozen | Lot freeze Date/Time | date | Não há. |
userFrozen | User who froze the lot | string | Tamanho da String: inclusive between 0 and 12 |
dateTimeInclusion | Date/Time of inclusion of product in Lot | date | Não há. |
lotStockCode | Lot Stock Identifier Number | integer | Não há. |
areaCode | Are Code | integer | Não há. |
subareaCode | Subarea Code | integer | Não há. |
countCode | Count identifier number | integer | Não há. |
relatedProductCode | Related product identifier number | decimal number | Não há. |
quantityCount1 | Count 1 quantity | decimal number | Não há. |
quantityCount2 | Count 2 quantity | decimal number | Não há. |
quantityCount3 | Count 3 quantity | decimal number | Não há. |
observation | Observations | string | Tamanho da String: inclusive between 0 and 250 |
numberGondola | Gondola identifier number | integer | Não há. |
nameGondola | Gondola name | string | Tamanho da string: inclusive between 0 and 20 |
lotProperties | Lot properties (When it controls Lot) | LotPropertiesDTO | Não há. |
application/json, text/json
Exemplo (Sample):
[
{
"numberCompany": 1,
"productDescription": "sample string 2",
"lotCode": 3,
"productCode": 4.0,
"quantityFrozen": 1.1,
"quantityPackage": 1.1,
"frozenNetCost": 5.1,
"frozenGrossCost": 6.1,
"frozenSalePrice": 7.1,
"frozenStatus": "sample string 8",
"dateTimeThaw": "2019-10-24T16:10:17.620089-03:00",
"userThaw": "sample string 9",
"dateTimeFrozen": "2019-10-24T16:10:17.620089-03:00",
"userFrozen": "sample string 10",
"dateTimeInclusion": "2019-10-24T16:10:17.620089-03:00",
"lotStockCode": 1,
"areaCode": 1,
"subareaCode": 1,
"countCode": 1,
"relatedProductCode": 1.0,
"quantityCount1": 1.1,
"quantityCount2": 1.1,
"quantityCount3": 1.1,
"observation": "sample string 11",
"numberGondola": 1,
"nameGondola": "sample string 12",
"lotProperties": {
"numberLot": "sample string 1",
"fabricationDate": "2019-10-24T16:10:17.620089-03:00",
"expirationDate": "2019-10-24T16:10:17.620089-03:00",
"quantityFrozen": 1.1,
"quantityPackage": 1.1
}
},
{
"numberCompany": 1,
"productDescription": "sample string 2",
"lotCode": 3,
"productCode": 4.0,
"quantityFrozen": 1.1,
"quantityPackage": 1.1,
"frozenNetCost": 5.1,
"frozenGrossCost": 6.1,
"frozenSalePrice": 7.1,
"frozenStatus": "sample string 8",
"dateTimeThaw": "2019-10-24T16:10:17.620089-03:00",
"userThaw": "sample string 9",
"dateTimeFrozen": "2019-10-24T16:10:17.620089-03:00",
"userFrozen": "sample string 10",
"dateTimeInclusion": "2019-10-24T16:10:17.620089-03:00",
"lotStockCode": 1,
"areaCode": 1,
"subareaCode": 1,
"countCode": 1,
"relatedProductCode": 1.0,
"quantityCount1": 1.1,
"quantityCount2": 1.1,
"quantityCount3": 1.1,
"observation": "sample string 11",
"numberGondola": 1,
"nameGondola": "sample string 12",
"lotProperties": {
"numberLot": "sample string 1",
"fabricationDate": "2019-10-24T16:10:17.620089-03:00",
"expirationDate": "2019-10-24T16:10:17.620089-03:00",
"quantityFrozen": 1.1,
"quantityPackage": 1.1
}
}
]
application/xml, text/xml
Exemplo (Sample):
<ArrayOfLotProductsResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Consinco.SM.Api.Entities.Entities.v1">
<LotProductsResponseDTO>
<AreaCode>1</AreaCode>
<CountCode>1</CountCode>
<DateTimeFrozen>2019-10-24T16:10:17.620089-03:00</DateTimeFrozen>
<DateTimeInclusion>2019-10-24T16:10:17.620089-03:00</DateTimeInclusion>
<DateTimeThaw>2019-10-24T16:10:17.620089-03:00</DateTimeThaw>
<FrozenGrossCost>6.1</FrozenGrossCost>
<FrozenNetCost>5.1</FrozenNetCost>
<FrozenSalePrice>7.1</FrozenSalePrice>
<FrozenStatus>sample string 8</FrozenStatus>
<LotCode>3</LotCode>
<LotProperties>
<ExpirationDate>2019-10-24T16:10:17.620089-03:00</ExpirationDate>
<FabricationDate>2019-10-24T16:10:17.620089-03:00</FabricationDate>
<NumberLot>sample string 1</NumberLot>
<QuantityFrozen>1.1</QuantityFrozen>
<QuantityPackage>1.1</QuantityPackage>
</LotProperties>
<LotStockCode>1</LotStockCode>
<NameGondola>sample string 12</NameGondola>
<NumberCompany>1</NumberCompany>
<NumberGondola>1</NumberGondola>
<Observation>sample string 11</Observation>
<ProductCode>4</ProductCode>
<ProductDescription>sample string 2</ProductDescription>
<QuantityCount1>1.1</QuantityCount1>
<QuantityCount2>1.1</QuantityCount2>
<QuantityCount3>1.1</QuantityCount3>
<QuantityFrozen>1.1</QuantityFrozen>
<QuantityPackage>1.1</QuantityPackage>
<RelatedProductCode>1</RelatedProductCode>
<SubareaCode>1</SubareaCode>
<UserFrozen>sample string 10</UserFrozen>
<UserThaw>sample string 9</UserThaw>
</LotProductsResponseDTO>
<LotProductsResponseDTO>
<AreaCode>1</AreaCode>
<CountCode>1</CountCode>
<DateTimeFrozen>2019-10-24T16:10:17.620089-03:00</DateTimeFrozen>
<DateTimeInclusion>2019-10-24T16:10:17.620089-03:00</DateTimeInclusion>
<DateTimeThaw>2019-10-24T16:10:17.620089-03:00</DateTimeThaw>
<FrozenGrossCost>6.1</FrozenGrossCost>
<FrozenNetCost>5.1</FrozenNetCost>
<FrozenSalePrice>7.1</FrozenSalePrice>
<FrozenStatus>sample string 8</FrozenStatus>
<LotCode>3</LotCode>
<LotProperties>
<ExpirationDate>2019-10-24T16:10:17.620089-03:00</ExpirationDate>
<FabricationDate>2019-10-24T16:10:17.620089-03:00</FabricationDate>
<NumberLot>sample string 1</NumberLot>
<QuantityFrozen>1.1</QuantityFrozen>
<QuantityPackage>1.1</QuantityPackage>
</LotProperties>
<LotStockCode>1</LotStockCode>
<NameGondola>sample string 12</NameGondola>
<NumberCompany>1</NumberCompany>
<NumberGondola>1</NumberGondola>
<Observation>sample string 11</Observation>
<ProductCode>4</ProductCode>
<ProductDescription>sample string 2</ProductDescription>
<QuantityCount1>1.1</QuantityCount1>
<QuantityCount2>1.1</QuantityCount2>
<QuantityCount3>1.1</QuantityCount3>
<QuantityFrozen>1.1</QuantityFrozen>
<QuantityPackage>1.1</QuantityPackage>
<RelatedProductCode>1</RelatedProductCode>
<SubareaCode>1</SubareaCode>
<UserFrozen>sample string 10</UserFrozen>
<UserThaw>sample string 9</UserThaw>
</LotProductsResponseDTO>
</ArrayOfLotProductsResponseDTO>