Identification Information
The GetIdentificationInfo endpoint returns identification information from the MIMS system.
How to query identification information
HTTP POST Request
| Request Type | Example URL |
|---|---|
| POST | {{url_base}}/GetIdentificationInfo |
| Example | http://seuIPePorta/datasnap/rest/RESTWebServiceMethods/"GetIdentificationInfo" |
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| IdentificationNo | String(20) | Yes | Identification number |
warning
The method behavior varies according to the value provided in the IdentificationNo parameter:
- When provided with an identification corresponding to a pallet, the method returns the pallet information and all identifications (boxes) associated with it.
- When provided with a specific identification (box or individual unit), the method returns only the information for that identification.
In this way, the method allows querying both complete pallet information, including its boxes, and isolated information for an identification (box or individual unit).
Return
| Parameter | Type | Required | Description |
|---|---|---|---|
| WebServiceReturn | WebServiceReturn | Yes | Standard WebService response information on method execution |
| IdentificationInfoData | GetIdentificationPalletInfo | Yes | Object containing pallet information |
📝 GetIdentificationPalletInfo Object
The GetIdentificationPalletInfo object represents a pallet in the MIMS system.
Return Parameters
Parameter Type Required Description PalletNo String(25) Yes Pallet number PalletIdentification String(20) Yes Pallet identification PalletStatus String(2) Yes Pallet status PalletDate DataHora Yes Pallet date StandardDate DataHora Yes Standard pallet date NetWeight Float Yes Net weight RealWeight Float Yes Real weight Tare Float Yes Tare DispatchQty Integer Yes Quantity of dispatched boxes CasesInfoList GetIdentificationInfoCasesItem Yes List with all identification information warningWhen the
IdentificationNoparameter is provided with a specific identification (box or individual unit), this object will return empty.
📝 GetIdentificationInfoCasesItem Object
The GetIdentificationInfoCasesItem object represents a box or individual unit.
Return Parameters
Parameter Type Required Description ProductionCode String(10) Yes Product production code ProductNo String(25) Yes External product code ProductCode Int64 Yes Internal product code Identification String(20) Yes Identification ProductionDate DataHora Yes Production date/time StandardDate DataHora Yes Standard date/time ExpirationDate DataHora Yes Expiration date/time PreparationDate DataHora Yes Preparation date/time LotNo String(20) Yes Lot number LotDate DataHora Yes Lot date/time ShiftNo String(30) Yes Shift number NetWeight Float Yes Net weight StandardWeight Float Yes Standard weight OriginWeight Float Yes Origin weight Tare Float Yes Tare UnitsPerPackageQty Float Yes Quantity of units per package IdentificationModel Integer Yes Identification model PackProductionCode Integer Yes Internal Packer code BalanceCode Integer Yes Internal balance code SlaughterStructureCode Integer Yes Internal slaughter unit structure code IsSimulation Boolean Yes Flag indicating if it is simulated production IsOwnProduction OwnProduction Yes Enumerator with possible values for Own Production: opYes(Yes),opNo(No) oropBoth(Both)IdentificationType IdentificationType Yes Enumerator with possible values for Identification Type: idtPackaging(Packaging),idtIndividualUnit(Individual unit) oridtNotAssigned(Not assigned)ProductionOriginType ProductionOriginType Yes Enumerator with possible values for Production Origin Type: potNormal(Normal),potReprocess(Reprocessing),potProcess(Process),potReidentification(Reidentification),potReweighing(Reweighing) orpotNotAssigned(Not assigned)
Request Example
curl --location 'http://seuIPePorta/datasnap/rest/RESTWebServiceMethods/"GetIdentificationInfo"' \
--header 'Content-Type: application/json' \
--data '{
"IdentificationNo": "908122501000000001"
}'
Response Example
{
"WebServiceReturn": {
"Status": "wrsSuccess",
"ErrorCode": "",
"Message": "",
"Actor": "",
"ReturnQuestion": null
},
"IdentificationInfoData": {
"PalletNo": "PALETE123",
"PalletIdentification": "908122501000000001",
"PalletStatus": "A",
"PalletDate": "2025-02-20T12:00:00Z",
"StandardDate": "2025-02-20T12:00:00Z",
"NetWeight": 150.0,
"RealWeight": 155.0,
"Tare": 5.0,
"DispatchQty": 10,
"CasesInfoList": [
{
"ProductionCode": "PROD",
"ProductNo": "PROD001",
"ProductCode": 12345,
"Identification": "BOX001",
"ProductionDate": "2025-02-20T10:00:00Z",
"StandardDate": "2025-02-20T10:00:00Z",
"ExpirationDate": "2025-08-20T23:59:59Z",
"PreparationDate": "2025-02-20T09:00:00Z",
"LotNo": "LOT001",
"LotDate": "2025-02-20T08:00:00Z",
"ShiftNo": "Turno1",
"NetWeight": 15.0,
"StandardWeight": 15.5,
"Tare": 0.5,
"UnitsPerPackageQty": 12.0,
"IdentificationModel": 1,
"IdentificationType": "idtPackaging",
"PackProductionCode": 1,
"BalanceCode": 1,
"SlaughterStructureCode": 1,
"OriginWeight": 15.0,
"IsOwnProduction": "opYes",
"IsSimulation": false,
"ProductionOriginType": "potNormal"
}
]
}
}