A finalidade deste método é, possibilitar a consulta de lotes para inventário.
GET api/v1/sm/inventories/lots?numberCompany=
{numberCompany}&placeCode=
{placeCode}&lotCode=
{lotCode}&initialGenerationDate=
{initialGenerationDate}&finalGenerationDate=
{finalGenerationDate}&status=
{status}&_pageNo=
{_pageNo}&_pageSize=
{_pageSize}
Nome (Name) | Descrição (Description) | Tipo (Type) | Informações Adicionais (Adittional Information) |
numberCompany | Number Company | integer | Não há. |
placeCode | Place Code (Optional: If it is not filled, the code of the place will not be considered. Otherwise, the records with the code of the place will be considered equal to a certain code) | integer | Não há. |
lotCode | Lot Code (Optional: If it is not filled, the lot code will not be considered. Otherwise, the records with the lot code will be considered equal to a certain code) | integer | Não há. |
initialGenerationDate | Initial Generation Date dd/MM/yyyy HH:mm or ddMMyyyyHHmm (Optional: If it is not filled, the date will not be considered. Otherwise it will fetch greater or equal to a given date) | string | Não há. |
finalGenerationDate | Final Generation Date dd/MM/yyyy HH:mm or ddMMyyyyHHmm (Optional: If it is not filled, the date will not be considered. Otherwise it will be less than or equal to a certain date) | string | Não há. |
status | Lot Status | string | Não há. |
_pageNo | integer | Não há. | |
_pageSize | integer | Não há. |
Não há.
List of LotsResponseDTO
Collection of LotsResponseDTO
Nome (Name) | Descrição (Description) | Tipo (Type) | Informações Adicionais (Adittional Information) |
otCode | Lot Code | integer | Não há. |
numberCompany | Number Company | integer | Não há. |
placeCode | Place Code | integer | Não há. |
segmentNumber | Segment Number | integer | Não há. |
description | Description of the Lot | string | Não há. |
inventoryType | Inventory Type (T – Total / V – Empty / P – Partial) | string | Não há. |
countAmount | Count Amount | integer | Não há. |
generationDate | Generation Date | date | Não há. |
generationUser | Generation User | string | Não há. |
stockSnapshotDate | Stock Snapshot Date | date | Não há. |
stockSnapshotUser | Stock Snapshot User | string | Não há. |
validationDate | Validation Date | date | Não há. |
validationUser | Validation User | string | Não há. |
cancellationDate | Cancellation Date | date | Não há. |
cancellationUser | Cancellation User | string | Não há. |
status | Lot Status (P – Partially Frozen / A – Open / C – Canceled / G – Frozen / F – Finished / Others – Undefined) | string | Não há. |
stockThawingDate | Stock Thawing Date | date | Não há. |
stockThawingUser | Stock Thawing User | string | Não há. |
application/json, text/json
Exemplo (Sample):
[
{
"lotCode": 1,
"numberCompany": 2,
"placeCode": 1,
"segmentNumber": 3,
"description": "sample string 4",
"inventoryType": "sample string 5",
"countAmount": 6,
"generationDate": "2019-10-24T14:50:29.2908346-03:00",
"generationUser": "sample string 7",
"stockSnapshotDate": "2019-10-24T14:50:29.2908346-03:00",
"stockSnapshotUser": "sample string 8",
"validationDate": "2019-10-24T14:50:29.2908346-03:00",
"validationUser": "sample string 9",
"cancellationDate": "2019-10-24T14:50:29.2908346-03:00",
"cancellationUser": "sample string 10",
"status": "sample string 11",
"stockThawingDate": "2019-10-24T14:50:29.2908346-03:00",
"stockThawingUser": "sample string 12"
},
{
"lotCode": 1,
"numberCompany": 2,
"placeCode": 1,
"segmentNumber": 3,
"description": "sample string 4",
"inventoryType": "sample string 5",
"countAmount": 6,
"generationDate": "2019-10-24T14:50:29.2908346-03:00",
"generationUser": "sample string 7",
"stockSnapshotDate": "2019-10-24T14:50:29.2908346-03:00",
"stockSnapshotUser": "sample string 8",
"validationDate": "2019-10-24T14:50:29.2908346-03:00",
"validationUser": "sample string 9",
"cancellationDate": "2019-10-24T14:50:29.2908346-03:00",
"cancellationUser": "sample string 10",
"status": "sample string 11",
"stockThawingDate": "2019-10-24T14:50:29.2908346-03:00",
"stockThawingUser": "sample string 12"
}
]
application/xml, text/xml
Exemplo (Sample):
<ArrayOfLotsResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Consinco.SM.Api.Entities.Entities.v1">
<LotsResponseDTO>
<CancellationDate>2019-10-24T14:50:29.2908346-03:00</CancellationDate>
<CancellationUser>sample string 10</CancellationUser>
<CountAmount>6</CountAmount>
<Description>sample string 4</Description>
<GenerationDate>2019-10-24T14:50:29.2908346-03:00</GenerationDate>
<GenerationUser>sample string 7</GenerationUser>
<InventoryType>sample string 5</InventoryType>
<LotCode>1</LotCode>
<NumberCompany>2</NumberCompany>
<PlaceCode>1</PlaceCode>
<SegmentNumber>3</SegmentNumber>
<Status>sample string 11</Status>
<StockSnapshotDate>2019-10-24T14:50:29.2908346-03:00</StockSnapshotDate>
<StockSnapshotUser>sample string 8</StockSnapshotUser>
<StockThawingDate>2019-10-24T14:50:29.2908346-03:00</StockThawingDate>
<StockThawingUser>sample string 12</StockThawingUser>
<ValidationDate>2019-10-24T14:50:29.2908346-03:00</ValidationDate>
<ValidationUser>sample string 9</ValidationUser>
</LotsResponseDTO>
<LotsResponseDTO>
<CancellationDate>2019-10-24T14:50:29.2908346-03:00</CancellationDate>
<CancellationUser>sample string 10</CancellationUser>
<CountAmount>6</CountAmount>
<Description>sample string 4</Description>
<GenerationDate>2019-10-24T14:50:29.2908346-03:00</GenerationDate>
<GenerationUser>sample string 7</GenerationUser>
<InventoryType>sample string 5</InventoryType>
<LotCode>1</LotCode>
<NumberCompany>2</NumberCompany>
<PlaceCode>1</PlaceCode>
<SegmentNumber>3</SegmentNumber>
<Status>sample string 11</Status>
<StockSnapshotDate>2019-10-24T14:50:29.2908346-03:00</StockSnapshotDate>
<StockSnapshotUser>sample string 8</StockSnapshotUser>
<StockThawingDate>2019-10-24T14:50:29.2908346-03:00</StockThawingDate>
<StockThawingUser>sample string 12</StockThawingUser>
<ValidationDate>2019-10-24T14:50:29.2908346-03:00</ValidationDate>
<ValidationUser>sample string 9</ValidationUser>
</LotsResponseDTO>
</ArrayOfLotsResponseDTO>