Skip to main content

Identification Information

The GetIdentificationInfo endpoint returns identification information from the MIMS system.


How to query identification information

HTTP POST Request

Request TypeExample URL
POST{{url_base}}/GetIdentificationInfo
Examplehttp://seuIPePorta/datasnap/rest/RESTWebServiceMethods/"GetIdentificationInfo"

Input Parameters

ParameterTypeRequiredDescription
IdentificationNoString(20)YesIdentification 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

ParameterTypeRequiredDescription
WebServiceReturnWebServiceReturnYesStandard WebService response information on method execution
IdentificationInfoDataGetIdentificationPalletInfoYesObject containing pallet information

📝 GetIdentificationPalletInfo Object

The GetIdentificationPalletInfo object represents a pallet in the MIMS system.

Return Parameters

ParameterTypeRequiredDescription
PalletNoString(25)YesPallet number
PalletIdentificationString(20)YesPallet identification
PalletStatusString(2)YesPallet status
PalletDateDataHoraYesPallet date
StandardDateDataHoraYesStandard pallet date
NetWeightFloatYesNet weight
RealWeightFloatYesReal weight
TareFloatYesTare
DispatchQtyIntegerYesQuantity of dispatched boxes
CasesInfoListGetIdentificationInfoCasesItemYesList with all identification information
warning

When the IdentificationNo parameter 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

ParameterTypeRequiredDescription
ProductionCodeString(10)YesProduct production code
ProductNoString(25)YesExternal product code
ProductCodeInt64YesInternal product code
IdentificationString(20)YesIdentification
ProductionDateDataHoraYesProduction date/time
StandardDateDataHoraYesStandard date/time
ExpirationDateDataHoraYesExpiration date/time
PreparationDateDataHoraYesPreparation date/time
LotNoString(20)YesLot number
LotDateDataHoraYesLot date/time
ShiftNoString(30)YesShift number
NetWeightFloatYesNet weight
StandardWeightFloatYesStandard weight
OriginWeightFloatYesOrigin weight
TareFloatYesTare
UnitsPerPackageQtyFloatYesQuantity of units per package
IdentificationModelIntegerYesIdentification model
PackProductionCodeIntegerYesInternal Packer code
BalanceCodeIntegerYesInternal balance code
SlaughterStructureCodeIntegerYesInternal slaughter unit structure code
IsSimulationBooleanYesFlag indicating if it is simulated production
IsOwnProductionOwnProductionYesEnumerator with possible values for Own Production: opYes (Yes), opNo (No) or opBoth (Both)
IdentificationTypeIdentificationTypeYesEnumerator with possible values for Identification Type: idtPackaging (Packaging), idtIndividualUnit (Individual unit) or idtNotAssigned (Not assigned)
ProductionOriginTypeProductionOriginTypeYesEnumerator with possible values for Production Origin Type: potNormal (Normal), potReprocess (Reprocessing), potProcess (Process), potReidentification (Reidentification), potReweighing (Reweighing) or potNotAssigned (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"
}
]
}
}