Home
Interfaces
Contents
1. Field Type Description Allowed Values NOTP_CDE string Notification Type M All animal Types OCR_DTE dateTime Notification Date M Any valid Date All animal Types RCV_DTE dateTime Date 0 Any valid Date Current date will be taken when left blank REF_NBR string Reference Number M for FED users Any Alphanumeric All animal Types text 15 char DOC_NBR string Document O Any Alphanumeric Number All animal Types text SOchar ANTP_CDE string Animal Type M All animal Types FCLT_CDE string Facility Code SNUN REF NBR string Sanitary unit code ANML REF NBR string Animal marking RIOG CDE string NRCR CDE string DES string Description O Any Alphanumeric text 50char VIST_ID string Visit id O Existing visit id LBO_REF_NBR string 0 Not used LMS_REF_NBR string 0 Not used SMP_REF_NBR_BAG string 0 Not used CMN string Comment O Any Alphanumeric All animal Types text 800 char Party Field Type Description Allowed Values NPTP_CDE string Notification party M if Party tag is defined in xml type All Animal Types CDE string Party Code M if Party tag is defined in xml Existing Party Code All Animal Types Field Type Description Allowed Values RITP_CDE string Risk Item Type RIIT_CDE string Risk item type RIIM_CDE string Risk item RIST_CDE string Current risk condition RSST_CDE string Current risk status RSST_CDE_APT string New risk status RIST_CDE_APT string New risk condition DTE_FRM dateTime Risk
2. Sanitel EAI Manual v1 39 EAIManual doc 81 Output Schema SanitaryUnitExport Double Click to enlarge the diagram SanitaryUnitExport jpg http Sanitel EAT SanitelRepository SanitelServices SanitaryUnitExportSchema Sanitel EAI Manual v1 39 EAIManual doc 82 Interface EXSUO ExportSanitaryUnitOverview Direction Export Purpose Retrieve a general overview of sanitary units and their key characteristics Layout Documentation https gas sanitel be int QAS_Sanitel ExtInterfacingSvcs v2 SanitelServices asmx op ExportSanitaryUnitOverview Input Schema SanitaryUnitOverviewExportRequest lt gt SanitaryUnitOverviewExportRequest A Ka User xs string 3 SecurityToken xs string ResultIndex xstint OnBehalfRole xs string OnBehalfEntity xs string UserLanguage xs string is lt gt SanitaryUnit Z lt gt SUTP_CDE 0 hi A 8 lt gt CDE 0 1 aS n lt gt NAM xs string lt gt REF NBR xs string lt gt EXT_REF_NBR xs string lt gt ZIP 0 1 xs string lt gt FCLT CDE xs string lt gt PRUN REF MER 0 1 xs string lt gt PATY_CDE_RSP xsistring lt gt ANTP_CDE 0 xs string lt gt UPD DTE FRM C xs dateTime lt gt UPD DTE TO xs dateTime http Sanitel EAI SanitelRepository SanitelServices SanitaryUnitOverviewExportRequestSchema XML Example s Example EXSUO 1 Retrieve all sanitary units of a certain facility xml version 1 8 encoding utf
3. xml version 1 8 encoding utf 8 gt lt SlaughterDetailInfoImport xmlns http Sanitel EAI SanitelRepository SanitelServices SlaughterDetailInfoImportSchema User sudhagar xmlns xsd http www w3 0rg 2001 XMLSchema xmlns xsi http www w3 0rg 2001 XMLSchema instance gt lt SlaughterFile gt lt REF_NBR_FILE gt 8980 0700001 lt REF_NBR_FILE gt lt SlaughterDetailInfo gt lt WGH_KG gt 222 lt WGH_KG gt lt SLKD_CDE gt CLASS lt SLKD_CDE gt SLG DTE 2010 05 13 SLG DTE lt CLA gt E lt CLA gt lt MKT_NBR gt 58565656 lt MKT_NBR gt lt PRC gt 2222 lt PRC gt lt REF_NBR_LOT gt 8980 0700001 1 lt REF_NBR_LOT gt lt LMR gt 22222 lt LMR gt lt REF_NBR gt 2 lt REF_NBR gt lt SlaughterDetailInfo gt lt SlaughterDetailInfo gt lt WGH_KG gt 33 lt WGH_KG gt lt SLKD_CDE gt CLASS lt SLKD_CDE gt SLG DTE 2010 05 16 SLG DTE lt CLA gt E lt CLA gt lt MKT_NBR gt 333 lt MKT_NBR gt lt PRC gt 3333 lt PRC gt lt REF_NBR_LOT gt 8980 0700001 1 lt REF_NBR_LOT gt lt LMR gt 33333 lt LMR gt lt REF_NBR gt 3 lt REF_NBR gt lt SlaughterDetailInfo gt lt SlaughterDetailInfo gt WGH KG 44 WGH KG lt SLKD CDE CLASS SLKD CDE SLG DTE 2010 05 12 SLG DTE lt CLA gt E lt CLA gt lt MKT_NBR gt 444 lt MKT_NBR gt lt PRC gt 4444 lt PRC gt lt REF_NBR_LOT gt 8980 0700001 1 lt REF_NBR_LOT gt lt LMR gt 44444 lt LMR gt lt REF_NBR gt 4 lt REF_NBR gt lt SlaughterDetailI
4. Registered By Party Authorising Party Authorised Party Responsible Sanitary Unit Responsible Facility Authorised Party Integration Authorised Party SGS Authorised Party VRV AGTP Agreement Type VETA Veterinary Agreement MASA Market Supervision Agreement RAFI Read Authorisation AMQL AnimalMeatQualityLabel MER Meritus PCRVC Procervic TERR Territory product LU VEI Vei vum Sei LU BIO Bio LU CACT Cactus LU DMTR Demeter LU Sanitel EAI Manual v1 39 EAIManual doc 21 ANCO AnimalCondition Alive Dead born marked Dead born not marked Dead Dead by Hunting Throat cut Throat cut and organs removed AnimalConception Normal Transplant Animal Disposal Type Animal Type Rendac Piglet Sowgarbage Piglet Pig Sow Boar Aborted Calf Calf Bovine Lamb Sheep Goat Above codes are augmented with the ones underneath used in the Interface by Rendac only C31 C32 are registered as CALF C35 C38 as BOV KALF 25 KG KALF 50 KG RUND 150 KG RUND 300 KG RUND 550 KG RUND 800 KG AnimalPremiumCodes AnimalRace AB Abondance AL Tyrol Grey AN Angus AU Aubrac AY Ayrshire BB Belgian Blue BD Blonde d Aquitaine Sanitel EAI Manual v1 39 EAIManual doc 22 BM Beefmaster BO Braford BR Brahman BN Brangus BS Brow
5. lt Marking gt lt MACT_CDE gt BE lt MACT_CDE gt lt REF_NBR gt BE48600665 lt REF_NBR gt lt NBR gt 12354 lt NBR gt lt CDG gt ABC lt CDG gt lt CNT gt 45 lt CNT gt lt Marking gt lt InventoryNotification gt lt InventoryNotificationImport gt Output Schema Interaction Result See definition Interaction Result Schema Sanitel EAI Manual v1 39 EAIManual doc 108 Interface IMMVN ImportMovementNotification Direction Import Purpose Submit a movement e g Mobile App Layout Documentation https gas sanitel be in QAS Sanitel ExtInterfacingSves_v2 SanitelServices asmx op ImportMovementNotification Layout Details e Input field RETURN ALL ANOMALIES Depending on the input RETURN ALL ANOMALIES the anomalies are returned in the response e Functionality When the input for RETURN_ALL_ANOMALIES is Y all the anomalies are returned in the response irrespective of BR1 BR3 and BRS and the notification is not registered When RETURN ALL ANOMALIES is N only the BRI are returned in response and other BR errors are ignored The response of the XML will be a success if there are no severity BR1 errors Note The RETURN ALL ANOMALIES currently returns the anomalies for Departure notifications based on the input value Input Schema MovementNotificationimport Sanitel EAI Manual v1 39 EAIManual doc 109 E GE t 0 No a ou http Sanitel EAI Sa
6. PVLOO1 Belki PVLOO2 Hendrix PVLOO3 Quartes PVL004 PVLOO5 PVLOO6 PVL007 PVL008 PVLO09 PVLO10 Mechelse Koekoek PVLO11 Coprobel PVLO12 Val Dieu Sanitel EAI Manual v1 39 EAIManual doc 34 PVL13 PVL013 P Hesbaye PVL14 PVLO14 Coprosain PVL15 PVL015 Coq Ard PVL16 PVL016 PVL17 PVLO17 PVL18 PVLO18 PVL19 PVLO19 Production Ware Meat production Artificial insemination Milkproduction No consumption objective Mixed production Piglet breed establishment Goat Meat production Consumption eggs lay establishment Hatching egg reproduction lay Hatching egg reproduction meat Hatching egg selection lay Hatching egg selection meat Breed lay Breed reproduction lay Breed reproduction meat Breed selection lay Breed selection meat Game set out Fish meat CV Caviar R HNY Honey FUR Fur PUTP ProductionUnitType RIIT RiskltemType DISS Disease HRMN Hormone PCTM Pig Contaminates BDIS Bovine Diseases PDIS Pig Diseases PBDIS Poultry Diseases BHRM Bovine Hormones PHRM Pig Hormones DDIS Deer Diseases GDIS Goat Diseases Sanitel EAI Manual v1 39 EAIManual doc 35 SDIS Sheep Diseases FDIS Fish Diseases MDIS Mollusc Diseases CDIS Crustaceae Diseases OHRM Hormone
7. RTRN Return of passports RTRBR Return of bovine register FCI Food chain information PRUN Production unit notification BLCK Blocking notification ISP Inspection notification NotificationFacilityType Source Destination Origin NotificationPartyType Responsible Transporter Truck Driver Controlling Veterinary Dealer Handling Party Delivery Cleaner Facturation NotificationRiskChangeReason New Extension Renewal Order Item Label Ultra Allflex Europe SAS M Flex 1A Metagam BVBA Exportoormerken type M3 M Flex 1A composite Metagam BVBA SLVIG Slachthuisvignetten M6FED Verbondsoormerken Type M6 Sanitel EAI Manual v1 39 EAIManual doc 31 Beslagoormerken blauw Couple14 AllflexEuropeSAS SRSR Senior Senior Allflex Europe SAS M6SU Beslagoormerken type M6 M7 M7 metalen punt Merko NV CPL14 Couple 14 Allflex Europe SAS SVD35 Bouton SVD 35 Allflex Europe SAS Full List available on demand Order item Serie Numbering Bovines prime earmarks Bovines slaughtering labels Pigs facility earmarks Pigs federation earmarks Pigs export earmarks Pigs facility earmarks Preengraisseur Sheep Goat Deer prime earmarks Sheep Goat Deer prime earmarks for dwarf animals Sheep Goat Deer facility earmarks Sheep Goat Deer Old Order ltem Type Earmarks for first identifi
8. ImportAnimalNotification Submit births or import records AnimalNotificationImport Interaction Result Submit changes on an Animal a Facility a Sanitary Unit or Mi ImportChangeNotification even a Party ChangeNotificationImport Interaction Result ImportManureWaterNotification Interaction Result ImportPopulationNotification Interaction Result PN Sen Submit assignments of production units exploitation units IMPUN ImportProductionUnitNotification to Sanitary Units ProductionUnitNotificationImport Interaction Result IMRSN importRiskNotification Submit risk notifications laboratory results RiskNotificationImport Export Interfaces always have a request document type as input Import interfaces always return an interaction result as result All document types are described in the interface description Sanitel EAI Manual v1 39 EAIManual doc 11 Schema design conventions As there is no Industry XML standard for this type of information we have defined a number of dedicated schema s We tried to make this structure as consistent as possible and have made the following conventions The following interface design conventions were followed Full Schema definition in English Schema names Structure names Steering Attributes Camel Case No abbreviations Field Names o Abbreviation Based o Upper Case o 4 character abbreviations refer to a Coding Schema s or to a main Entity E g ANTP_CDE denotes a code from t
9. Sanitel EAT SanitelRepository SanitelServices ChangeNotificationImportSchema XML Example s Change of the production unit of an animal lt xml version 1 0 gt Sanitel EAI Manual v1 39 EAIManual doc 100 lt ChangeNotificationImport xmlns http Sanitel EAI SanitelRepository SanitelServices ChangeNotificationImportSchema User TESTXML SecurityToken N A gt lt ChangeNotification gt lt NOTP_CDE gt CHANM lt NOTP_CDE gt lt NOKD_CDE gt ANMC lt NOKD_CDE gt lt OCR_DTE gt 2012 06 30T21 43 40 lt OCR_DTE gt lt RCV_DTE gt 2012 06 30T21 43 40 lt RCV_DTE gt lt REF_NBR gt 1422236 lt REF_NBR gt lt PATY_CDE gt BE500019350 lt PATY_CDE gt lt FCLT_CDE gt BE50019363 lt FCLT_CDE gt lt SNUN_CDE gt BE50019363 0101 lt SNUN_CDE gt lt ANML_CDE gt BE56999786 lt ANML_CDE gt lt Change gt lt ATRB_CDE gt PRUN_CDE lt ATRB_CDE gt lt VAL_0LD gt 5403200696 1 lt VAL_OLD gt lt VAL_NEW gt 5403204437 1 lt VAL_NEW gt lt Change gt lt ChangeNotification gt lt ChangeNotificationImport gt Output Schema Interaction Result See definition Interaction Result Schema CHANM ChangeAnimal CHSNU ChangeSanitaryUnit CHFCY _ ChangeFacilit CHPTY ChangeParty Possible Values for ATRB_CDE as defined today It is still not clear whether all discussed attributes will also be in the final release as sometimes there might be organizational or juridical reasons for not
10. Sanitrace Sanitrace Belgie Sanitrace Belgique Sanitrace Belgien Sanitrace Luxembourgh Sanitrace Luxemburg Sanitrace Letzeburg BONO er je Copyright 2000 2007 FAVV AFSCA All Rights Reserved Op EAI USER MANUAL Version 1 39 August 2015 Sanitel EAT Manual v1 39 EAIManual doc 1 Document History Version Date Change Log 1 0 Aug 20 2007 Minimal Version Movements interface only as part of the Proof of Concept for connecting a Mobile Application to the Sanitel EAI Services 1 1 Oct 9 2007 Initial full Setup draft version for discussion and basic implementation based on Slaughtering Structure Interfaces definition table 12 Nov 3 2007 Initial Design Discussions VRV ALV Internal 1 3 Nov 16 2007 Major part of documentation Added some initial examples a lot of examples still missing either completely or sometimes just missing the namespace definitions 1 4 Nov 17 2007 Coding Examples 1 5 Dec 15 2007 Feedback Error Handling 1 6 Jan 8 2008 Non Official copy to some users 1 7 Jan 24 2008 Feedback Extra examples Added ExportMovementNotificationOverview documentation Update for new EEC Trasys guideline 1 8 Feb 15 2008 Change Import 1 9 Mar 15 2008 FAQ extended Important Change Animal Numbers in Export Interfaces from now on contain the check digit To make them clearly visible the checkdigits are
11. lt gt OCR DTE 0 1 xs dateTime lt gt RCV DTE xs dateTime lt gt REF NER 0 eting lt gt DOC_NBR esting lt gt ANTP_CDE 0 eting lt gt ANTP CDE ALT 2 1 string lt gt FAT CDE 1 eting lt gt SNUN CDE 0 1 eting lt gt CMN string Party 44 I lt gt NPTP CDE lt gt ODE 0 Marking 2o El lt gt MACT CDE B lt gt NBR d lt gt ce lt gt REF NER lt gt CNT xscstring xscstring string string string xs string xs decmal http Sanitel EAI SanitelRepository SanitelServices InventoryNotificationImportSchema XML Example s lt InventoryNotificationImport User TESTXML SecurityToken N A xmlns http Sanitel EAI SanitelRepository SanitelServices InventoryNotificationImport gt lt InventoryNotification gt lt NOTP_CDE gt CHANM lt NOTP_CDE gt NOKD CDE ANMC NOKD CDE OCR DTE 2012 06 30T21 43 40 OCR DTE RCV DTE 2012 06 30T21 43 40 RCV DTE REF NBR 1422236 REF NBR lt FCLT_CDE gt BE50019363 lt FCLT_CDE gt lt SNUN_CDE gt BE50019363 0101 lt SNUN_CDE gt lt ANML_CDE gt BE56999786 lt ANML_CDE gt lt DOC_NBR gt YYY456 lt DOC_NBR gt lt CMN gt Comment lt CMN gt lt Party gt lt NPTP_CDE gt RSP lt NPTP_CDE gt lt CDE gt BE400004313 lt CDE gt lt Party gt lt Party gt lt NPTP_CDE gt RSP lt NPTP_CDE gt Sanitel EAI Manual v1 39 EAIManual doc 107 lt CDE gt BE400223090 lt CDE gt lt Party gt
12. lt ANML_REF_NBR gt BE657721947 lt ANML_REF_NBR gt lt ANIMALPRODUCTIONUNIT gt lt ProductionUnitNotification gt lt ProductionUnitNotificationImport gt Scenario 1 XML is processed that defines Animal XXX with Production Unit YYY Impact e Animal XXX is attached to Production unit YYY after creating a production unit notification on animal Use this scenario to add animal to a PRUN Sanitel EAI Manual v1 39 EAIManual doc 120 Scenario 2 XML is processed that defines aNo Production Unit for animal XXX Impact e Animal XXX will be decoupled from attached PRUN by creating a PRUN notification Output Schema Interaction Result See definition Interaction Result Schema Sanitel EAI Manual v1 39 EAIManual doc 121 Interface IMRTN ImportRetaggingNotification Direction Import Purpose Submit Retagging notifications into the system Layout Documentation https qas sanitel be int QAS Sanitel ExtInterfacingSvcs v2 SanitelServices asmx op ImportRetaggingNot ification Input Schema RetaggingNotificationImport Ni RetaggingNotificatio nl mport jpg http Sanitel EAI SanitelRepository SanitelServices RetgggingNotificationImportSchema XML Example s lt xml version 1 0 encoding utf 8 gt lt RetaggingNotificationImport xmlns http Sanitel EAI SanitelRepository SanitelServices RetaggingNotificationImportSchema User TESTXML SecurityToken N A gt lt RetaggingNotification gt lt NOTP
13. lt CDE gt BE67000658 lt CDE gt lt Party gt lt Party gt lt NPTP_CDE gt TRA lt NPTP_CDE gt lt CDE gt BE67000658 lt CDE gt lt Party gt lt Facility gt lt NFTP_CDE gt DST lt NFTP_CDE gt lt CDE gt BE62600169 lt CDE gt lt Facility gt lt Animal gt lt REF_NBR gt BE65440218 lt REF_NBR gt lt PPT_VRS_NBR gt 2 lt PPT_VRS_NBR gt lt Animal gt lt Animal gt lt REF_NBR gt BE65521526 lt REF_NBR gt lt PPT_VRS_NBR gt 2 lt PPT_VRS_NBR gt lt Animal gt lt Animal gt lt REF_NBR gt BE65682290 lt REF_NBR gt lt PPT_VRS_NBR gt 9 lt PPT_VRS_NBR gt lt Animal gt lt Animal gt lt REF_NBR gt BE65771238 lt REF_NBR gt lt PPT_VRS_NBR gt 2 lt PPT_VRS_NBR gt lt Animal gt lt Animal gt lt REF_NBR gt BE65930816 lt REF_NBR gt lt PPT_VRS_NBR gt 2 lt PPT_VRS_NBR gt lt Animal gt lt MovementNotification gt lt MovementNotificationImport gt Departure to a slaughterhouse with slaughter vignette number lt xml version 1 0 gt lt MovementNotificationImport xmlns http Sanitel EAI SanitelRepository SanitelServices MovementNotificationImportSchema User TESTXML SecurityToken N A gt lt MovementNotification gt Sanitel EAI Manual v1 39 EAIManual doc 112 lt NOTP_CDE gt MMDPS lt NOTP_CDE gt lt NOKD_CDE gt DPR lt NOKD_CDE gt OCR DTE 2012 07 03T00 00 00 OCR DTE RCV DTE 2012 07 03T09 50 53 RCV DTE REF NBR
14. El lt gt NOTF ID xslong 2 E lt gt NOTP CDE or n NOKD CDE xs string lt gt NOST_CDE xs string lt gt OCR DTE FRM 0 xs dateTime OCR DTE TO xs dateTime lt gt REF NER 0 xs string lt gt PATY CDE xs string lt gt FCLT_CDE 0 xs string lt gt SNUN_CDE xs string lt gt ANML_CDE 0 1 xs string lt gt DTE_FRM xs dateTime lt gt DTE TO 0 1 xs dateTime http Sanitel EAT SanitelRepository SanitelServices ExportRetaggingNotificationOverviewExportRequestSchema XML Example s Example EXRNO 1 Retrieve all retaggings of the last 3 days lt xml version 1 0 encoding utf 8 gt lt RetaggingNotificationOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices RetaggingNotificationOverviewExportRequestSche ma User TESTXML SecurityToken N A gt Sanitel EAI Manual v1 39 EAIManual doc 91 lt RetaggingNotification gt lt NOTP_CDE gt RETAG lt NOTP_CDE gt OCR DTE FRM 2008 10 26T00 00 00 OCR DTE FRM OCR DTE TO 2008 10 28T23 59 59 OCR DTE TO lt RetaggingNotification gt lt RetaggingNotificationOverviewExportRequest gt Example EXRNO 2 Retrieve all retags a certain sanitary unit did in the last year lt xml version 1 0 encoding utf 8 gt lt RetaggingNotificationOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices RetaggingNotificationOverviewExportRequestSche ma User TESTXM
15. OCR DTE RCV DTE 2011 02 12T00 00 00402 00 RCV DTE REF NBR 678654 REF NBR DOC NBR DOC NBR lt ANTP_CDE gt BOV lt ANTP_CDE gt lt ANSB_CDE gt BOV lt ANSB_CDE gt lt ORIG_CDE gt LOCAL lt ORIG_CDE gt lt Animal gt lt REF_NBR gt BE54970074 lt REF_NBR gt lt Animal gt lt Animal gt lt REF_NBR gt BE55224399 lt REF_NBR gt lt Animal gt lt Animal gt lt REF_NBR gt BE55224381 lt REF_NBR gt lt Animal gt lt AnimalPassport gt lt AnimalPassportImport gt Output Schema Interaction Result See definition Interaction Result Schema Sanitel EAI Manual v1 39 EAIManual doc 133 Interface IMFCI ImportFoodChainNotification Direction Import Purpose Submit food chain information notifications Layout Documentation https gas sanitel be in QAS_Sanitel_ExtInterfacingSvcs_V2 SanitelServices asmx op ImportFoodChainNotification Input Schema FoodChainNotificationimport ii FoodChainNotificatio nl mport jpg http Sanitel EAI SanitelRepository SanitelServices FoodChainNotificationImportSchema Sanitel EAI Manual v1 39 EAIManual doc 134 XML Example s Import Food Chain Notification for Bovines lt xml version 1 0 encoding UTF 8 gt lt FoodChainNotificationImport User TESTXML xmlns http Sanitel EAI SanitelRepository SanitelServices FoodChainNotificationImportSchema gt lt FoodChainNotification gt lt NOTP_CDE gt FCI lt NOTP_CDE gt lt
16. PATY_CDE_TRS gt lt Movement gt lt AnimalMovementNotificationOverviewExportRequest gt Output Schema AnimalMovementNotificationOverviewExport This schema is slightly more general than strictly necessary In fact a distinction could have been made between individual animals and herds If called for herd animals these fields remain empty Sanitel EAI Manual v1 39 EAIManual doc 48 warn SecurkyTaken ari RetumCode alri ReturmMessage aans http Sanitel EAI SanitelRepository SanitelServices AnimalMovementNotificationOverviewExportSchema Sanitel EAI Manual v1 39 EAIManual doc 49 Interface EXANO ExportAnimalOverview Direction Export Purpose Retrieve an overview of animals and their key characteristics AnimalOverviewExportRequest A 42 e User xs string SecurityToken xs string Resultindex xs int OnBehalfRole xs string OnBehalfEntity xs string UserLanguage xs string E lt gt Animal 1 8 E lt gt coe s string d 8 lt gt ANTP_CDE ES d lt gt PRUN_REF_NBR 0 1 xs string lt gt FCLT_CDE 0 1 xs string lt gt SNUN_CDE xs string lt gt UPD_DTE_FRM 0 xs dateTime lt gt UPD_DTE_TO xs dateTime lt gt TRGR_CDE xs string lt gt CDE_MHR xs string Layout Documentation https gas sanitel be in QAS_Sanitel_ExtInterfacingSvcs_v2 SanitelServices asmx op ExportAnimalOverview Input Schema AnimalOverviewExportRequest http Sanitel EAI SanitelR
17. true DTH FLG DIS FLG true DIS FLG DTH CMT Death Origin should be added here DTH CMT DIS CMT Disease Origin should be added here DIS CMT INFL MI FLG true INFL TMT FLG ANTIB TMT FLG false ANTIB TMT FLG ANTI TMT FLG true ANTI TMT FLG RSK SNU FLG RSK SNU FLG CMPC CTRY CODE BAG AU CN CO CMPC CTRY CODE BAG Party lt NPTP_CDE gt TRA lt NPTP_CDE gt lt CDE gt BE500081111 lt CDE gt lt Party gt lt Party gt lt NPTP_CDE gt DLR lt NPTP_CDE gt lt CDE gt BE00005764 lt CDE gt lt Party gt lt Facility gt lt NFTP_CDE gt SRC lt NFTP_CDE gt lt CDE gt BE50060010 lt CDE gt lt SNUN_CDE gt BE50060010 0201 lt SNUN_CDE gt lt Facility gt lt Facility gt lt NFTP_CDE gt DST lt NFTP_CDE gt lt CDE gt BE52700564 lt CDE gt lt Facility gt lt Inspection gt lt NAM gt Salmonella lt NAM gt lt RSLT gt negative lt RSLT gt lt DTE gt 2010 07 12T00 00 00 02 00 lt DTE gt lt Inspection gt lt Treatment gt lt NFTT_CDE gt ADD lt NFTT_CDE gt lt MEDC_ID gt MED10432 lt MEDC_ID gt Sanitel EAI Manual v1 39 EAIManual doc 136 TMT DTE FRM 2010 07 12T00 00 00402 00 TMT DTE FRM TMT DTE TO 2010 07 20T00 00 00402 00 TMT DTE TO WAI PER 30 WAI PER Treatment Treatment NFTT CDE ADD NFTT CODE MEDC ID MED10432 MEDC ID TMT DTE FRM 2010 07 12T00 00 00402 00 TMT DTE FRM TMT DTE TO 2010 07 25T00
18. utf 8 gt lt AnimalNotificationImport xmlns http Sanitel EAI SanitelRepository SanitelServices AnimalNotificationImportSchema User TESTXML SecurityToken N A gt lt AnimalNotification gt lt NOTP_CDE gt ARBTH lt NOTP_CDE gt RCV DTE 0001 01 01T00 00 00 RCV DTE ANTP CDE BOV ANTP CDE ANM CNT 1 ANM CNT ANCO CDE ALIVE ANCO CDE RETURN ALL ANOMALIES Y RETURN ALL ANOMALIES Party NPTP CDE RSP NPTP CDE lt CDE gt BE400004313 lt CDE gt lt Party gt lt Facility gt lt NFTP_CDE gt DST lt NFTP_CDE gt lt CDE gt BE40006931 lt CDE gt SNUN CDE BE40006931 0101 SNUN CDE Facility Animal REF NBR BE43332498 REF NBR MACT CDE BE MACT CDE MRK NBR 43332498 MRK NBR ANML REF NBR MHR BE43033242 ANML REF NBR MHR lt ANSB_CDE gt BOV lt ANSB_CDE gt lt ANRT_CDE gt MILK lt ANRT_CDE gt lt ASRV_CDE gt LIV lt ASRV_CDE gt lt GNDR_CDE gt MAL lt GNDR_CDE gt lt HRTP_CDE gt WR lt HRTP_CDE gt lt BTH_DTE gt 2008 10 30T00 00 00 lt BTH_DTE gt lt PPPU_CDE gt URG lt PPPU_CDE gt lt VRV_FLG gt true lt VRV_FLG gt lt VRV_IDN_CRD_FLG gt true lt VRV_IDN_CRD_FLG gt lt ABFY_CDE gt LBFY lt ABFY_CDE gt lt ADSP_CDE gt EASY lt ADSP_CDE gt lt ANCP_CDE gt NRM lt ANCP_CDE gt lt NRS_MHR_FLG gt true lt NRS_MHR_FLG gt lt ANVS_CDE gt NONE lt ANVS_CDE gt lt BTH_WGH gt 23 lt BTH_WGH gt lt DNA_SMP_FLG gt false lt DNA_SMP_FLG gt lt MLT_BTH_FL
19. xml version 1 0 encoding utf 8 gt lt WaterManureAllocationExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices WaterManureAllocationExportRequestSchema User TESTXML SecurityToken N A gt lt WaterManureAllocation gt lt SNUN_CDE gt BE10027282 0101 lt SNUN_CDE gt lt YER gt 2008 lt YER gt lt WaterManureAllocation gt lt WaterManureAllocation gt lt SNUN_CDE gt BE10097159 0101 lt SNUN_CDE gt lt YER gt 2008 lt YER gt lt WaterManureAllocation gt lt WaterManureAllocationExportRequest gt Sanitel EAI Manual v1 39 EAIManual doc 93 Output Schema WaterManureAllocationOverviewExport Double Click to enlarge the diagram e WaterManureAllocationExport jpg http Sanitel EAI SanitelRepository SanitelServices ExportWaterManureAllocationOverviewExportSchema It is out of the scope of this document to discuss how to calculate Water Manure information based on this information Please consult the dedicated Water and Manure calculations user manual Sanitel EAI Manual v1 39 EAIManual doc 94 Interface IMAN ImportAnimalNotification Direction Import Purpose Submit births or import records Layout Documentation https gas sanitel be in QAS_Sanitel_ExtInterfacingSvcs_v2 SanitelServices asmx op ImportAnimalNotification e Layout Details Input field RETURN ALL ANOMALIES Depending on the input RETURN ALL ANOMALIES the anomalies are returned in the response e F
20. 00 00402 00 TMT DTE TO WAI PER 45 WAI PER Treatment FoodChainNotification FoodChainNotificationImport Import Food Chain Notification for Poultry xml version 1 8 encoding UTF 8 gt lt FoodChainNotificationImport User TESTXML xmlns http Sanitel EAI SanitelRepository SanitelServices FoodChainNotificationImportSchema gt lt FoodChainNotification gt lt NOTP_CDE gt FCI lt NOTP_CDE gt lt NOKD_CDE gt lt OCR_DTE gt 2010 10 12T00 00 00 92 00 lt OCR_DTE gt lt RCV_DTE gt 2010 10 12T00 00 00 02 00 lt RCV_DTE gt lt REF_NBR gt 7878787 lt REF_NBR gt lt DOC_NBR gt lt ANTP_CDE gt PLTR lt ANTP_CDE gt lt ANSB_CDE gt FCHCK lt ANSB_CDE gt lt ANM_CNT gt 5 lt ANM_CNT gt lt ORIG_CDE gt LOCAL lt ORIG_CDE gt lt ADPR_CDE gt lt VRV_IDN_CRD_FLG gt false lt VRV_IDN_CRD_FLG gt lt CMN gt lt CAG_NBR gt 7546786 lt CAG_NBR gt LOT NBR 560000 LOT NBR CRF FLG true CRF FLG DTH RTE 20 DTH RIES ANM ONT SLG 30 ANM CNT SLG SEU DTE 2010 07 12T00 00 00402 00 SEU DTE ISP FLG true ISP FLG Party lt NPTP_CDE gt TRA lt NPTP_CDE gt lt CDE gt BE00006192 lt CDE gt lt Party gt lt Party gt lt NPTP_CDE gt DLR lt NPTP_CDE gt lt CDE gt BE00006192 lt CDE gt lt Party gt lt Facility gt lt NFTP_CDE gt SRC lt NFTP_CDE gt lt CDE gt BE50059047 lt CDE gt SNUN CDE BE50059047 0301 SNUN CDE Facility Facility
21. 1424266 REF NBR ANTP CDE BOV ANTP CDE ANSB CDE BOV ANSB CDE ANM CNT 1 ANM CNT ANCO CDE ALIVE ANCO CDE RETURN ALL ANOMALIES gt Y lt RETURN ALL ANOMALIES Party lt NPTP_CDE gt RSP lt NPTP_CDE gt lt CDE gt BE900144243 lt CDE gt lt Party gt lt Party gt lt NPTP_CDE gt DLR lt NPTP_CDE gt CDE BE92700028 CDE Party Facility NFTP CDE SRC NFTP CDE CDE BE90016911 CDE SNUN CDE BE90016911 0101 SNUN CDE Facility Animal REF NBR BE92248083 REF NBR PPT VRS NBR 3 PPT VRS NBR SLG VGN NBR BE90016911 010120154625 SLG VGN NBR Animal MovementNotification MovementNotificationImport Departure from a farm to Rendac xml version 1 0 gt lt MovementNotificationImport xmlns http Sanitel EAI SanitelRepository SanitelServices MovementNotificationImportSchema User TESTXML SecurityToken N A gt lt MovementNotification gt lt NOTP_CDE gt MMDPD lt NOTP_CDE gt OCR DTE 2012 06 04T00 00 00 OCR DTE ANTP CDE BOV ANTP CDE ANSB CDE VCALF ANSB CDE ANCO CDE DEAD ANCO CDE RETURN ALL ANOMALIES Y RETURN ALL ANOMALIES Party lt NPTP_CDE gt DLR lt NPTP_CDE gt lt CDE gt BE83313736 lt CDE gt lt Party gt lt Facility gt lt NFTP_CDE gt SRC lt NFTP_CDE gt lt CDE gt BE10131640 lt CDE gt lt SNUN_CDE gt BE10131640 0151 lt SNUN_CDE gt lt Facility gt lt Fac
22. 8 gt lt SanitaryUnitOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices SanitaryUnitOverviewExportRequestSchema User TESTXML SecurityToken N A ResultIndex 0 gt lt SanitaryUnit gt lt FCLT_CDE gt BE70057407 lt FCLT_CDE gt lt SanitaryUnit gt lt SanitaryUnitOverviewExportRequest gt Sanitel EAI Manual v1 39 EAIManual doc 83 Output Schema SanitaryUnitOverviewExport Double Click to enlarge the diagram m SanitaryUnitOverviewExport jpg http Sanitel EAI SanitelRepository SanitelServices SanitaryUnitOverviewExportSchema Sanitel EAI Manual v1 39 EAIManual doc 84 Interface EXAGR ExportAgreementOverview Direction Export Purpose Export Agreement Information Layout Documentation https qas sanitel be int QAS Sanitel ExtInterfacingSves_v2 SanitelServices asmx op ExportAgreementOverview Input Schema AgreementOverviewExportRequest lt gt AgreementOverviewExportRequest A qe User SecurityToken xs string Resultindex sint 3 OnBehalfRole xs string OnBehalfEntity xs string Userlanguage xs string E lt gt Agreement 1 E 42 D I lt gt AGRE ID xs long 2 H lt gt AGRE CDE 0 1 essing d lt gt REF_NBR 10 1 xs string lt gt EXT REF NER 0 i xs string lt gt AGTP_CDE 1 xs string lt gt AGSA CDE 0 1 xs string 4 APTP CDE xs string lt gt PATY CDE 0 1 xs string lt gt FCLT_CDE 0 i xs string lt gt SNUN_CDE xs st
23. BE10173416 0101 BE10173416 0101 BE10173416 0101 BE10111021 0101 BE30041613 0101 BE30041613 0101 BE30041613 0101 BE30041613 0101 BE30041613 0101 BE30041613 0101 Every country has its own rules however in every country old animal numbers exist that do not conform with the last version of the rules In addition the migrated data contains quite some incorrectly specified foreign numbers or incorrect missing checkdigits For example Tin Belgium the old numbering system has numbers like BE 123456 so only containing 6 numeric positions instead of the 8 numbers currently used DK327701486 BE10173701 0101 DK329962453 BE10173701 0101 LU724645 BE30041613 0101 LU823435 BE30041613 0101 BE9018347 BE10111021 0101 BEA5173747 BE10111021 0101 BEA5187298 BE10111021 0101 BEN0042909 BE10111021 0101 IEBMQROO19W BE30041613 0101 IECFCHO009X BE30041613 0101 IEDCMV0020K BE30041613 0101 IEFFZP0043R BE30041613 0101 SK90266814 BE30041613 0101 SK93232165 Sanitel EAT Manual v1 39 BE30041613 0101 EAIManual doc 180 So as output we return the animal numbers in the most informative way So INCLUDING information about country and check digit and all separated by a blank CDE LT 03119426 CDE BE 8 65794680 Companies not interested in the check digit can ignore the spaces For input we allow the formats with spaces without spaces and for bovines from the BENELUX we even accept them without checkdigit 21 Q Are we forced to use Sec
24. ExportMovementNotificationOverview can be used Layout Documentation https qas sanitel be int QAS Sanitel ExtInterfacingSvcs v2 SanitelServices asmx op ExportAnimalMovementNotificationOv erview Input Schema AnimalMovementNotificationOverviewExportRequest gt AnimalMovementNotificationOverviewExportRequest R Ke User isting SecurityToken c string RetumCode isting RetumMessage string OnBehalfRole string OnBehalfEntity c string Userlanguage esting E lt gt Movement B 2 D I NOTF ID Er 2 4 NOTP CDE mate lt gt NOKD_CDE eting lt gt NOST_CDE string lt gt DTE FRM xz dateTime 4 DTE TO 10 xx date Tine lt gt REF_NER C string lt gt DOC MER astang lt gt LIC_PLT 0 string 4 ANTP CDE string lt gt ANSB CDE string 4 PATY_CDE_TRS 0 1 string lt gt FAT CDE string lt gt SNUN CDE string ZIP string lt gt ANML_REF_NBR 10 string lt gt UPD_DTE_FRM 0 ics date Time lt gt UPD_DTE_TO xe dateTime http Sanitel EAI SanitelRepository SanitelServices AnimalMovementNotificationOverviewExportRequestSchema Sanitel EAI Manual v1 39 EAIManual doc 47 XML Example s Example EXAMN 1 Retrieve all movements of a certain animal in a certain period lt xml version 1 0 encoding utf 8 gt lt AnimalMovementNotificationOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices AnimalMovementNotificationOverviewExportReques
25. FCLT CDE gt string lt FCLT CDE lt SNUN_CDE gt string lt SNUN CDE gt Input stru ctu re lt CDE_MHR gt string lt CDE_MHR gt H CDE MHR GI Costringc CDE MHR GIC all attributes lt BLST CDE gt string lt BLST CDE lt TUBR CDE gt string lt TUBR CDE BLO STA CMN gt string lt BLO STA_CMN gt lt ANSB_CDE gt string lt ANSB_CDE gt lt ANRC_CDE gt string lt ANRC_CDE gt lt ANRT CDE gt string lt ANRT CDE gt lt ASRV_CDE gt string lt ASRV_CDE gt lt GNDR_CDE gt string lt GNDR_CDE gt lt HRTP_CDE gt string lt HRTP_CDE gt lt BIH DTE gt dateTime lt BIH DTE IMO DTE gt dateTime lt IMO DTE EPO DTE gt dateTime lt EPO DTE nm nee DS mn imr C TVPT HTTP 1 1 200 OK Content Type text xml charset utf 8 Content Length length xml version 1 0 encoding utf 8 lt soap Envelope xmlns xsi http www w3 0rg 2001 XMLSchema instance xmins xsd http www w3 org 2001 XMLSchema xmins so lt soap Body gt lt ExportAnimalResponse xmlns http Sanitel EAI SanitelRepository SanitelServices ExportAnimal Response gt lt AnimalExport User string SecurityToken string ReturnCode string ReturnMessage string xmlns http Sanitel E lt Animal gt lt ANTP_CDE gt string lt ANTP_CDE gt lt CDE gt string lt CDE gt lt MACT_CDE gt string lt MACT_CDE gt e ee Output structure lt FCLT_CDE gt string lt FCLT_CDE gt lt SNUN_CDE gt string lt SNUN_CDE gt Il tt H b t lt CDE_
26. If the field FUNC_CDE is omitted or contains ADD or is blank the passed party will be added on the SlaughterFileParty DB with the given party type SLPT_CDE Input Schema SlaughterfileToBelmported Sanitel EAI Manual v1 39 EAIManual doc 147 gt SleughnertileToRelmported A http sanitel eai SanitelRepository SlaughteringServices ImportSlaughterFile SlaughterFileToBeImported Example XML lt xml version 1 0 encoding utf 8 gt lt SlaughterFileToBeImported User TESTXML xmlns http sanitel eai SanitelRepository SlaughteringServices ImportSlaughterFile SlaughterFileToBeImpo rted gt lt SlaughterFile gt lt SLGT_CDE gt CIAL lt SLGT_CDE gt lt REF_NBR gt 3215 070132 lt REF_NBR gt DEC DTE 2007 05 04T00 00 00 DEC DTE SLG DTE 2007 05 04T00 00 00 SLG DTE lt ANTP_CDE gt PIG lt ANTP_CDE gt lt ANSB_CDE gt PIGF lt ANSB_CDE gt lt ORIG_CDE gt LOCAL lt ORIG_CDE gt lt ANWF_CDE_BAG gt lt ANWF_CDE_BAG gt lt SLST_CDE gt SAV lt SLST_CDE gt lt Party gt lt SLPT_CDE gt SUB lt SLPT_CDE gt lt REF_NBR gt 668173 lt REF_NBR gt lt Party gt lt Party gt lt SLPT_CDE gt TRS lt SLPT_CDE gt lt REF_NBR gt 668173 lt REF_NBR gt lt Party gt lt Party gt lt SLPT_CDE gt OWN lt SLPT_CDE gt Sanitel EAI Manual v1 39 EAIManual doc 148 REF NBR 1053854 REF NBR Party SlaughterLot REF NBR 3215 070132 1 REF NBR FCL REF NBR 10176423
27. Pick up point MED Medical Research centre HSPTL Animal Hospital PRCTC Animal practice QRTNE Quarantaine Stable FDTN Federation DEST Destruction Company CITY FLTP Municipalit FacilityLocationType FOUND Foundation MEAD Meadow SHED Cowshed Stable complex Border meadow Distant meadow Quarantaine Stable Rendac charging place Authorised Cleaning amp Disinfectant installation Certified Cleaning amp Disinfectant installation Natural meadow Delivery address GNDR Site Gender FEM Female MAL Male UNK Unknown OX Ox HRTP Hairtype DBR Dark Brown G Gray LBR Light Brown MBR Mouse Brown R Red RW Red White W White WBL White Blue WR White Red Sanitel EAI Manual v1 39 EAIManual doc 27 WZ White Black BL Black BLW Black White Language Dutch French German Marking Series Allocation Allocation manually Recuperation for destruction Recuperation for stock Free Allocation automaticall Automatic allocation from Origin Register Recuperation for destruction from origin register Stock Reserved Origin Register Recuperation for Reserved Origin Register Manual allocation from Origin Register NotificationFacilityType Sanitel EAI Manual v1 39 Source Destination Origi
28. SanitelRepository SanitelServices SlaughterFileExportRequest gt lt SlaughterFileExportRequest gt Example XML 3 Exclude DETAIL_INFO_FLG Y lt xml version 1 0 encoding utf 8 gt lt SlaughterFileExportRequest User TESTXML xmlns http sanitel eai SanitelRepository SlaughteringServices ExportSlaughterFile SlaughterFileExport gt Sanitel EAI Manual v1 39 EAIManual doc 156 Output Schema SlaughterFileExport Schema returning the contents of a certain SlaughterFile The content is enriched with party data http sanitel eai SanitelRepository SlaughteringServices ExportSlaughter SlaughterFileExport Example XML lt xml version 1 8 encoding utf 8 gt lt SlaughterFileExport xmlns http Sanitel EAI SanitelRepository SanitelServices SlaughterFileExport ReturnCode ReturnMessage XML OK User jz03zn xmlns xsd http www w3 0rg 2001 XMLSchema xmlns xsiz http www w3 org 2001 XMLSchema instance SlaughterFile lt SLGT_CDE gt CIAL lt SLGT_CDE gt lt REF_NBR gt 9417 1500001 lt REF_NBR gt DEC DTE 2015 01 27T00 00 00 DEC DTE SLG DTE 2015 01 27T00 00 00 SLG DTE lt ANTP_CDE gt PIG lt ANTP_CDE gt lt ANSB_CDE gt PIGF lt ANSB_CDE gt lt ORIG_CDE gt LOCAL lt ORIG_CDE gt lt SLST_CDE gt NEW lt SLST_CDE gt lt Party gt lt SLPT_CDE gt OWN lt SLPT_CDE gt lt REF_NBR gt S00175440 lt REF_NBR gt lt NAM gt CHAMPON lt NAM gt lt TPH gt lt RL
29. duplicat sanitary examination R19 First print R20 Print after blocking R21 Bovine reset Alive R22 Not commercialised Bovine R24 Change Residue Status R25 Handwritten notes R26 EDI Old New R27 EDI replacement old plastic earmark R28 reprint after reading mrkluik R29 Internal change SU R30 Purchase Vealcalf R31 Import Vealcalf Sanitel EAI Manual v1 39 EAIManual doc 33 R32 old to new export R33 Vealcalf reprint R34 Switch Bovine towards Vealcalf R35 Switch Vealcalf towards Bovine R36 Delivery Vealcalf died meanwhile R37 retagging export cattle for slaughter R38 Change Racetype R39 Change Mother Bovine Number R40 Export R41 First Identification Not urgent Printing R42 First Identification Urgent Printing R43 Bovine identification regularization R44 Common cattle R45 Change Exploitation R46 Change Gender R47 Change Birthdate R48 Change Hairtype R49 Change Main Location Sanitary unit R50 Bovine Delivery died meanwhile R51 Responsible Party Address Change R52 Change Address Main Location R54 R53 Address Change Bovine died after delivery before registration R55 PPPU Change ePP towards pPP Passport Print Urgency Printing not urgent Printing urgent No printing Production Quality Standard Biological Facility Label Pedigree Selection
30. gt MCP 0 1 lt gt CTRY_CDE 10 11 lt gt TPH 0 1 lt gt LIA_CDE lt gt LIA_NAM lt gt LIA REF NER 0 1 lt gt LIA EXT REF NER 0 1 lt gt LIA AL1 0 1 lt gt LIA AL2 0 1 lt gt LIA STR 0 1 lt gt LIA NER 101 lt gt UPD DTE 0 1 lt gt GEO LAT 0 1 lt gt GEO LON 0 1 lt gt GEO X 0 1 lt gt GEO Y 0 1 lt gt GXYS CDE 0 1 lt gt GEO STR LTH 0 1 lt gt GEO PLG DEF 0 1 lt gt GIS REF 0 1 lt gt BEG DTE 10 1 lt gt END DTE 0 1 xs string xs string xs string xs string xs stnng xs string xs string xs string xs string xs string xs string xs string xs string xs string xs string xs string xs string xs string xs string xs string xs string xs stnng xs string xs dateTime xs decimal xs decimal xs decimal xs decimal xs string xs decimal xs string xs string xs dateTime xs dateTime http Sanitel EAI SanitelRepository SanitelServices FacilityOverviewExportSchema Sanitel EAT Manual v1 39 EAIManual doc 65 Interface EXMNO ExportMovementNotificationOverview Direction Export Purpose Retrieve an overview of movements on movement level and not on Layout Documentation https gas sanitel be in QAS_Sanitel_ExtInterfacingSvcs_v2 SanitelServices asmx op ExportMovementNotificationOverview Input Schema MovementNotificationOverviewExportRequest lt gt MovementNotificationOverviewExportRequest A User xs string Se
31. installed a special certificate on the PC of this user Sanitel EAI Manual v1 39 EAIManual doc 174 The AES example is based on an EAS encryptor initialized based on the following settings passPhrase PassPhraseToGenerateAnAESPassword saltValue SomeSecretSaltValue hashAlgortithm SHA1 initVector gucpLaGR keySize Sizel28 The Salt Value the one you add in the security token Remark that with every XML message the key is incremented Is it an option to leave the Security Token Type blank Actually it is At that moment there is no extra web service security Frequently Asked Questions 1 Q Can we still use the old Sanitel Beltrace numbers A Yes you can however there is still a small change The new Beltrace Sanitel makes the difference between Liable Party and Facility more explicitly E g Transporters Submittors and Owners refer to Parties Farms where the animals come from refer to facilities However sometimes a farmer is also the submittor or transporter So you should know his party number and his facility number To minimize the effort needed the application accepts the facility number as a party number too However in the export of data the correct numbers will be used 2 Q What about foreign transporters or private persons Are they in the system A The best way is to first have a look in the system search by name realm register number and if they are not there create a new party using
32. item date 0 from DTE_TO dateTime Risk item date to 0 Sanitel EAI Manual v1 39 EAlManual doc 125 Interface IMTMN ImportTreatmentNotification Direction Import Purpose Submit treatments e g Bluetongue into Sanitel Layout Documentation https qas sanitel be int QAS Sanitel ExtInterfacingSvcs v2 SanitelServices asmx op ImportTreatmentNotification Input Schema TreatmentNotificationlmport d TreatmentNotificatio nl mport jpg http Sanitel EAI SanitelRepository SanitelServices TreatmentNotificationImportSchema XML Example s lt xml version 1 0 encoding utf 8 gt lt TreatmentNotificationImport xmlns http Sanitel EAI SanitelRepository SanitelServices TreatmentNotificationImportSchema User TESTXML SecurityToken N A gt lt TreatmentNotification gt lt NOTP_CDE gt TMT lt NOTP_CDE gt OCR DTE 2008 04 11T11 30 00 OCR DTE OCR DTE END 2008 04 11T12 30 00 OCR DTE END REF NBR XXXX REF NBR lt ANTP_CDE gt BOV lt ANTP_CDE gt lt CMN gt Comment text lt CMN gt lt Party gt lt NPTP_CDE gt HND lt NPTP_CDE gt lt CDE gt BE12345678 lt CDE gt lt Party gt lt Party gt lt NPTP_CDE gt RSP lt NPTP_CDE gt lt CDE gt BE87654321 lt CDE gt lt Party gt lt Facility gt lt NFTP_CDE gt FARM lt NFTP_CDE gt lt CDE gt BE87654321 lt CDE gt lt SNUN_CDE gt BE87654321 0101 lt SNUN_CDE gt lt Facility gt lt TreatmentDetail gt lt ANSB_
33. lt REF_NBR_LOT gt 1073 0700004 4 lt REF_NBR_LOT gt lt FCL_REF_NBR gt 3220235 lt FCL_REF_NBR gt lt ANM_REF_NBR gt BE17070732 lt ANM_REF_NBR gt lt ANM_CNT gt 1 lt ANM_CNT gt WGH KG 750 WGH KG SLKD CDE CLASS SLKD CDE SLG DTE 2007 06 04T00 00 00 SLG DTE SlaughterInfo lt SlaughterInfoToBeImported gt Output Schema Interaction Result See definition Interaction Result Schema Interface ImportSlaughterDetaillnfoForAnimalGroup Direction Import Purpose Schema to import slaughter detail info into Beltrace e g Weight Date In this schema you Just provide feedback on the weights The SlaughterInfoDetail web service will UPDATE or CREATE a SlaughterInfoDetail record based on the passed lt REF_NBR_FILE gt lt REF_NBR_LOT gt lt REF_NBR gt depending whether or not the SlaughterInfoDetail already exists in the DB Input Schema SlaughterDetaillnfolmportSchema lt gt SlaughterDetaillnfolmport User SecurityToken OnBehalfRole OnBehalfEntity Userlanguage E lt gt Slaughterfile BA E lt gt REF NER FILE 3 lt gt SlaughterDetaillnfo K E lt gt WGH_KG xsdong 8 gt SLKD CDE 3 lt gt SLG DTE Tle ca lt gt MKT_NBR lt gt PRC 0 1 lt gt REF NER LOT lt gt LMR lt gt REF_NBR Sanitel EAI Manual v1 39 EAIManual doc 153 http Sanitel EAI SanitelRepository SanitelServices SlaughterDetailInfoImportSchema Example XML
34. search criterium 1 with value 2 lt Pattern gt lt ArgumentsCSV gt ANIMAL Country MarkingNumber BE 00004461 ArgumentsCSV lt Reference gt lt MessageEntry gt lt Details gt lt InteractionResult gt Or when requested with user language NL lt xml version 1 0 gt lt InteractionResult xmlns xsi http www w3 0rg 2001 XMLSchema instance xmlns xsd http www w3 0rg 2001 XMLSchema gt lt StatusCode gt Error lt StatusCode gt lt Summary gt Import ImportChangeNotificationUseCase erroneous Change Notification Importing 2322 343453 ChangeNotification information is not imported See logs for more information lt Summary gt lt Reference gt lt Details gt lt MessageEntry gt lt Code gt 266 lt Code gt lt Description gt Record niet gevonden in tabel Dier voor opzoekcriterium Land Werknummer met waarde BE 00004461 lt Description gt lt Pattern gt Record not found in table for search criterium 1 with value 2 lt Pattern gt lt ArgumentsCSV gt ANIMAL Country MarkingNumber BE 00004461 ArgumentsCSV lt Reference gt lt MessageEntry gt lt Details gt lt InteractionResult gt Sanitel EAI Manual v1 39 EAIManual doc 44 Interface EXAN ExportAnimal Direction Export Purpose Retrieve a detailed insight of an animal All characteristics risk status history Layout Documentation https qas sanitel be int QAS Sanitel ExtInterfacingSvcs v2
35. string string string xs dateTime string string string string xsstring sting http Sanitel EAI SanitelRepository SanitelServices ExportAgreementOverviewExportSchema Sanitel EAT Manual v1 39 EAIManual doc 87 Interface EXMS ExportMarkingSeriesOverview Direction Export Purpose Export Marking Series Overview Layout Documentation https gas sanitel be in QAS_Sanitel_ExtInterfacingSvcs_v2 SanitelServices asmx op ExportMarkingSeriesOverview Input Schema MarkingSeriesOverviewExportRequest lt gt MarkingSeriesOverviewExportRequest A User xs string SecurityToken xs string Resultindex xs int OnBehalfRole xs string OnBehalfEntity xs string 8 UserLanguage xsistring E lt gt MarkingSeries 5 RH lt gt SNUN_CDE ES A lt gt PATY_CDE_SUP esslring n lt gt OISN CDE xs string lt gt ALC_DTE_FRM xs dateTime lt gt ALC_DTE_TO xs dateTime lt gt UPD_DTE_FRM xs date Time lt gt UPD_DTE_TO xs dateTime http Sanitel EAT SanitelRepository SanitelServices ExportMarkingSeriesOverviewExportRequestSchema XML Example s Example EXMS 1 Retrieve all marking series of allocated over a certain period lt xml version 1 8 encoding utf 8 gt lt MarkingSeriesOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices MarkingSeriesOverviewExportRequestSchema User TESTXML SecurityToken N A gt lt MarkingSeries gt ALC DTE FRM 2008 10 2
36. surrounded by spaces E g BE 9 52395189 New fields in Export SanitaryUnitOverviewRequest FCLT_CDE SanitaryUnitOverview TUST_CDE Party Overview LNGE_CDE Party Overview Request TPH VAT_NBR RLM_RGS_NBR AnimalImport PPPU_CDE New Interface Import Treatment Notification to register treatments such as bluetongue Sanitel EAI Manual v1 39 EAlManual doc 2 1 10 1 11 Apr 30 2008 May 15 2008 Extra Documentation Web Service Stub Generation Cosmetics 1 12 Jun 4 2008 Erronuously named NOTP_ID field has been renamed to NOTE ID impacting the movement XML structures e AnimalMovementNotificationOverviewExportRequest e AnimalMovementNotificationOverviewExport e ChangeNotificationOverviewExportRequest e ChangeNotificationOverviewExport e MovementNotificationOverviewExportRequest e MovementNotificationOverviewExport 1 13 1 14 Jun 10 2008 Aug 10 2008 Improved Example Treatment Notification FAQ Question19 added Agreement Overview Export interface Added Notification Status Import Added Additional geographical fields in Facility San Unit 1 15 Sep 1 2008 PopulationNotificationImport added RetaggingNotificationImport added 1 16 Sep 17 2008 Oct 1 2008 LiablePartyOverviewExport added NotificationMovementImport extended with VRV data Party Type PATP missing documentation documentation NOST Code IVD gt IVLD ExportSanitaryUnit
37. www w3 0rg 2001 XMLSchema ReturnCode ReturnMessage XML OK AnimalExternalLabsExport_Id xmlns http Sanitel EAI SanitelRepository SanitelServices AnimalExternalLabsExportSchema gt lt Animal ANML_REF_NBR BE13360177 gt lt Sanitaryunit gt lt SNUN_CDE gt BE70021690 0101 lt SNUN_CDE gt lt FALO_EXT_REF_NBR gt 51885 lt FALO_EXT_REF_NBR gt lt FALO_STR gt RAAMDIJK lt FALO_STR gt lt FALO_NBR gt 4 lt FALO_NBR gt lt FALO_ZIP gt 3640 lt FALO_ZIP gt lt FALO_MCP gt KINROOI lt FALO_MCP gt lt FALO_CTY gt KINROOI lt FALO_CTY gt lt FALO TPH 089 70 27 56 FALO TPH lt Sanitaryunit gt lt RSP gt lt PATY_REF_NBR gt 0004644451 lt PATY_REF_NBR gt lt PATY_CDE gt BE738249605 lt PATY_CDE gt lt PATY_PAKD_CDE gt FARM PERS lt PATY_PAKD_CDE gt lt PACO_NAM_LST gt BECKERS lt PACO_NAM_LST gt lt PACO_NAM_FRT gt KURT lt PACO_NAM_FRT gt lt PACO_EXT_REF_NBR gt 51885 lt PACO_EXT_REF_NBR gt lt PACO_STR gt Raamdijk Kin lt PACO_STR gt lt PACO_NBR gt 4 lt PACO_NBR gt lt PACO_ZIP gt 3640 lt PACO_ZIP gt lt PACO_MCP gt KINROOI lt PACO_MCP gt lt PACO_CTY gt KINROOI lt PACO_CTY gt PACO GSM 0484994800 PACO GSM RSP lt CVET gt lt PAVT_ORD_NBR gt 5237 lt PAVT_ORD_NBR gt lt PAVT_VOER_CDE gt VL lt PAVT_VOER_CDE gt lt PAVT_EMA_OFF gt bertdamiaans hotmail com lt PAVT_EMA_OFF gt lt PATY_REF_NBR gt 537278347 lt PATY_REF_NBR gt lt PATY_CDE gt BE738259074 lt PATY_CDE gt lt PA
38. xml All Animal Types Inspection Inspection Data will only be added if ISP_FLG is true or animal type is PIG Field Type Description Allowed Values NAM string Inspection Name M if inspection tag is defined in the Any Alphanumeric xml text 200 char All Animal Types RSLT string Inspection Result O Poultry Any or Inspection All Animal Types Alphanumeric Report Reference text 50 char Number in case of Others Any Poultry Alphanumeric text 200 char DTE dateTime Inspection Date O Any valid Date All Animal Types Treatment Field Type Description Allowed Values NFTT_CDE string Notification M if treatment tag is defined in the See Valid codes MEDC_ID string Medicine Code M if treatment tag is defined in the Existing Medicine field name was xml Code not ideally chosen All Animal Types MEDC_CDE TMT_DTE_FRM dateTime Treatment Date C NFTT_CDE ADD OR MED Any valid Date From All Animal Types TMT_DTE_TO dateTime Treatment Date To C NFTT_CDE ADD OR MED Any valid Date All Animal Types WAI PER integer Waiting Period C NFTT_CDE ADD OR MED Any numeric value All Animal Types ANM_AGE integer Animal Age C NFTT_CDE VACC OR MED Any numeric value Sanitel EAI Manual v1 39 EAlManual doc 141 Poultry Only RAW_MAT_SUR_NAM string Raw Material C NFTT_CDE ADD Any Alphanumeric supplier Name Poultry Only text 50 char ANM_DIS string Animal C NFTT_CDE MED Any Alphanumeric Dis
39. 0 encoding utf 8 gt lt OrderImport xmlns http Sanitel EAI SanitelRepository SanitelServices OrderImportSchema User TESTXML SecurityToken N A gt lt Order gt lt OrderFacility gt lt SNUN_CDE gt BE10116943 0101 lt SNUN_CDE gt lt OrderFacility gt lt ORDR_RCV_DTE gt 2012 11 06T01 01 01 0000000 01 00 lt ORDR_RCV_DTE gt ORDR PST DTE 2012 11 05T01 01 01 0000000401 00 ORDR PST DTE ORDR DLV DIF FLG 1 ORDR DLV DIF FLG gt lt ORDR_DLV_NAM gt test del naam lt ORDR_DLV_NAM gt lt ORDR_DLV_AL1 gt test del adres lt ORDR_DLV_AL1 gt lt ORDR_DLV_ZIP gt test del zip lt ORDR_DLV_ZIP gt lt ORDR_DLV_CTY gt test del city lt ORDR_DLV_CTY gt ORDR ARC NBR 10 ORDR ARC NBR ORDR ARC BOX NBR 10 ORDR ARC BOX NBR ORDR ARC ENL NBR 10 ORDR ARC ENL NBR ORDR ARC LNE NBR 10 ORDR ARC LNE NBR RETURN ALL ANOMALIES Y RETURN ALL ANOMALIES lt OrderLines gt lt ORLI_QTY gt 5 lt ORLI_QTY gt lt ORIM_OITP_CDE gt MATB lt ORIM_OITP_CDE gt lt ORIM_OILB_CDE gt CHM lt ORIM_OILB_CDE gt lt OrderLines gt lt Order gt lt OrderImport gt Simple retagging order lt xml version 1 0 encoding utf 8 gt lt OrderImport xmlns http Sanitel EAI SanitelRepository SanitelServices OrderImportSchema User TESTXML SecurityToken N A gt lt Order gt lt OrderFacility gt lt SNUN_CDE gt BE10116943 0101 lt SNUN_CDE gt lt OrderFacility gt ORDR RCV DTE 2012 11 06T01 01 01 0000000
40. 0 02 00 lt DTE gt lt Inspection gt lt Treatment gt lt NFTT_CDE gt ADD lt NFTT_CDE gt lt MEDC_ID gt 445137 lt MEDC_ID gt TMT DTE FRM 2010 07 12T00 00 00402 00 TMT DTE FRM TMT DTE TO 2010 07 20T100 00 00402 00 TMT DTE TO WAI PER 30 WAI PER Treatment Sanitel EAI Manual v1 39 EAIManual doc 135 lt Treatment gt lt NFTT_CDE gt ADD lt NFTT_CDE gt lt MEDC_ID gt MED10432 lt MEDC_ID gt TMT DTE FRM 2010 07 12T00 00 00402 00 TMT DTE FRM TMT DTE TO 2010 07 25T00 00 00402 00 TMT DTE TO X WAI PER 45 WAI PER Treatment FoodChainNotification lt FoodChainNotificationImport gt Import Food Chain Notification for Pigs lt xml version 1 8 encoding UTF 8 gt lt FoodChainNotificationImport User TESTXML xmlns http Sanitel EAI SanitelRepository SanitelServices FoodChainNotificationImportSchema gt lt FoodChainNotification gt lt NOTP_CDE gt FCI lt NOTP_CDE gt lt NOKD_CDE gt lt OCR_DTE gt 2010 10 12T00 00 00 92 00 lt OCR_DTE gt lt RCV_DTE gt 2010 10 12T00 00 00 92 00 lt RCV_DTE gt lt REF_NBR gt 7878790 lt REF_NBR gt lt DOC_NBR gt lt ANTP_CDE gt PIG lt ANTP_CDE gt lt ANSB_CDE gt PIGF lt ANSB_CDE gt lt ANM_CNT gt 60 lt ANM_CNT gt lt ORIG_CDE gt LOCAL lt ORIG_CDE gt lt ADPR_CDE gt lt VRV_IDN_CRD_FLG gt false lt VRV_IDN_CRD_FLG gt lt CMN gt SEU DTE 2010 07 12T00 00 00402 00 SEU DTE DTH FLG
41. 0T00 00 00 ALC DTE FRM lt ALC DTE TO 2008 11 03T00 00 00 ALC DTE TO MarkingSeries lt MarkingSeriesOverviewExportRequest gt Example EXMS 2 Retrieve all Bovines Prime Earmark BOVM marking series allocated to a certain sanitary unit Sanitel EAI Manual v1 39 EAIManual doc 88 lt xml version 1 8 encoding utf 8 gt lt MarkingSeriesOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices MarkingSeriesOverviewExportRequestSchema User TESTXML SecurityToken N A gt lt MarkingSeries gt lt SNUN_CDE gt BE30052674 0101 lt SNUN_CDE gt lt OISN_CDE gt BOVM lt OISN_CDE gt lt MarkingSeries gt lt MarkingSeriesOverviewExportRequest gt Example EXMS 3 Retrieve all Bovines Slaughtering Labels BOVSL marking series allocated to a certain sanitary unit lt xml version 1 0 encoding utf 8 gt lt MarkingSeriesOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices MarkingSeriesOverviewExportRequestSchema User TESTXML SecurityToken N A gt lt MarkingSeries gt lt SNUN_CDE gt BE30052674 0101 lt SNUN_CDE gt lt OISN_CDE gt BOVSL lt OISN_CDE gt lt MarkingSeries gt lt MarkingSeriesOverviewExportRequest gt Sanitel EAI Manual v1 39 EAIManual doc 89 Output Schema MarkingSeriesOverviewExport lt gt MarkingSeriesOverviewExport A User esistring SecurityToken xs string ReturnCode xs string e Retu
42. 10 1 49 PACO STR 0 1 lt gt PACO NBR 0 1 lt gt PACO_BOX 0 1 4 PACO ALL 0 1 4 PACO_AL2 0 1 4 PACO_ZIP 0 1 1111111111111111111 Sanitel EAI Manual v1 39 EAIManual doc 56 Interface EXANR ExportAnimalRiskData The ExportAnimalRiskData Interface will be used to retrieve the risk details ofthe animals based on the input marking number If START_DTE and END_DTE tags are not specified or set equal to system date all actual animal s risk are exported If START_DTE and END_DTE aren t equal system date no risk is exported Direction Export Purpose Retrieve actual risks of an animal based on marking number In addition the users with PCE federation users SLGHS roles can only view the PIO1 kidneys and Hormone H and Residue R and Unauthorized substance N and Medicine M risks AnimalRiskExportRequest User SecurityToken OnBehalfRole OnBehalfEntity UserLanguage E 4 Animal A lt gt ANMLMRK NER 3 B START DTE o END DIE Layout Documentation https qas sanitel be int qas Sanitel ExtInterfacingSves_v2 SanitelServices asmx op ExportAnimalRisk Input Schema AnimalRiskExportRequest http Sanitel EAT SanitelRepository SanitelServices AnimalRiskExportRequestSchema XML Example s Request Sanitel EAI Manual v1 39 EAIManual doc 57 lt xml version 1 8 encoding utf 8 gt lt AnimalRiskExportRequest
43. 12T00 00 00402 00 DTE Inspection Treatment NFTT CDE ADD NFTT CDE MEDC ID 110432 MEDC ID TMT DTE FRM 2010 07 12T00 00 00402 00 TMT DTE FRM TMT DTE TO 2010 07 20T00 00 00402 00 TMT DTE TO WAI PER 30 WAI PER Treatment FoodChainNotification FoodChainNotificationImport Output Schema Interaction Result See definition Interaction Result Schema Sanitel EAI Manual v1 39 EAIManual doc 139 Field Descriptions M Mandatory O Optional C Condition Conditional depend on value of other field FoodChainNotification Field Type Description Allowed Values NOTP_CDE string Notification Type M See Valid codes All animal Types NOKD_CDE string Notification Kind 0 All animal Types OCR_DTE dateTime Notification Date M Any valid Date All animal Types RCV_DTE dateTime Receive Date M Any valid Date All animal Types REF_NBR string Reference Number M for FED users Any Alphanumeric All animal Types text 15 char DOC_NBR string Document O Any Alphanumeric Number All animal Types text SOchar ANTP_CDE string Animal Type M See valid Codes All animal Types ANSB_CDE string Animal Subtype M See valid Codes All animal Types ANM_CNT integer Animal Count M Any numeric value All animal Types except BOV as it is calculated automatically ORIG_CDE string Origin Code M See Valid codes All animal Typ
44. 3 0101 lt SNUN_CDE gt lt OrderFacility gt ORDR RCV DTE 2012 11 06 ORDR RCV DTE ORDR PST DTE 2012 11 05 ORDR PST DTE ORDR ARC NBR 1 ORDR ARC NBR ORDR ARC BOX NBR 1 ORDR ARC BOX NBR ORDR ARC ENL NBR 1 ORDR ARC ENL NBR ORDR ARC LNE NBR 1 ORDR ARC LNE NBR OrderLines ORLI QTY 5 ORLI QTY ORIM OITP CDE MATB ORIM OITP CDE lt ORIM OILB CDE CHM ORIM OILB CDE OrderLines Order OrderImport Simple order on Party xml version 1 8 encoding utf 8 lt OrderImport xmlns http Sanitel EAI SanitelRepository SanitelServices OrderImportSchema User TESTXML SecurityToken N A gt lt Order gt lt OrderParty gt lt CDE gt BE00006707 lt CDE gt lt OrderParty gt ORDR RCV DTE 2012 11 06 ORDR RCV DTE ORDR PST DTE 2012 11 05 ORDR PST DTE ORDR ARC NBR 1 ORDR ARC NBR ORDR ARC BOX NBR 1 ORDR ARC BOX NBR ORDR ARC ENL NBR 1 ORDR ARC ENL NBR ORDR ARC LNE NBR 1 ORDR ARC LNE NBR lt OrderLines gt lt ORLI_QTY gt 5 lt ORLI_QTY gt lt ORIM_OITP_CDE gt MATB lt ORIM_OITP_CDE gt lt ORIM_OILB_CDE gt CHM lt ORIM_OILB_CDE gt lt OrderLines gt lt Order gt lt OrderImport gt Output Schema Interaction Result See definition Interaction Result Schema Sanitel EAI Manual v1 39 EAIManual doc 145 Simple order with different delivery address and Return All Anomalies flag lt xml version 1
45. 401 00 ORDR RCV DTE ORDR PST DTE 2012 11 05T01 01 01 0000000401 00 ORDR PST DTE ORDR ARC NBR 10 ORDR ARC NBR ORDR ARC BOX NBR 10 ORDR ARC BOX NBR ORDR ARC ENL NBR 10 ORDR ARC ENL NBR ORDR ARC LNE NBR 10 ORDR ARC LNE NBR lt OrderLines gt lt ORLI_QTY gt 1 lt ORLI_QTY gt ORIM OITP CDE TAGB ORIM OITP CDE lt ORIM OILB CDE SRSR ORIM OILB CDE ORLI ANM REF NBR BE19480054 ORLI ANM REF NBR ORLI ANM DOU MRK FLG true ORLI ANM DOU MRK FLG OrderLines Order OrderImport Sanitel EAI Manual v1 39 EAIManual doc 146 Interface ImportSlaughterFile Direction Import Purpose Schema to import slaughter file data into Beltrace formerly called Guichet_in In principle it is a matter of filling in the basic SlaughterFile info the relevant parties Submitter Transporter Owner and the slaughter lots There also is an information element Documents where a foreign document reference number local reference or certificate can be added Layout Details e Input field Functionality code FUNC CDE Depending on the FUNC_CDE the transporter submitter owner details are added or updated for the Slaughter File The field is added to give Luxemburg the update possibility Functionality If FUNC_CDE field contains UPD the passed party will replace the existing party on the SlaughterFileParty DB of the given party type SLPT_CDE being SUB TRS or OWN
46. 7 lt REF_NBR gt lt FCL_REF_NBR gt LU95027685 lt FCL_REF_NBR gt lt CNT gt 20 lt CNT gt lt WGHC_CDE gt B2513 lt WGHC_CDE gt lt ANCO_CDE gt ALIVE lt ANCO_CDE gt lt SLKD_CDE gt CLASS lt SLKD_CDE gt lt SlaughterLot gt lt Document gt lt DOCT_CDE gt CERT lt DOCT_CDE gt lt REF_NBR gt lt Document gt lt SlaughterFile gt lt SlaughterFileToBeImported gt Sanitel EAI Manual v1 39 EAIManual doc 149 Response lt xml version 1 0 gt lt InteractionResult xmlns xsd http www w3 0rg 2001 XMLSchema xmlns xsi http www w3 0rg 2001 XMLSchema instance gt lt StatusCode gt Success lt StatusCode gt lt Summary gt Import successfull Slaughter Importing 9685 1500001 information is imported lt Summary gt Reference 9685 1500001 Reference Details lt MessageEntry gt lt Code gt 2 lt Code gt lt Description gt Updated lt Description gt lt Pattern gt lt ArgumentsCSV gt lt Reference gt 9685 1500001 lt Reference gt lt MessageEntry gt lt Details gt lt InteractionResult gt Empty SlaugherFile Numbers If one does not specify a SlaughterFile Reference Number the system will automatically generate this number and pass it back in the Interaction Result field reference Obviously also for the lots the numbers will be incremented as lt Number gt 1 lt Number gt 2 To prevent an XML file without reference numbers to be registered
47. 8 lt OCR_DTE gt lt DOC_NBR gt INTRA BE 2008 0029632 V1 lt DOC_NBR gt lt CRF_NBR gt BE IC ANT 2008 4023 1995 lt CRF_NBR gt lt ANTP_CDE gt BOV lt ANTP_CDE gt lt ANM_CNT gt 1 lt ANM_CNT gt lt ANCO_CDE gt ALIVE lt ANCO_CDE gt lt LIC_PLT gt HYE 343 lt LIC_PLT gt lt CTRY_CDE_TO gt NL lt CTRY_CDE_TO gt lt Party gt lt NPTP_CDE gt TRA lt NPTP_CDE gt lt CDE gt BE12002473 lt CDE gt lt Party gt lt Party gt lt NPTP_CDE gt DLR lt NPTP_CDE gt lt CDE gt BE12500104 lt CDE gt lt Party gt lt Facility gt lt NFTP_CDE gt SRC lt NFTP_CDE gt lt CDE gt BE12500104 lt CDE gt lt SNUN_CDE gt BE12500104 0101 lt SNUN_CDE gt lt Facility gt lt Facility gt lt NFTP_CDE gt ORI lt NFTP_CDE gt lt CDE gt BE10081457 lt CDE gt lt SNUN_CDE gt BE10081457 0101 lt SNUN_CDE gt lt Facility gt lt Animal gt lt REF_NBR gt BE117833993 lt REF_NBR gt lt PPT_VRS_NBR gt 2 lt PPT_VRS_NBR gt lt Animal gt Sanitel EAI Manual v1 39 EAlManual doc 114 lt MovementNotification gt lt MovementNotificationImport gt Example for Import Transport Notification lt xml version 1 8 encoding utf 8 gt lt MovementNotificationImport xmlns http Sanitel EAI SanitelRepository SanitelServices MovementNotificationImportSchema SecurityToken N A User superusert xmlns xsd http www w3 0rg 2001 XMLSchema xmlns xsi http www w3 0rg 2001 XMLSchema instance gt lt M
48. AI Manual v1 39 EAIManual doc 14 Coding Schema s Overview The following coding schema s have been used in the XML definition AnimalAllocationStatus AnimalAllocationType Beefiness AnimalBirthSpecifics AnimalDepartureReason AnimalDeliverySpecifics AgeCategory AnimalMeatQualityLabel AnimalCondition AnimalConception AnimalDisposalType AnimalPremiumCodes AnimalRace AnimalRaceType Animal SubType Animal Type Animal VRV name Animal VRV specification Animal Wellfare AnimalSurvival Blocking Status CleaningFacilityType Country DNA Quality Code FacilityType FacilityLocationType Gender Hairtype Language Marking Series Allocation NotificationFacilityType NotificationKind NotificationReason Reserved for later usage NotificationStatus NotificationType NotificationPartyType NotificationRiskChangeReason Order Item Label Sanitel EAI Manual v1 39 EAIManual doc 15 OISN Order Item Serie Numbering Order Item Type Origination Party Type SanitaryUnitPassportBlockingReason SanitaryUnitPassportBlockingStatus PassportPrintReason Passport Print Urgency Production Quality Production Ware ProductionUnitType RiskltemType RiskOrigin RIQR RiskQualificationReason RiskQualification RiskStatus RiskType RiskCondition Slaughtering Type Slaughtering Kind SlaughteringPartyType SlaughteringStatusAction SanitaryUnitPartyType Sanitary Unit Housing SanitaryUnitKind SanitaryUnitType Type of treatment
49. ANML_REF_NBR s string lt gt DTE_IN xs date Time lt gt DTE OUT 0 1 xs dateTime lt gt PRUN_IDX xs long http Sanitel EAI SanitelRepository SanitelServices ProductionUnitExportSchema Sanitel EAI Manual v1 39 EAIManual doc 80 Interface EXSU ExportSanitaryUnit Direction Export Purpose Retrieve detailed info about a sanitary unit Location Address Sanitary Characteristics Involved Parties Production Unit Info Marking Inventory Capacity Population Inventory Risk Information History Information Layout Documentation https gas sanitel be in QAS_Sanitel_ExtInterfacingSvcs_v2 SanitelServices asmx op ExportSanitaryUnit Input Schema SanitaryUnitExportRequest lt gt SanitaryUnitExportRequest User xs string SecurityToken xs string ResultIndex xstint OnBehalfRole xs string OnBehalfEntity xs string UserLanguage xsistring E lt gt SanitaryUnit Gs I lt gt CDE Pre http Sanitel EAI SanitelRepository SanitelServices SanitaryUnitExportRequestSchema XML Example s Example EXSU 1 Retrieve detailed information of a sanitary unit lt xml version 1 8 encoding utf 8 gt lt SanitaryUnitExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices SanitaryUnitExportRequestSchema User TESTXML SecurityToken N A gt lt SanitaryUnit gt lt CDE gt BE12345678 0101 lt CDE gt lt SanitaryUnit gt lt SanitaryUnitExportRequest gt
50. ANRS DESC lt ANRS_RIST_CDE gt 1 lt ANRS_RIST_CDE gt lt ANRS_RSST_CDE gt 1 lt ANRS_RSST_CDE gt lt ANRS_RIOG_CDE gt STD lt ANRS_RIOG_CDE gt ANRS DTE FRM 2015 01 01T00 00 00 ANRS DTE FRM AnimalRiskInfo AnimalRiskInfo ANRS DESC Para tuberculosis ANRS DESC ANRS RIST CDE 1 ANRS RIST CODE ANRS RSST CDE 4 ANRS RSST CDE AnimalRiskInfo AnimalRiskInfo lt ANRS _DESC gt BSE lt ANRS DESC lt ANRS_RIST_CDE gt 1 lt ANRS_RIST_CDE gt lt ANRS_RSST_CDE gt 4 lt ANRS_RSST_CDE gt lt AnimalRiskInfo gt lt AnimalRiskInfo gt lt ANRS_DESC gt IBR lt ANRS_DESC gt lt ANRS_RIST_CDE gt 1 lt ANRS_RIST_CDE gt lt ANRS_RSST_CDE gt 1 lt ANRS_RSST_CDE gt lt AnimalRiskInfo gt lt AnimalRiskInfo gt lt ANRS_DESC gt BlueTongue lt ANRS_DESC gt lt ANRS_RIST_CDE gt 1 lt ANRS_RIST_CDE gt lt ANRS_RSST_CDE gt 4 lt ANRS_RSST_CDE gt lt AnimalRiskInfo gt lt AnimalRiskInfo gt Sanitel EAI Manual v1 39 EAIManual doc 58 lt ANRS_DESC gt PI 1 Kidneys lt ANRS_DESC gt lt ANRS_RSST_CDE gt NEG lt ANRS_RSST_CDE gt lt AnimalRiskInfo gt lt AnimalRiskInfo gt lt ANRS_DESC gt Hormone lt ANRS_DESC gt lt ANRS_RSST_CDE gt H lt ANRS_RSST_CDE gt lt AnimalRiskInfo gt lt AnimalRiskInfo gt lt ANRS_DESC gt Contaminate lt ANRS_DESC gt lt ANRS_RSST_CDE gt C lt ANRS_RSST_CDE gt lt AnimalRiskInfo gt lt AnimalRiskInfo gt lt ANRS_DESC gt Residue lt ANRS_DESC g
51. API Break Replaced the incorrect UPD_DTE_FRM UPD_DTE_TO fields to the single UPD_DTE field AnimalDisposalType Rendac on AnimalImport and MovementNotificationImport Update Date Search on export movement animal movement VRV fields in import animal Extra animal fields in notification overview export MarkingSeriesImport added Working On Behalf Of functionality 1 18 Oct 22 2008 e Added the slaughter vignet number SLG_VGN_NBR in the Animal Tag of the MovementNotificationImport XML Sanitel EAI Manual v1 39 EAIManual doc 3 Completed ANCO codes in the documentation a rule has been added that in AnimalBirth registrations the SlaughteringCode DEAD cannot be used anymore Added SNUN_CDE as search criteria for AnimalMovementNotificationOverview Added 2 Technical fields in interaction result defining the raw pattern string of the exceptions and the individual arguments Technical application integration can than check on the pattern string and retrieve certain parameters directly 1 19 Nov 5 2008 New Interface ExportMarkingSeries New Interface ExportRetaggingNotification Export AnimalOverview API Break Removal of the incorrect field VRV_IND_CRD_FLG The correct field VRV_IDN CRD FLG remains Work On Behalf Of Functionality added 1 20 Nov 25 2008 Security Documentation added UserLanguage documentation added 1 21 Dec 15 2008 Birth Import
52. BasicData Interface 1 37 28 J anuary 2015 Field FUN CDE added to ImportSlaughterFile Included ImportSlaughterDetaillnfoForAnimalGroup Field DETAIL INFO FLG added to ExportSlaughterFile Search period validation added Included changes for ExportAnimalBasicData Interface Field RETURN ALL ANOMALIES added to Import Order Movement Notification and Birth Notification Included new Export Slaughter Lot Observations Interface 1 38 24 April 2015 Updates to URLs in Interfaces Technical Usage section Updated the URLs for the interface layout from http to https Add Transport animal subtype TASB in Coding schema s Changes to Export SlaughterlotObservation XML Inclusion of Working Reference Animal Count Organ Count and Weight fields 1 39 3 August 2015 Sanitel EAI Manual v1 39 Added new XML EXANE ExportAnimalExternalLabs Added new XML EXANR ExportAnimalRisk EAIManual doc 5 Table of Contents Docunient El SEQUI 2 an ee eisen 2 Table of re 6 Introduction za ein ir Lalli alia ila 8 XML and Webservices ee 8 Interface O vermi arresero 9 Schema Overview TE O EP 10 Schema design EE 12 Schema Definition Sosine nassi arerin abba eat dias 14 Coding Schema s COVER VIE W sanne 15 Main Entity Overview Mec n 16 Abbreviations EE OLA hadden ledematen ladini 18 Codina Sch mas ODISIE lalla ilaele ia 20 Interface Definition se ooo ee ae et aon
53. CDE 0 1 xs string lt gt FCLT CDE 0 1 xs string lt gt FCLT NAM 0 xs string lt gt FCLT_REF_NBR 0 1 xsistring lt gt FCLT_EXT_REF_NBR 0 1 xs string lt gt FCLT ZIP 0 1 xs string lt gt ANTP CDE 0 1 xsistring lt gt UPD DTE FRM 0 1 xs dateTime lt gt UPD DTE TO 0 1 xs dateTime lt gt PATY CDE RSP 0 1 xsistring lt gt PRUN IDX 0 1 xs long http Sanitel EAI SanitelRepository SanitelServices ProductionUnitOverviewExportRequestSchema XML Example s Example EXPUO 1 Retrieve all production units of a certain facility xml version 1 8 encoding utf 8 gt lt ProductionUnitOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices ProductionUnitOverviewExportRequestSchema User TESTXML SecurityToken N A ResultIndex gt lt ProductionUnit gt lt FCLT_CDE gt BE70057407 lt FCLT_CDE gt lt ProductionUnit gt lt ProductionUnitOverviewExportRequest gt Sanitel EAI Manual v1 39 EAIManual doc 76 Example EXPUO 2 Retrieve the info about a certain production unit lt xml version 1 8 encoding utf 8 gt lt ProductionUnitOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices ProductionUnitOverviewExportRequestSchema User TESTXML SecurityToken N A ResultIndex gt lt ProductionUnit gt lt REF_NBR gt 7102607960 lt REF_NBR gt lt ProductionUnit gt lt ProductionUnitOverviewExport
54. CDE gt BOV lt ANSB_CDE gt lt TMLV_CDE gt GRP lt TMLV_CDE gt lt MEDC_CDE gt BLTNG lt MEDC_CDE gt lt IDN gt Stable 1 lt IDN gt lt ANM_CNT gt 20 lt ANM_CNT gt QTY 20 QTY UNIT CDE QTY ST UNIT CDE QTY lt TITP_CDE gt VAC1 lt TITP_CDE gt lt TMTP_CDE gt SCINJ lt TMTP_CDE gt lt TreatmentDetail gt lt TreatmentNotification gt lt TreatmentNotificationImport gt Sanitel EAI Manual v1 39 EAIManual doc 126 Output Schema Interaction Result See definition Interaction Result Schema Sanitel EAI Manual v1 39 EAlManual doc 127 Interface IMPMS ImportMarkingSeries Direction Import Purpose Submit marking series allocations Layout Documentation https qas sanitel be int QAS Sanitel ExtInterfacingSvcs v2 SanitelServices asmx op ImportMarkingSeries Input Schema MarkingSeriesimport MarkingSeriesImport A Z User xs string SecurityToken xs string OnBehalfRole xs string OnBehalfEntity xs string UserLanguage xs string E lt gt MarkingSeries 2 E lt gt MACT_CDE 0 1 siring n lt gt ANTP_CDE 0 dr n lt gt ALC DTE 0 1 xs dateTime lt gt SEQ BEG 0 xsistring lt gt SEQ END 0 1 xs string lt gt CNT xs int lt gt ORIM CDE 0 1 xs string lt gt MSAL_CDE xs string lt gt FCLT_CDE 0 xs string lt gt SNUN CDE 0 1 xs string lt gt CMN C xs string lt gt REF NBR xs string http Sanitel EAI SanitelRepository SanitelServices
55. CERT CDE lt USR_CRE gt MIGRATED lt USR_CRE gt USR CRE DTE 2009 03 12T01 40 30 USR CRE DTE lt USR_UPD gt FFA lt USR_UPD gt lt Animal gt lt AnimalExport gt lt xml version 1 0 encoding utf 8 gt lt AnimalOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices AnimalOverviewExportRequestSchema User TESTXML SecurityToken N A ResultIndex 0 gt lt Animal gt lt ANTP_CDE gt BOV lt ANTP_CDE gt lt SNUN_CDE gt BE12345678 0101 lt SNUN_CDE gt lt Animal gt lt AnimalOverviewExportRequest gt Example EXANO 2 Retrieve all bovines that have been updated changed today lt xml version 1 0 encoding utf 8 gt lt AnimalOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices AnimalOverviewExportRequestSchema User TESTXML SecurityToken N A ResultIndex 0 gt lt Animal gt lt ANTP_CDE gt BOV lt ANTP_CDE gt UPD DTE FRM 2007 11 15T00 00 00 UPD DTE FRM UPD DTE TO 2007 11 15T23 59 59 UPD DTE TO Animal lt AnimalOverviewExportRequest gt A query like this one can take some time as we have choosen for now not to put an index on it yet in addition because of the migration all animals last update date will be the day of the migration If this query is to be used structurally and regularly let us know Output Schema AnimalOverviewExport http Sanitel EAT SanitelRepository SanitelServices AnimalOverviewExport
56. E TO ChangeNotification lt ChangeNotificationOverviewExportRequest gt Example EXCNO 2 Retrieve all changes on sheep facilities over a certain month lt xml version 1 0 encoding utf 8 gt lt ChangeNotificationOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices ChangeNotificationOverviewExportRequestSchema User TESTXML SecurityToken N A ResultIndex 0 lt ChangeNotification gt lt NOTP_CDE gt CHFCY lt NOTP_CDE gt lt ANTP_CDE gt SHP lt ANTP_CDE gt OCR DTE FRM 2011 09 01T00 00 00 OCR DTE FRM OCR DTE TO 2011 09 30T23 59 59 OCR DTE TO ChangeNotification lt ChangeNotificationOverviewExportRequest gt Sanitel EAI Manual v1 39 EAIManual doc 61 Output Schema ChangeNotificationOverviewExport gt ChangeNotificationOverviewExport A Ka User xs string SecurityToken xs string ReturnCode xs string ReturnMessage xs string E lt gt ChangeNotification 0 A E lt gt NOTF ID 0 1 xs long B E lt gt NOTP CDE 0 1 K n lt gt NOKD CDE 0 1 xs string lt gt NOST CDE 0 1 xs string lt gt OCR DTE 0 1 xs dateTime lt gt REF NER 0 1 xs string lt gt ANTP CDE 0 1 xs string lt gt ZIP 0 1 xs string lt gt NORS CDE 0 1 xs string lt gt PATY_CDE 0 1 xs string lt gt FCLT_CDE 0 1 xs string lt gt SNUN CDE 0 1 xs string lt gt ANML_CDE 0 1 xs string lt gt ATRB CDE 0 1 xs
57. EAI SanitelRepository SanitelServices ChangeProductionQualityImportSchema XML Example s Adding Production Quality to a Sanitary Unit lt xml version 1 0 gt Sanitel EAI Manual v1 39 EAIManual doc 105 lt ChangeProductionQualityImport xmlns http Sanitel EAI SanitelRepository SanitelServices ChangeProductionQualityImportSchema User TESTXML SecurityToken N A gt lt ChangeProdcutionQuality gt OCR DTE 2014 11 23T21 43 40 OCR DTE RCV DTE 2014 11 23T21 43 40 RCV DTE REF NBR 1422236 REF NBR PRQU CDE STD PRQU CDE SanitaryUnit lt FUNC_CDE gt ADD lt FUNC_CDE gt lt SNUN_CDE gt BE70021690 0101 lt SNUN_CDE gt lt SanitaryUnit gt lt ChangeProdcutionQuality gt lt ChangeProductionQualityImport gt Output Schema Interaction Result See definition Interaction Result Schema Interface IMINN ImportinventoryNotification Direction Import Purpose Submit marking inventory results Layout Documentation https gas sanitel be int QAS_Sanitel ExtInterfacingSvcs v2 SanitelServices asmx op ImportInventoryNotification Sanitel EAI Manual v1 39 EAIManual doc 106 Input Schema InventoryNotificationimport lt gt InventoryNotificationImport R amp ue SecurityToken string OnBehalfRole string OnBehalfEntity string Userlanguage c string lt gt InventoryNotification E lt gt NOTP_CDE String B lt gt NOKD CDE 0 1 Sting
58. EAI SanitelRepository SanitelServices FoodChainNotificationImportSchema gt lt FoodChainNotification gt lt NOTP_CDE gt FCI lt NOTP_CDE gt lt NOKD_CDE gt OCR DTE 2010 10 12T00 00 00402 00 OCR DTE RCV DTE 2010 10 12T00 00 00402 00 RCV DTE lt REF_NBR gt 7878740 lt REF_NBR gt lt DOC_NBR gt lt ANTP_CDE gt SHP lt ANTP_CDE gt lt ANSB_CDE gt SHP lt ANSB_CDE gt lt ANM_CNT gt 100 lt ANM_CNT gt lt ORIG_CDE gt LOCAL lt ORIG_CDE gt lt ADPR_CDE gt lt VRV_IDN_CRD_FLG gt false lt VRV_IDN_CRD_FLG gt lt CMN gt SEU DTE 2010 07 12T00 00 00402 00 SEU DTE DTH FLG true DTH FLG DIS FLG true DIS FLG DTH CMT Death Origin should be added here DTH CMT DIS CMT Disease Origin should be added here DIS CMT SLRN CDE ORSL SLRN CDE ISP FLG true ISP FLG Party lt NPTP_CDE gt TRA lt NPTP_CDE gt lt CDE gt BE700175020 lt CDE gt lt Party gt lt Party gt lt NPTP_CDE gt DLR lt NPTP_CDE gt lt CDE gt BE700175020 lt CDE gt lt Party gt lt Facility gt lt NFTP_CDE gt SRC lt NFTP_CDE gt lt CDE gt BE70062079 lt CDE gt lt SNUN_CDE gt BE70062079 0501 lt SNUN_CDE gt lt Facility gt lt Facility gt lt NFTP_CDE gt DST lt NFTP_CDE gt lt CDE gt BE52700564 lt CDE gt lt Facility gt lt Inspection gt Sanitel EAI Manual v1 39 EAIManual doc 138 lt NAM gt Salmonella lt NAM gt lt RSLT gt negative lt RSLT gt DTE 2010 07
59. ETAIL_INFO_FLG Y the Slaughter Detail Info details are populated from SlaughterInfoDetail table When the flag DETAIL_INFO_FLG N or DETAIL_INFO_FLG flag is omitted in the XML the Slaughter info details are not populated in the response Input Schema SlaughterFileExportRequest Sanitel EAI Manual v1 39 EAIManual doc 155 lt gt SlaughterFileExportRequest A Qo Le User REF_NBR xs string Resultindex OnBehalfRole xsistring OnBehalfEntity xs string UserLanguage xs string SecurityToken xs string DTE_FRM xs dateTime DTE_TO FCLT_NBR xs strin i 0 06060000 DETAIL_INFO_FLG xs strin i http sanitel eai SanitelRepository SlaughteringServices ExportSlaughter SlaughterFileExport e The input request should have either the REF_NBR or DTE FRM DTE TO FCLT_NBR Example XML 1 Search by File Reference lt xml version 1 0 encoding utf 8 gt lt SlaughterFileExportRequest User TESTXML REF_NBR 3215 070132 DETAIL_INFO_FLG Y xmlns http sanitel eai SanitelRepository SlaughteringServices ExportSlaughterFile SlaughterFileExport gt Example XML 2 Search by Declaration Date and Slaughter House Note From and To date should not exceed 7 days lt xml version 1 0 encoding utf 8 gt SlaughterFileExportRequest DETAIL INFO FLG Y DTE TO 2015 01 29 DTE FRM 2015 01 22 FCLT NBR LU95003417 SecurityToken N A User jz03zn xmlns http Sanitel EAI
60. Examples Refreshed incomplete drawings Update FAQ Animal number formats Security Token 1 22 Jan 7 2009 ExportProductionUnit Interface 1 23 Feb 15 2009 ExportWaterManureAllocation Interface 1 24 Mar 06 2009 Fix in export XML example Import Change Notification Attribute codes re aligned extended with online application 1 25 May 18 2009 ExportWaterAndManure Interface extended with Milk production quota 1 26 June 02 2009 Changed Sanitrace references to the more actual Sanitel notation 1 27 June 26 2009 Final Documentation Version 1 28 Jan 20 2009 ProductionUnitNotificationImport redefined examples 1 29 June 2011 Risk Import Passport FCI XMLs 1 30 June 2012 Update all import schema s Sanitel EAI Manual v1 39 EAlManual doc 4 1 31 December 2012 ImportOrder Interface 1 32 July 2013 Added SlaugherFile methods amp usercodes Added chapter on migrating to EAI service v2 1 33 September 2013 General review and update 1 34 7 October 2013 Update all the interface definition diagrams Update the XML styling in the interface definition Add guidelines section in the interface definition 1 35 6 August 2014 Removed chapter on migrating to EAI v2 services Applied remarks from DGZ New functionality added to IMPUN ImportProductionUnit 1 36 27 November 2014 Added ChangeAnimalMeatQualityImport and ChangeProductionQualityImport Interfaces Added ExportAnimal
61. FCL REF NBR ANM REF NBR lt CNT gt 100 lt CNT gt WGH KG 0 WGH KG lt WGHC_CDE gt B2513 lt WGHC_CDE gt lt ANCO_CDE gt ALIVE lt ANCO_CDE gt lt SLKD_CDE gt CLASS lt SLKD_CDE gt lt SLG DTE 2007 05 04T15 32 37 1875402 00 SLG DTE SlaughterLot SlaughterFile lt SlaughterFileToBeImported gt Example XML with FUNC_CDE for Luxemburg Request lt xml version 1 0 encoding utf 8 gt lt SlaughterFileToBeImported UserLanguage NL SecurityToken N A User mzxlqw xmlnsz http sanitel eai SanitelRepository SlaughteringServices ImportSlaughterFile SlaughterFileToBeImpo rted SlaughterFile SLGT CDE CIAL SLGT CDE REF NBR 9685 1500001 REF NBR DEC DTE 2015 01 20T10 00 00 DEC DTE SLG DTE 2015 01 20T10 00 00 SLG DTE lt ANTP_CDE gt PIG lt ANTP_CDE gt lt ANSB_CDE gt PIGF lt ANSB_CDE gt lt ORIG_CDE gt LOCAL lt ORIG_CDE gt lt CTRY_CDE_ORI gt LU lt CTRY_CDE_ORI gt lt SLST_CDE gt SUBM lt SLST_CDE gt lt Party gt lt SLPT_CDE gt OWN lt SLPT_CDE gt lt REF_NBR gt LU97700026 lt REF_NBR gt lt Party gt lt Party gt lt FUNC_CDE gt UPD lt FUNC_CDE gt lt SLPT_CDE gt SUB lt SLPT_CDE gt lt REF_NBR gt LU950000834 lt REF_NBR gt lt Party gt lt Party gt lt FUNC_CDE gt UPD lt FUNC_CDE gt lt SLPT_CDE gt TRS lt SLPT_CDE gt lt REF_NBR gt LU950000110 lt REF_NBR gt lt Party gt lt SlaughterLot gt lt REF_NBR gt 9026 1079
62. Foreign Animals If the animals are imported from abroad you need an international certificate or a local reference numbers To register this via the XML interface you can add a document section lt Document gt lt DOCT_CDE gt CERT lt DOCT_CDE gt lt REF_NBR gt 123455 lt REF_NBR gt lt Document gt When this section is present it is OK to leave the facility blank Le lt FCL_REF_NBR gt lt FCL_REF_NBR gt Obviously do not forget that the origin code has to be specified accordingly E g lt ORIG_CDE gt EEC lt ORIG_CDE gt Workflow Integration SUBM or SAV Sanitel EAI Manual v1 39 EAIManual doc 150 A SlaughterFile XML can be uploaded as many times as you want if you use the Status Action SAV Le lt SLST_CDE gt SAV lt SLST_CDE gt It will every time update the corresponding slaughterfile only applicable for XMLs where you specify the Reference Number An action SUBM can also be used This action can only be done once and is actually an indication you will not update the file information anymore obviously you still can report back the weights Output Schema Interaction Result See definition Interaction Result Schema Sanitel EAI Manual v1 39 EAIManual doc 151 Interface ImportSlaughterinfo Direction Import Purpose Schema to import slaughter info into Beltrace e g Weight Date This schema was formerly called Abattage_in In this schema you just
63. G gt false lt MLT_BTH_FLG gt lt RCE_PUR_FLG gt false lt RCE_PUR_FLG gt lt Animal gt lt AnimalNotification gt lt AnimalNotificationImport gt Dead born calf notification not marked lt xml version 1 0 encoding utf 8 gt lt AnimalNotificationImport xmlns http Sanitel EAI SanitelRepository SanitelServices AnimalNotificationImportSchema User TESTXML SecurityToken N A gt lt AnimalNotification gt lt NOTP_CDE gt ARBTH lt NOTP_CDE gt RCV DTE 0001 01 01T00 00 00 RCV DTE lt ANTP_CDE gt BOV lt ANTP_CDE gt lt ANM_CNT gt 1 lt ANM_CNT gt lt ANCO_CDE gt DDNOT lt ANCO_CDE gt lt Party gt lt NPTP_CDE gt RSP lt NPTP_CDE gt lt CDE gt BE400223090 lt CDE gt Sanitel EAI Manual v1 39 EAIManual doc 97 lt Party gt lt Facility gt lt NFTP_CDE gt DST lt NFTP_CDE gt lt CDE gt BE40096025 lt CDE gt SNUN CDE BE40096025 0101 SNUN CDE Facility Animal ANML REF NBR MHR BE43281842 ANML REF NBR MHR ANSB CDE BOV ANSB CDE BTH DTE 2008 10 29T00 00 00 BTH DTE DTH DTE 2008 10 29T00 00 00 DTH DTE PPPU CDE NO PPPU CDE VRV FLG false VRV FLG VRV IDN CRD FLG false VRV IDN CRD FLG gt NRS MHR FLG true NRS MHR FLG ANVS CDE NONE ANVS CDE BTH WGH 0 BTH WGH DNA SMP FLG false DNA SMP FLG MLT BTH FLG false MLT BTH FLG RCE PUR FLG false RCE PUR FLG Animal AnimalNotific
64. L SecurityToken N A gt lt RetaggingNotification gt lt NOTP_CDE gt RETAG lt NOTP_CDE gt OCR DTE FRM 2008 01 01T00 00 00 OCR DTE FRM OCR DTE TO 2008 12 31T123 59 59 OCR DTE TO lt SNUN_CDE gt BE40078272 0101 lt SNUN_CDE gt lt RetaggingNotification gt lt RetaggingNotificationOverviewExportRequest gt Output Schema RetaggingNotificationOverviewExport Double Click to enlarge the diagram m RetaggingNotificationOverviewExport jpg http Sanitel EAT SanitelRepository SanitelServices ExportRetaggingNotificationOverviewExportSchema Sanitel EAI Manual v1 39 EAIManual doc 92 Interface EXWMA ExportWaterManureAllocation Direction Export Purpose Export Water Manure Allocation so that Water and Manure production Layout Documentation https gas sanitel be int QAS_Sanitel ExtInterfacingSves_v2 SanitelServices asmx op ExportWaterManureAllocation Input Schema WaterManureAllocationExportRequest lt gt WaterManureAllocationExportRequest A User xsistring SecurityToken xs string Resultindex xstint OnBehalfRole xs string OnBehalfEntity xs string UserLanguage xs string lt gt WaterManureAllocation 8 lt gt SNUN CDE 0 xsistring lt gt YER xs string http Sanitel EAI SanitelRepository SanitelServices W aterManureAllocationExportRequest XML Example s Example EXWMA 1 Retrieve the water and manure allocations for a number of Sanitary Units lt
65. Lison ul alla Die 42 Guidelines e Rm 42 Interaction Result only for import 800008 0 1 43 Interface EX AN Export mal serer sonen ee EE 45 Interface EXAMN ExportAnimalMovementNotificationOverview n 47 Interface EXANO ExportAnimalOverview sise 50 Interface EXANB ExportAnimalBasicData i 51 Interface EXANE ExportAnimalExternalLabs 54 Interface EXANR Exp rtAnimalRiskDala nase deden 57 Interface EXCNO ExportChangeNotificationOver view 60 Interface EXFAO ExportRaeilityOvervieW ee alal lara 63 Interface EXMNO ExportMovementNotificationOverview een 66 Interface EXMVN ExportMovementNotification iii 69 Interface EXPAO ExportPartyOverview heine lesen 71 Interface EXLPO ExportLiablePartyOverview ss 73 Interface EXPUO ExportProductionUnitOverview ss 75 Interface EXPU ExpontProduetionlhit une esse aaa a 29 Interface EXSU ExportSanitaryUlnit none eer ete ce ra tacto ederet ana 81 Interface EXSUO ExportSanitaryUnitOVervieW i 83 Interface EXAGR ExportAgreementOver view 85 Interface EXMS ExportMarkingSerieSOVErvieW i 88 Interface EXRNO ExportRetag
66. MHR gt string lt CDE_MHR gt all attributes lt CDE MER GTC gt string lt CDE MHR GIC lt BLST CDE gt string lt BLST CDE gt lt TUBR CDE gt string lt TUBR CDE gt lt BLO STA CMN gt string lt BLO STA CMN gt Sanitel EAI Manual v1 39 EAIManual doc 164 Another powerful feature of Web Services is that one can retrieve the online Web Service Definition in general and all XSD schema s in particular Le https gas sanitel be in QAS_Sanitel_ExtInterfacingSvcs_v2 SanitelServices asmx wsdl The schema names are automatically generated so might get changed when updating the proxy See the table underneath for the active configuration A Schema can be retrieved directly via https gas sanitel be in QAS_Sanitel_ExtInterfacingSvcs_v2 SanitelServices asmx schema schemaXXX with XXX the schema number as defined in the table underneath Schema76 AnimalExport Schema68 AnimalMovementNotificationOverviewExport Schema6 AnimalNotificationImport Schema72 AnimalOverviewExport Schema9 ChangeNotificationlmport Schema82 ChangeNotificationOverviewExport Schema67 ExportAnimalMovementNotificationOverviewRequest Schema71 ExportAnimalOverviewRequest Schema75 ExportAnimalRequest Schema81 ExportChangeNotificationOverviewRequest Schema85 ExportFacilityOverviewRequest Schema89 ExportMovementNotificationOverviewRequest Schema93 ExportMovementNotificationRequest Schema97 ExportPartyOverviewRequest Schema101 ExportProductionUnitOverviewReque
67. M_RGS_NBR gt lt AL1 gt lt AL2 gt lt STR gt ROUTE DE HAMOIRE lt STR gt lt ZIP gt 4577 lt ZIP gt lt CTY gt MODAVE lt CTY gt lt MCP gt MODAVE MCP gt lt CTRY_CDE gt BE lt CTRY_CDE gt lt EXT_REF_NBR gt lt Party gt lt Party gt lt SLPT_CDE gt SUB lt SLPT_CDE gt lt REF_NBR gt S00175440 lt REF_NBR gt lt NAM gt CHAMPON lt NAM gt lt TPH gt lt RLM_RGS_NBR gt lt AL1 gt lt AL2 gt lt STR gt ROUTE DE HAMOIRE lt STR gt lt ZIP gt 4577 lt ZIP gt lt CTY gt MODAVE lt CTY gt lt MCP gt MODAVE lt MCP gt lt CTRY_CDE gt BE lt CTRY_CDE gt lt EXT_REF_NBR gt lt Party gt lt Party gt lt SLPT_CDE gt TRS lt SLPT_CDE gt lt REF_NBR gt S00175440 lt REF_NBR gt lt NAM gt CHAMPON lt NAM TPH RLM RGS NBR lt AL1 gt lt AL2 gt lt STR gt ROUTE DE HAMOIRE lt STR gt lt ZIP gt 4577 lt ZIP gt lt CTY gt MODAVE lt CTY gt lt MCP gt MODAVE lt MCP gt lt CTRY_CDE gt BE lt CTRY_CDE gt lt EXT_REF_NBR gt lt Party gt Sanitel EAI Manual v1 39 EAIManual doc 157 lt SlaughterLot gt lt REF_NBR gt 9417 1500001 1 lt REF_NBR gt lt FCL_REF_NBR gt LU95011258 lt FCL_REF_NBR gt lt ANM_REF_NBR gt 1P2Z lt ANM_REF_NBR gt lt CNT gt 5 lt CNT gt WGH KG 0 WGH KG WGHC CDE B2513 WGHC CDE lt ANCO_CDE gt ALIVE lt ANCO_CDE gt lt SLKD_CDE gt CLASS lt SLKD_CDE gt SLG DTE 0001 01 01T00 00 00 SLG DTE BTH D
68. MarkingSeriesImportSchema XML Example s XML Example 1 Manually allocating earmarks lt xml version 1 0 encoding utf 8 gt lt MarkingSeriesImport xmlns http Sanitel EAI SanitelRepository SanitelServices MarkingSeriesImportSchema User TESTXML SecurityToken N A gt lt MarkingSeries gt lt MACT_CDE gt BE lt MACT_CDE gt lt ANTP_CDE gt PIG lt ANTP_CDE gt lt ALC DTE gt 2012 07 01T23 09 25 lt ALC DTE SEQ BEG 020001 SEQ BEG gt SEQ END 020500 SEQ END Sanitel EAI Manual v1 39 EAIManual doc 128 lt CNT gt 500 lt CNT gt lt ORIM_CDE gt ARSIA BEPABTS001 lt ORIM_CDE gt lt MSAL_CDE gt AAUTO lt MSAL_CDE gt lt FCLT_CDE gt BE50044422 lt FCLT_CDE gt lt SNUN_CDE gt BE50044422 0201 lt SNUN_CDE gt lt CMN gt 1422830 lt CMN gt lt REF_NBR gt 1422830 lt REF_NBR gt lt MarkingSeries gt lt MarkingSeriesImport gt Output Schema Interaction Result See definition Interaction Result Schema Sanitel EAI Manual v1 39 EAIManual doc 129 Interface IMPST ImportStatusUpdateNotification Direction Import Purpose Submit a status update notification currently limited to treatments but extendable to other notifications Layout Documentation https gas sanitel be int QAS_Sanitel ExtInterfacingSvcs v2 SanitelServices asmx op ImportStatusUpdateNotification Input Schema StatusUpdateNotificationImport gt StatusUpdateNotificationImport A U
69. NBR 10179333123 PRUN REF NBR PRUN IDX 1 PRUN IDX PRC REF NBR PRC REF MER PRC NAM CHARLETS JOSEPH PRC NAM PRC STR GRAND CHEMIN DE MESSINES 200 PRC STR PRC ZIP 7780 PRC ZIP PRC CTY COMINES PRC CTY ProductionUnit lt ProductionUnit gt lt PRUN_REF_NBR gt 10179333123 lt PRUN_REF_NBR gt lt PRUN_IDX gt 2 lt PRUN_IDX gt lt PRC_REF_NBR gt lt PRC_REF_NBR gt lt PRC_NAM gt CHARLETS JOSEPH lt PRC_NAM gt lt PRC_STR gt GRAND CHEMIN DE MESSINES 200 lt PRC_STR gt PRC ZIP 7780 PRC ZIP PRC CTY COMINES PRC CTY ProductionUnit ProductionUnitNotification ProductionUnitNotification OCR DTE 2011 01 30T17 46 29 OCR DTE REF NBR 10179333 REF NBR SNUN CDE BE10179333 0101 SNUN CDE ProductionUnit ProductionUnitNotification lt ProductionUnitNotificationImport gt Concrete consider the following situation e SNUN ABC gt PRUN XXX gt 5 animals attached to PRUN XXX Scenario 1 XML is processed that has NO Production Units defined Impact Sanitel EAI Manual v1 39 EAIManual doc 119 e No PRUN for the SanitaryUnit any more e No animals attached any more Use this scenario to terminate a certain production unit at a Sanitary Unit Scenario 2 XML is processed that defines Production Units XXX and YYY Impact e PRUN YYY is being added to the PRUNS of SNUN ABC No animals will be added to this PRUN e PRUN XXX might have been up
70. NOKD_CDE gt OCR DTE 2010 10 12T00 00 00402 00 OCR DTE RCV DTE 2010 10 12T00 00 00402 00 RCV DTE lt REF_NBR gt 7878787 lt REF_NBR gt lt DOC_NBR gt lt ANTP_CDE gt BOV lt ANTP_CDE gt lt ANSB_CDE gt BOV lt ANSB_CDE gt lt ANM_CNT gt lt ORIG_CDE gt LOCAL lt ORIG_CDE gt lt ADPR_CDE gt lt VRV_IDN_CRD_FLG gt false lt VRV_IDN_CRD_FLG gt lt CMN gt SEU DTE 2010 07 12T00 00 00402 00 SEU DTE DTH FLG true DTH FLG DIS FLG true DIS FLG DTH CMT Death Origin should be added here DTH CMT DIS CMT Disease Origin should be added here DIS CMT NRV FLG true NRV FLG NRV CMT Nervous symptoms origin should be added here NRV CMT ISP FLG true ISP FLG Party lt NPTP_CDE gt TRA lt NPTP_CDE gt lt CDE gt BE500081111 lt CDE gt lt Party gt lt Party gt lt NPTP_CDE gt DLR lt NPTP_CDE gt lt CDE gt BE00005764 lt CDE gt lt Party gt lt Facility gt lt NFTP_CDE gt SRC lt NFTP_CDE gt lt CDE gt BE50060010 lt CDE gt lt SNUN_CDE gt BE50060010 0101 lt SNUN_CDE gt lt Facility gt lt Facility gt lt NFTP_CDE gt DST lt NFTP_CDE gt lt CDE gt BE52700564 lt CDE gt lt Facility gt lt Animal gt lt REF_NBR gt BE26125182 lt REF_NBR gt lt Animal gt lt Animal gt lt REF_NBR gt BE55393208 lt REF_NBR gt lt Animal gt lt Inspection gt lt NAM gt Salmonella lt NAM gt lt RSLT gt negative lt RSLT gt lt DTE gt 2010 07 12T00 00 0
71. PREM lt ANVS_CDE gt Sanitel EAI Manual v1 39 EAIManual doc 98 BTH WGH 25 BTH WGH DNA SMP FLG false DNA SMP FLG MLT BTH FLG true MLT BTH FLG RCE PUR FLG false RCE PUR FLG Animal AnimalNotification AnimalNotificationImport Import Notification xml version 1 8 encoding utf 8 gt lt AnimalNotificationImport xmlns http Sanitel EAI SanitelRepository SanitelServices AnimalNotificationImportSchema User TESTXML SecurityToken N A gt lt AnimalNotification gt lt NOTP_CDE gt ARIMO lt NOTP_CDE gt OCR DTE 2008 11 17T12 00 00 OCR DTE REF NBR XXX123 REF NBR DOC NBR YYYA456 DOC NBR lt ANTP_CDE gt BOV lt ANTP_CDE gt lt ANM_CNT gt 1 lt ANM_CNT gt lt ANCO_CDE gt ALIVE lt ANCO_CDE gt lt CRF_NBR gt FR20080077995 lt CRF_NBR gt lt LIC_PLT gt ABC123 lt LIC_PLT gt lt CTRY_CDE_FRM gt FR lt CTRY_CDE_FRM gt lt Party gt lt NPTP_CDE gt DLR lt NPTP_CDE gt lt CDE gt BE12500104 lt CDE gt lt Party gt lt Facility gt lt NFTP_CDE gt DST lt NFTP_CDE gt lt CDE gt BE40070824 lt CDE gt SNUN CDE BE40070824 0150 SNUN CDE Facility Animal MACT CDE FR MACT CDE MRK NBR 5940143152 MRK NBR ANML REF NBR MHR FR5940183831 ANML REF NBR MHR ANSB CDE VCALF ANSB CDE ANRT CDE MILK ANRT CDE GNDR CDE FEM GNDR CDE lt HRTP_CDE gt BLW lt HRTP_CDE gt lt PPPU_CDE gt NRM lt PPP
72. P_NAM lt gt RSP_REF_NBR 0 1 lt gt RSP_EXT_REF_NBR 0 1 lt gt RSP_AL1 0 1 lt gt RSP_AL2 0 1 lt gt RSP_STR 10 1 lt gt RSP_NBR 10 11 lt gt RSP_BOX 10 1 lt gt RSP ZIP 0 1 lt gt RSP_CTY 0 1 lt gt RSP_MCP 0 1 lt gt RSP_CTRY_CDE 0 1 lt gt RSP_TPH 0 1 lt gt PRUN_IDX 0 1 xsistring x string xs string xs string xs string xs string xs string xs string xs string xs string xs string xs string xs string xsistring xs string xs string xs string xs string xs string xs string xs string xs string xsistring xs string xs string xsistring xs string xs string xs string xs string xs string xsistring xsistring xs string xs string xs string xs string xs string xs string xs long http Sanitel EAI SanitelRepository SanitelServices ProductionUnitOverviewExportSchema Sanitel EAT Manual v1 39 EAIManual doc 78 Interface EXPU ExportProductionUnit Direction Export Purpose Retrieve all Animal allocations to any old or current production unit of a certain facility including the from and the to of these allocations Layout Documentation https gas sanitel be in QAS_Sanitel_ExtInterfacingSvcs_v2 SanitelServices asmx op ExportProductionUnit Input Schema ProductionUnitExportRequest lt gt ProductionUnitExportRequest a User xs string SecurityToken xs string Resultindex xs int OnBehalfRole xs string OnBehalfEntity xs string Use
73. PartyOverviewExportSchema Sanitel EAI Manual v1 39 EAIManual doc 72 lt gt PartyOverviewExport User xs string SecurityToken xs string ReturnCode xs string ReturnMessage xs string E lt gt Party 0 i u 4 CDE Eu A E lt gt NAM en lt gt REF NER 0 1 Ter lt gt EXT REF NER 0 1 xs string lt gt UPD DTE 0 1 xs dateTime lt gt AL1 0 1 xs string lt gt AL2 0 1 xs string lt gt STR 0 1 xs string lt gt NBR 0 1 xs string lt gt BOX 0 1 xs string lt gt ZIP 0 1 xs string lt gt CTY 0 1 xs string lt gt MCP 0 1 xs string lt gt CTRY_CDE 0 1 xs string lt gt TPH 0 1 xs string lt gt LNGE_CDE 0 1 xs string lt gt PATY_PAST_CDE xs string Interface EXLPO ExportLiablePartyOverview Direction Export Purpose Retrieves a detailed overview of Liable Party information including sensitive information such as names GSMs phone numbers Layout Documentation https qas sanitel be int QAS Sanitel ExtInterfacingSvcs v2 SanitelServices asmx op ExportLiablePartyOverview Sanitel EAI Manual v1 39 EAIManual doc 73 Input Schema LiablePartyOverviewExportRequest gt LiablePartyOverviewExportRequest A 4 User sistring SecurityToken xs string ResultIndex xs int OnBehalfRole xs string OnBehalfEntity xs string 8 UserLanguage xs string IS lt gt LiableParty 1 amp RH lt gt PATP_CDE 0 1 xs string a E l
74. R NEW NRS NUR OCR OLD ORD ORI PCR PLT PNT MLK MLP MRK MO1 M12 NAM NBR NER NEW NRS NUR OCR OLD ORD ORI PCR PLT PNT POP PPT PUR QAL Municipality Mother Milk Marking Name Number New Nourish Nursing Occur Old Order Originator Producer Plate Print Milk Milkproduction Marking Month Jan Month Dec Name Number NR DR New Nourish Nursing Occur Old Order Originator Producer Plate Print Population Passport Purchase Qualifications RCV RDC REF RLM RGS ROS RSK RSP SGP SMP SRC STA STB STR SUC TOT TPH TRS UPD VAL VAT VGN VLM VRS VRV VTY WGH YER ZIP Receive Rendac Reference Realm Register Request Risk Responsible Subgroup Sample Search Status Stable Street Surface Total Telephone Transporter Two Update Value BTW TVA Vignette VLM Version V R V Veterinary Weight Year Postal Code EAIManual doc 18 GRP GSM GTC IDN IMO LBO LIA LIC LMS LST MAL Group GSM Genetic Identification Import Lable Liabilities License Live Last Male Sanitel EAI Manual v1 39 RCV RDC REF RLM RGS ROS RSK POP PPT PUR QAL Receive Rendac Reference Realm Register Request Risk Population Passport Purchase Qualifications EAIManual doc 19 Coding Schema s Content The following is a list of accepted returned user codes Codes can be recognized as lt USERGOUP gt _CDE e g ADSP_CDE AGEC_CDE AATP Anima
75. RM gt 0001 01 01T00 00 00 lt UPD_DTE_FRM gt lt UPD_DTE_TO gt 0001 01 01T00 00 00 lt UPD_DTE_TO gt lt Animal gt lt AnimalOverviewExportRequest gt For other XML types there is only the No Tag option 19 Q How can I see the field lengths A Technically speaking field length specifications are not standard part of XML There have been proposed some standards but the general conclusion of any such debate is always that XML should not be specifying lengths For informational purpose these are our standards Strings are by default 50 characters UNLESS They represent User Codes gt Length 5 They represent Descriptions gt Length 255 They represent Comments gt Length 800 They are explicitly constrained to another length for technical reasons An example of this is street in the current interfaces which are constrained to 40 for printing reasons Examples o NAM VARCHAR2 50 CHAR ALI VARCHAR2 50 CHAR AL2 VARCHAR2 50 CHAR STR VARCHAR2 40 CHAR ZIP VARCHAR2 50 CHAR CTY VARCHAR2 50 CHAR MCP VARCHAR2 50 CHAR EMA VARCHAR2 50 CHAR TPH VARCHAR2 50 CHAR TPH_ALT VARCHAR2 50 CHAR GSM VARCHAR2 50 CHAR FAX VARCHAR2 50 CHAR GNDR_CDE VARCHAR2 5 CHAR ooo ooo oo oo 0 0 Slaughtering Module only Sanitel EAI Manual v1 39 EAIManual doc 179 20 Q How do we have to specify animal numbers when using them in the XML and how are these numbers formatted when exported A This is a diffic
76. Request gt Example EXPUO 3 Retrieve the info about all production units changed over a certain period lt xml version 1 0 encoding utf 8 gt lt ProductionUnitOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices ProductionUnitOverviewExportRequestSchema User TESTXML SecurityToken N A ResultIndex 0 gt lt ProductionUnit gt UPD DTE FRM 2011 11 11T00 00 00 UPD DTE FRM UPD DTE TO 2011 11 30T23 59 59 UPD DTE TO ProductionUnit lt ProductionUnitOverviewExportRequest gt Sanitel EAI Manual v1 39 EAIManual doc 77 Output Schema ProductionUnitOverviewExport ProductionUnitOverviewExport E lt gt ProductionUnit 0 aouanbas User xs string SecurityToken xs string ReturnCode xs string ReturnMessage xsistring e lt gt REF_NBR 0 1 aauanbas gt PRC_REF_NBR 0 1 lt gt PRC NAM 0 1 lt gt PRC STR 0 1 lt gt PRC NBR 1011 lt gt PRC ZIP 0 1 lt gt PRC CTY 0 1 lt gt SUTP_CDE 10 1 lt gt SNUN_CDE 0 1 lt gt SNUN_REF_NBR 10 11 lt gt FCLT_CDE 0 1 lt gt FCLT NAM 10 11 lt gt FCLT_REF_NBR 0 1 lt gt FLTP_CDE lt gt FALO_REF_NBR 10 1 lt gt ALI K lt gt A2 lt gt STR 10 11 lt gt NBR 0 1 lt gt BOX 0 1 lt gt ZIP 0 1 lt gt CTY 0 1 lt gt MCP 0 1 lt gt CTRY_CDE 10 11 lt gt TPH 0 1 lt gt RSP_CDE lt gt RS
77. SanitelRepository SanitelServices ProductionUnitExportRequestSchema User TESTXML SecurityToken N A ResultIndex 0 gt lt ProductionUnit gt lt FCLT_CDE gt BE70057407 lt FCLT_CDE gt lt PRUN_REF_NBR gt 123456789 lt PRUN_REF_NBR gt DTE FRM 2006 12 01T00 00 00 DTE FRM DTE TO 2007 11 30T23 59 59 DTE TO ProductionUnit lt ProductionUnitExportRequest gt Example EXPU 3 Retrieve all production unit details of a certain production unit over a certain period Includes all animals that were part of this Production Unit in any period overlapping with the specified period As the production unit is part of a facility this is more or less equivalent to 2 lt xml version 1 0 encoding utf 8 gt lt ProductionUnitExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices ProductionUnitExportRequestSchema User TESTXML SecurityToken N A ResultIndex gt lt ProductionUnit gt lt PRUN_REF_NBR gt 123456789 lt PRUN_REF_NBR gt DTE FRM 2006 12 01T00 00 00 DTE FRM DTE TO 2007 11 30T23 59 59 DTE TO ProductionUnit lt ProductionUnitExportRequest gt Output Schema ProductionUnitExport gt ProductionUnitExport Ka User xs string SecurityToken xs string ReturnCode xs string ReturnMessage xs string IE lt gt ProductionUnit 8 amp D I lt gt PRUN REF NER xesstring 3 E lt gt SNUN CDE xs string 3 lt gt FCLT_CDE s string lt gt
78. SanitelServices asmx op ExportAnimal Input Schema AnimalExportRequest AnimalExportRequest A User s string SecurityToken xs string OnBehalfRole OnBehalfEntity xs string UserLanguage xsistring E lt gt Animal lt gt ANTP_CDE d CDE http Sanitel EAI SanitelRepository SanitelServices AnimalExportRequestSchema XML Example s Example EXAN 1 Retrieve detailed animal information for two bovines a local one and an imported one xml version 1 8 encoding utf 8 gt lt AnimalExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices AnimalExportRequestSchema User TESTXML SecurityToken N A gt lt Animal gt lt ANTP_CDE gt BOV lt ANTP_CDE gt lt CDE gt BE12345678 lt CDE gt lt Animal gt lt Animal gt lt ANTP_CDE gt BOV lt ANTP_CDE gt lt CDE gt NL456453543 lt CDE gt lt Animal gt lt AnimalExportRequest gt Sanitel EAI Manual v1 39 EAIManual doc 45 Output Schema AnimalExport Double Click to enlarge the diagram 5 B S http Sanitel EAI SanitelRepository SanitelServices AnimalExportSchema Sanitel EAI Manual v1 39 EAIManual doc 46 Interface EXAMN ExportAnimalMovementNotificationOverview Direction Export Purpose Retrieve an overview of movements of individual animals gt from to a certain facility This interface can also be used for herd animals yet will not have any animal details Instead
79. Schema Sanitel EAI Manual v1 39 EAIManual doc 53 Interface EXANE ExportAnimalExternalLabs The ExportAnimalExternalLabs Interface will be used to retrieve the details of the sanitary unit and the surveillance veterinary information based on the input marking number Direction Export Purpose Retrieve sanitary unit and surveillance veterinary information based on marking number AnimalExternalLabsExportRequest a Ke User SecurityToken OnBehalfRole xs string OnBehalfEntity xsistring Userlanguage xs string I lt gt Animal 8 42 I lt gt ANML REF NBR 0 1 xs string Layout Documentation https qas sanitel be int qas Sanitel ExtInterfacingSves_v2 SanitelServices asmx op ExportAnimalExternalLabs Input Schema AnimalExternalLabsExportRequest http Sanitel EAI SanitelRepository SanitelServices AnimalExternalLabsExportRequestSchema XML Example s Request xml version 1 8 encoding utf 8 lt AnimalExternalLabsExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices AnimalExternalLabsExportRequestSchema User LIMS gt lt Animal gt lt ANML_REF_NBR gt BE13360177 lt ANML_REF_NBR gt lt Animal gt lt AnimalExternalLabsExportRequest gt Sanitel EAI Manual v1 39 EAIManual doc 54 Response lt xml version 1 0 gt lt AnimalExternalLabsExport xmlns xsi http www w3 0rg 2001 XMLSchema instance xmlns xsd http
80. Security Token example Key XML Security Token example 1 Security Token The security token SomeSecret SomeSecret plays the role of a kind of password 2 Hashed Security The above security SomeSecret o3En Fm638yxFW4AHISkb7Taz4 Token toke is hashed with the SHAI algorithm 3 Date Based The security token is Some 0 Secret Some20080929Secret Security Token combined with the key SomeSecret 4 Hashed Date The security token is Some 0 Secret hNvdH6haYJ4WAdMYJxOvF ewpaQ Based Security combined with the Token key SomeSecret 5 Key based The security token is Some 0 Secret Some210Secret Security Token combined with the 210 key SomeSecret SomeSecret210 6 Hashed Key based The combined key Some 0 Secret bvVn9ub3 j lyOKKedP21024ftc Security Token security token is 210 hashed with the SHA1 SomeSecret v KoBSaBWHAqMCDVzxGnJi3ejDQ algorithm 7 AES Encrypted A lt USERIXML date SomeSecretAESSaltValue TESTXMLI2008 11 12T12 00 00 Date Time Value time now gt value encrypted encrypted using AES Sn1Qn6B6bUakN2kjztRMjQU7jfwXor0Jg WTpX2IrjibwiR iOI5rkSX4GzfyONufjyb9q MIISVvSU34fRRoPhg 1 Security Token is the simplest form and could be easily rolled out 2 Hides this secret from the user 3 And 4 are still quite simple and make the connection already quite secure This should be the targeted average security level 5 6 and 7 are advanced security means making the connection more or less as secure as if you would have
81. Simple Party Maintenance the party than generated will have an S000XXXX number and this number can be permanently used for referring to this party 3 Q A few of these persons already have a 9 digit zero prefixed FAVV BOOD KBO number Can I use that number A Unfortunately it is not possible to use this number yet as in the Sanitel application there still can be multiple parties linked to the same FAVV BOOD KBO number However you can search on this 9 digit zero prefixed number too for finding the party and in case it is not there you can fetch its BOOD KBO information when creating the party i e create simple party maintenance gt tab to field external reference number gt enter the 9 digit zero prefixed FAVV BOOD KBO number gt Hit the check button gt Name address info is fetched 4 Q And foreign cattle farms should we create those too as temporary parties A No in the XML structure there is the document tag where you can specify the certificates of these foreign cattle farms Both local or international TRAS YS certificates can be used 5 Q What is the difference between a Party and a Facility Sanitel EAI Manual v1 39 EAlManual doc 175 A The Party is the Juridical entity and is in the process of being rationalized and aligned with the Central KBO registration the Facility is the more down to earth number of a certain facility on a certain location One party can be responsible for mult
82. TE 0001 01 02 BTH DTE AGEC CDE ANM REF NBR MHR lt ISR_FLG gt false lt ISR_FLG gt lt PRC gt lt PRC gt SLGH WGH 0 SLGH WGH SlaughterDetaillnfo REF NBR LOT 9417 1500001 1 REF NBR LOT lt REF_NBR gt 2 lt REF_NBR gt WGH KG 200 WGH KG SLKD CDE ORFSL SLKD CDE SLG DTE 2015 01 27T00 00 00 SLG DTE lt MKT_NBR gt 222 222 lt MKT_NBR gt lt PRC gt 20 lt PRC gt lt CLA gt P lt CLA gt lt LMR gt 125 lt LMR gt lt SlaughterDetailInfo gt lt SlaughterDetailInfo gt lt REF_NBR_LOT gt 9417 1500001 1 lt REF_NBR_LOT gt lt REF_NBR gt 3 lt REF_NBR gt WGH KG 300 WGH KG SLKD CDE HNTG SLKD CDE SLG DTE 2015 01 27T00 00 00 SLG DTE lt MKT_NBR gt 333 333 lt MKT_NBR gt lt PRC gt 3000 lt PRC gt GAD SES lt GLAD lt LMR gt 321 lt LMR gt lt SlaughterDetailInfo gt lt SlaughterDetailInfo gt lt REF_NBR_LOT gt 9417 1500001 1 lt REF_NBR_LOT gt lt REF_NBR gt 1 lt REF_NBR gt lt WGH_KG gt 25 lt WGH_KG gt lt SLKD_CDE gt ORSL lt SLKD_CDE gt lt SLG_DTE gt 2015 01 27T00 00 00 lt SLG DTE lt MKT_NBR gt 111 111 lt MKT_NBR gt lt PRC gt 100 lt PRC gt lt CLA gt 0 lt CLA gt lt LMR gt 251 lt LMR gt lt SlaughterDetailInfo gt lt SlaughterLot gt lt SlaughterFile gt lt SlaughterFileExport gt Interface ExportSlaughterLotObservation The XML ExportSlaughterLotObservation is created to return the observations
83. TY_PAKD_CDE gt VET lt PATY_PAKD_CDE gt lt PACO_NAM_LST gt DAMIAANS lt PACO_NAM_LST gt lt PACO_NAM_FRT gt BERT lt PACO_NAM_FRT gt lt PACO_EXT_REF_NBR gt 58221 lt PACO_EXT_REF_NBR gt lt PACO_STR gt Bosstraat lt PACO_STR gt lt PACO_NBR gt 82 lt PACO_NBR gt lt PACO_ZIP gt 3960 lt PACO_ZIP gt lt PACO_MCP gt BREE lt PACO_MCP gt lt PACO_CTY gt BREE lt PACO_CTY gt lt PACO_GSM gt 0496 64 84 20 lt PACO_GSM gt lt CVET gt lt Animal gt lt AnimalExternalLabsExport gt Output Schema AnimalExternalLabsExport http Sanitel EAI SanitelRepository SanitelServices AnimalExternalLabsExportSchema Sanitel EAI Manual v1 39 EAIManual doc 55 1 ANMLREE NER lt gt FALO TPH 0 1 gt AnimalExternalLabsExport d 0 1 PREHEN 4 PATY_CDE 10 1 lt gt PATY PAKD COE 0 1 lt gt PACO_NAMLIST 0 1 49 PACO_NAM_FRT 0 lt gt PACO_EXT_REF_NBR 10 11 4 PACO_STR 0 1 lt gt PACO_NBR 0 1 lt gt PACO BOX 0 1 o PACO_ALL 0 1 4 PACO AL2 01 lt gt PACO_AP 0 1 lt gt PACO_MCP 0 1 gt PACO_CTY 0 1 lt gt PACO_TPH 0 1 4 PACO_GSM 10 11 lt gt AnimalExternalLabsExport Id 10 11 DEELER PAVT_ORD_NBR 0 1 49 PAVT_VEOR CDE 10 1 lt gt PAVT_EMA_OFF 0 1 lt gt PATY_REF_NBR 0 2 lt gt PATY_CDE 0 1 lt gt PATY_PAKD_CDE 0 1 lt gt PACO NAM LST 10 11 lt gt PACO NAM FRT 10 lt gt PACO_EXT_REF_NBR
84. U_CDE gt lt PRUN_REF_NBR gt 4602500153 lt PRUN_REF_NBR gt BTH DTE 2007 01 01T00 00 00 BTH DTE IMO DTE 2008 11 17T00 00 00 IMO DTE CRF NBR FR20080077995 CRF NBR lt CTRY_CDE_IMO gt FR lt CTRY_CDE_IMO gt lt Animal gt lt AnimalNotification gt lt AnimalNotificationImport gt Output Schema Interaction Result See definition Interaction Result Schema Sanitel EAI Manual v1 39 EAIManual doc 99 Interface IMCHN ImportChangeNotification Direction Import Purpose Submit changes on an Animal a Facility a Sanitary Unit or even a Party Layout Documentation https qas sanitel be int QAS Sanitel ExtInterfacingSvcs v2 SanitelServices asmx op ImportChangeNotification Input Schema ChangeNotificationImport ChangeNotificationImport A Ki User xs string SecurityToken xs string OnBehalfRole OnBehalfEntity xs string UserLanguage xs string MI lt gt changeNotification i D I lt gt wor E xs string 2 3 lt gt NOKD_CDE 3 lt gt OCR_DTE xs dateTime lt gt RCV DTE xs dateTime lt gt REF NER 0 1 xs string lt gt DOC NER 0 lt gt ANTP CDE ANTP CDE ALT xsistring lt gt PATY_CDE 1 xsistring lt gt FCLT_CDE xs string lt gt SNUN CDE 0 1 xs string lt gt ANML_CDE xs string lt gt NORS_CDE xs string lt gt RQS_CMN xsistring lt gt Change M lt gt ATRB_CDE i VAL_OLD e bi P lt gt VAL NEW xs string http
85. VN_CDE Naming Choice VRV_NAM Name ADPR_CDE Animal Departure Reason ADR Address ALI Address Line 1 AL2 Address Line 2 STR Street NBR Number BOX Box ZIP Zip CTY City MCP Municipal CTRY_CDE Country TPH Telephone VEN VEN Information FCLT_REF_NBR VEN Number CMNT Comment FCEND Facility End END_DTE End Date CMNT Comment SUEND Sanitary Unit End END DTE End Date CMNT Comment GNOTC General Notice NCTP CDE Notice Type NOTC SBJ Subject NOTC MSG Message NOTC ANS Reaction Answer NOTC ATA Attachments Sanitel EAI Manual v1 39 EAIManual doc 102 Interface IMCMQ ImportChangeAnimalMeatQuality The ImportChangeAnimalMeatQuality interface will be used by the labelling organization to add delete the animal meat quality for Bovine animal To add an animal meat quality the user needs to provide the FUNC_CDE as ADD and include the meat quality in AMQL_CDE to be added to the various animals If the FUNC_CDE code is ADD DEL and no value is given in AMQL_CDE code error will be populated animal meat quality is mandatory field To delete an animal meat quality the user needs to provide FUNC_CDE as DEL and include the meat quality to be deleted from the various animals If the FUNC_CDE code is blank error will be populated For all success response a change notification will be created in notification and notification change item tables Direction Import Purpose Labelling Organisation to submit changes in Meat Q
86. _CDE gt RETAG lt NOTP_CDE gt lt OCR_DTE gt 2012 07 01T10 43 51 lt OCR_DTE gt lt RCV_DTE gt 2012 07 01T10 43 51 lt RCV_DTE gt lt REF_NBR gt 1422367 lt REF_NBR gt lt ANTP_CDE gt BOV lt ANTP_CDE gt lt FCLT_CDE gt BE25002391 lt FCLT_CDE gt lt SNUN_CDE gt BE25002391 0101 lt SNUN_CDE gt lt Party gt lt NPTP_CDE gt ORDR lt NPTP_CDE gt lt CDE gt BE250002767 lt CDE gt lt Party gt lt Party gt lt NPTP_CDE gt DELV lt NPTP_CDE gt lt CDE gt BE250002767 lt CDE gt lt Party gt lt RetaggingLine gt lt ORIM_CDE gt ARSIA BEBASER 52 lt ORIM_CDE gt lt ANML_CDE gt BE56967463 lt ANML_CDE gt lt MRK_VRS_NBR gt 1 lt MRK_VRS_NBR gt lt TWO_MRK_FLG gt false lt TWO_MRK_FLG gt lt RetaggingLine gt lt RetaggingNotification gt lt RetaggingNotificationImport gt Sanitel EAI Manual v1 39 EAlManual doc 122 Output Schema Interaction Result See definition Interaction Result Schema Sanitel EAI Manual v1 39 EAlManual doc 123 Interface IMRSN ImportRiskNotification Direction Import Purpose Submit risk notifications Layout Documentation https qas sanitel be int QAS_Sanitel_ExtInterfacingSvcs_v2 SanitelServices asmx op ImportRiskNotification Input Schema RiskNotificationImport RiskNotificationl mpor t jpg vi http Sanitel EAI SanitelRepository SanitelServices RiskNotificationImportSchema XML Example s lt xml version 1 0 encoding utf 8 gt lt RiskNotific
87. and inspections on a slaughterlot multiple slaughterlot The XML is only applicable for Luxembourg and not for Belgium Sanitel EAI Manual v1 39 EAIManual doc 158 Layout Documentation The layout for the ExportSlaughterlotObservation webservices is available in the below link https gas sanitel be int gas_Sanitel_ExtInterfacingSvcs_v2 SanitelServices asmx op ExportSla ughterLotObservations Input Schema ExportSlaughterLotObservationsRequest ExpurtSleughterLotObservations amp http Sanitel EAI SanitelRepository SanitelServices ExportSlaughterLotObservations Example XML Request lt xml version 1 0 encoding utf 8 gt lt ExportSlaughterLotObservationsRequest xmlns http Sanitel EAI SanitelRepository SanitelServices ExportSlaughterLotObservations User jz03zn xmlns xsd http www w3 0rg 2001 XMLSchema xmlns xsi http www w3 0rg 2001 XMLSchema instance gt lt InputItems gt lt ObservationExportRequestItems gt lt REF_NBR gt 9026 1101314 lt REF_NBR gt lt ObservationExportRequestItems gt lt InputItems gt lt ExportSlaughterLotObservationsRequest gt Response lt xml version 1 0 encoding utf 8 gt SlaughterLotObservations xmlns xsd http www w3 org 2001 XMLSchema xmlns xsi http www w3 0rg 2001 XMLSchema instance gt lt SlaughterLotObservations xmlns http Sanitel EAI SanitelRepository SanitelServices SlaughterLotObs
88. anual doc 116 Output Schema Interaction Result See definition Interaction Result Schema Sanitel EAI Manual v1 39 EAlManual doc 117 Interface IMPUN ImportProductionUnitNotification Direction Import Purpose allows the user to manage the ProductionUnits of a SanitaryUnit used by ALV and SPW Manage the links between the animals of a SanitaryUnit and its ProductionUnits The XML import can be done Explicitly to create a ProductionUnit notification per animal lt AnimalProductionUnit gt part to be used executed in case the field lt NOKD_CDE gt ANML for each animal ANML REF NBR in AnimalProductionUnit a ProductionUnit notification is created with the given SU occurrence date and the given ANML_PRUN_REF_NBR in AnimalProductionUnit Note that the field ANML_PRUN_REF_NBR can be empty In that case the given animal is unlinked from its PU Implicitly to manage the ProductionUnit s of a SanitaryUnit lt ProductionUnit gt part to be used executed in case the field lt NOKD_CDE gt PRUN or blank used by ALV and SPW for each animal in the SanitaryUnit inventory a ProductionUnit notification is created see XML example only if no PU s passed gt all animals are unlinked from the existing PU s a single PU passed gt all animals are linked to this new PU if not yet the case more than 1 PU gt no effect on the animals Layout Documentation https qas sanitel be int QAS Sa
89. ation lt AnimalNotificationImport gt Dead born calf notification marked lt xml version 1 0 encoding utf 8 gt lt AnimalNotificationImport xmlns http Sanitel EAI SanitelRepository SanitelServices AnimalNotificationImportSchema User TESTXML SecurityToken N A gt lt AnimalNotification gt lt NOTP_CDE gt ARBTH lt NOTP_CDE gt RCV DTE 0001 01 01T00 00 00 RCV DTE ANTP CDE BOV ANTP CDE ANM CNT 1 ANM CNT ANCO CDE DDMKD ANCO CDE Party NPTP CDE RSP NPTP CDE lt CDE gt BE402979302 lt CDE gt lt Party gt lt Facility gt lt NFTP_CDE gt DST lt NFTP_CDE gt lt CDE gt BE40141489 lt CDE gt lt SNUN_CDE gt BE40141489 0101 lt SNUN_CDE gt lt Facility gt lt Animal gt lt REF_NBR gt BE48600665 lt REF_NBR gt lt MACT_CDE gt BE lt MACT_CDE gt MRK NBR 48600665 MRK NBR ANML REF NBR MHR DE 0346949849 3 ANML REF NBR MHR ANSB CDE BOV ANSB CDE ANRT CDE MILK ANRT CDE lt ASRV_CDE gt LIV lt ASRV_CDE gt lt GNDR_CDE gt MAL lt GNDR_CDE gt lt HRTP_CDE gt R lt HRTP_CDE gt BTH DTE 2008 10 26T00 00 00 BTH DTE DTH DTE 2008 10 26T00 00 00 DTH DTE PPPU CDE NRM PPPU CDE lt VRV_FLG gt true lt VRV_FLG gt lt VRV_IDN_CRD_FLG gt true lt VRV_IDN_CRD_FLG gt lt ABFY_CDE gt MLK lt ABFY_CDE gt lt ADSP_CDE gt EASY lt ADSP_CDE gt lt ANCP_CDE gt NRM lt ANCP_CDE gt lt NRS_MHR_FLG gt true lt NRS_MHR_FLG gt lt ANVS_CDE gt
90. ationImport xmlns http Sanitel EAI SanitelRepository SanitelServices RiskNotificationImportSchema User TESTXML SecurityToken N A gt lt RiskNotification gt lt NOTP_CDE gt RISK lt NOTP_CDE gt OCR DTE 2011 05 05T12 30 00 OCR DTE REF NBR RISK NOTF3 REF NBR lt ANTP_CDE gt BOV lt ANTP_CDE gt lt FCLT_CDE gt BE60012911 lt FCLT_CDE gt lt SNUN_REF_NBR gt BE60012911 0101 lt SNUN_REF_NBR gt lt ANML_REF_NBR gt BE25996391 lt ANML_REF_NBR gt lt RIOG_CDE gt LB20P lt RIOG_CDE gt lt CMN gt Comment lt CMN gt lt LBO_REF_NBR gt 1 lt LBO_REF_NBR gt lt LMS_REF_NBR gt 1 lt LMS_REF_NBR gt lt SMP_REF_NBR_BAG gt 1 lt SMP_REF_NBR_BAG gt lt Party gt lt NPTP_CDE gt RSP lt NPTP_CDE gt lt CDE gt BE100023073 lt CDE gt lt Party gt lt RiskItem gt lt RITP_CDE gt DISS lt RITP_CDE gt lt RIIT_CDE gt BDIS lt RIIT_CDE gt lt RIIM_CDE gt B lt RIIM_CDE gt lt RIST_CDE gt 1 lt RIST_CDE gt lt RSST_CDE gt 2 lt RSST_CDE gt lt RIST_CDE_APT gt 1 lt RIST_CDE_APT gt lt RSST_CDE_APT gt 4 lt RSST_CDE_APT gt DTE FRM 2011 05 05T00 00 00 DTE FRM DTE TO 2011 06 01T00 00 00 DTE TO RiskItem RiskNotification lt RiskNotificationImport gt Sanitel EAI Manual v1 39 EAIManual doc 124 Output Schema Interaction Result See definition Interaction Result Schema Field Descriptions M Mandatory O Optional C Condition Conditional depend on value of other field
91. be set with every message call The allowed languages are EN English NL Dutch FR French DE German The interaction result or exception messages are then localized in the specified language Sanitel EAI Manual v1 39 EAIManual doc 161 Interfaces Technical Usage Web Application The online application can be accessed via e https gas sanitel be web QAS_Sanitel Web Pages Common Default aspx In principle you should log in with your user name and then navigate to the Upload XML page Select an XML submit it and save or open the result XML It is a good practice to study the application online behavior before you start using the back end services In fact a lot of the functionality is very similar Please consider the user manuals discussing the online application general working registering accounts updating your profile registering issues etc To retrieve the manuals click on the InfoCentre link in the top right corner of the application header Sanitel EAI Manual v1 39 EAIManual doc 162 Channel 1 upload download via secured web service The web services can be access via https gas sanitel be int QAS Sanitel ExtInterfacinsSvcs v2 SanitelServices asmx This site is secured you need to enter credentials so please contact your partner to obtain a test user and logon This provides the list of both import and export Web Methods as shown underneath Sanitel_SanitelServices Sanitel Serv
92. cation Earmarks PRMOB Personalised Document Prime Earmarks for newborn Calfs PDCB Personalised Document eb Full List available on demand ORIG LOCAL EU NONEU PATP Origination Local Belgium EEC Member State 3rd countr Party Type ASMY Assembly place CLEAN Cleaning company DEALR Cattle dealer DLRFC Cattle dealer with facility FARM Cattle farmer SLGHS Slaughterhouse TRNS Transporter VET Veterinary PERS Natural Person DEST Destruction Company FDTN Federation SERV Services Sanitel EAI Manual v1 39 EAIManual doc 32 CITY Municipality MEAT Meat Dealer AGCY Agency SPVSR Supervisor CTRL Control point OTH Other QUAL Qualified person REGA Regional Authority DRVR Driver PBRS SanitaryUnitPassportBlockingReason UPLC Unpaid License BADCO Bad Cooperation PBST SanitaryUnitPassportBlockingStatus NRM Normal BLCK Blocked PPPR PassportPrintReason RO Reason unknown RI Change of Sanitary Unit R2 Import R3 premium R4 Change Status R5 Qualification R6 Loss R7 replacement schetskaar R8 exclusive number R9 Change of address R10 Change Responsible Party R11 Change of gender birthdate hairtype R12 Damaged R13 Retagging R14 purchase at aquisition R15 First Identification R16 Loss both earmarks Regularization R17 Other Constations R18
93. cation center MLBRZ Mollusc breeding zone IDFCL Research facilities QRTFC Quarantine facilities OTH Other LAGPN Lagoon pen pool PDS Ponds PLS Pools CLSGS Closed ground system SUKD SanitaryUnitKind VCFCY Vealcalf unit BOVCY Bovine unit CLSD Closed unit PGBR Breed unit PGLBR Piglet breed unit MEATC Pigs for fattening unit MXDC Mixed unit PETC Pet pig unit PLTCY Poultry unit BIRCY Bird unit Sanitel EAI Manual v1 39 EAIManual doc 38 TITP SHPCY Sheep unit GTCY Goat unit DRCY Deer unit WPGCY Wild pig unit FISH Fish unit ML GC Mollusc unit CRTSC Crustaceae unit SUTP SanitaryUnitType BOV Bovine SGH Sheep Goats and Horses PIG Pigs RST Roast Game FOWL Fowl RDNT Rodent BFS Bees Frogs and Snails AQUA Fish Aquaculture DFLT Default PPIG Pigs for breeding FPIG Pigs for fattening LPIG Piglet SLPIG Slaughter Pig BGILT Gilt Treatment Item Type 1st Vaccination 2nd Vaccination Last Vaccination Repeated Vaccination Prime Vaccination TRMT Treatment AFTCR Aftercare TMLV Treatment Level GRP Group INV Individual TMTP Treatment Type SCINJ SC injection IDINJ ID injection IMINJ IM injection ININJ IN injection IVINJ IV injection IMMIJ IMM injection IPINJ IP injection ORALW Oral use
94. cenario s as these work with pure XML files rather than Web Services Obviously the XML s are formed according to the schema s defined above TODO as soon as the code operational add a zip file of the above XML examples but with actual examples Sanitel EAI Manual v1 39 EAIManual doc 167 Channel 2 upload download via secured streaming page SlaughterFile and SlaughterInfo XML files to be imported can be streamed to the following secured page https qas sanitel be int QAS_Sanitel_ExtInterfacingSvcs_v2 GenericXMLHandler ashx This site is secured you need to enter credentials so please contact your partner to obtain a test user and logon Channel 3 upload download via unsecured streaming page XML import files can be streamed to the following page https qas sanitel be web QAS Sanitel Web Interfacing GenericXMLHandler ashx The code in scenario 2 can be used Just replace the URL as mentioned above and delete user name and password Sanitel EAI Manual v1 39 EAIManual doc 168 Channel 4 upload download via web page After selecting the menu option Upload XML Or by entering the URL https qas sanitel be web QAS_Sanitel_Web Pages Common UploadXMLPage aspx You get to the manual upload page which is rather straight forward File Edit View Favorites Tools Help au Q Back x e A Search zv Favorites Er Address http localhost 2011 FFA Sanitel Web Pages C
95. curityToken xs string Resultindex s int OnBehalfRole lt s string OnBehalfEntity string UserLanguage xs string al lt gt MovementNotification 1 Bl lt gt NoTF_ID 5 NOTP_CDE c m a NOKD_CDE lt gt NOST_CDE lt gt DTE_FRM lt gt DTE_TO lt gt REF_NBR lt gt DOC_NER lt gt LIC_PLT lt gt ANTP_CDE lt gt ANSB_CDE lt gt PATY_CDE_TRS lt gt FCLT_CDE lt gt zip lt gt ANML REF NER 0 lt gt UPD DTE FRM 4 UPD DTE TO lt gt SNUN CDE http Sanitel EAI SanitelRepository SanitelServices MovementNotificationOverviewExportRequestSchema XML Example s Example EXMNO 1 Retrieve all movements of a certain animal in a certain period Sanitel EAI Manual v1 39 EAIManual doc 66 lt xml version 1 8 encoding utf 8 gt lt MovementNotificationOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices MovementNotificationOverviewExportRequestSchem a User TESTXML SecurityToken N A ResultIndex 0 gt lt MovementNotification gt DTE FRM 2004 01 01T00 00 00 DTE FRM DTE TO 2099 01 01T00 00 00 DTE TO ANML REF NBR NL456453543 ANML REF NBR MovementNotification lt MovementNotificationOverviewExportRequest gt Example EXMNO 2 Retrieve all arrivals of pigs to a certain market on a certain day lt xml version 1 0 encoding utf 8 gt lt MovementNotificationOverviewExportReques
96. curityToken xs string Resultindex xs int OnBehalfRole xs string OnBehalfEntity xs string UserLanguage xs string a lt gt ChangsNotification 2 43 E lt gt Norr ID 0 1 xs long 2 i lt gt NOTP CDE 0 1 string 5 lt gt NOKD_CDE xsistring lt gt NOST_CDE xs string lt gt OCR DTE FRM 0 i xs dateTime lt gt OCR DTE TO 10 11 xs dateTime REF NER 0 1 lt gt ANTP CDE 0 1 lt gt ZIP lt gt NORS_CDE lt gt PATY CDE 1 xs string lt gt FCLT CDE xs string lt gt SNUN_CDE 0 1 xs string lt gt ANML CDE 0 1 xs string lt gt ATRB CDE 0 1 xs string lt gt DTE FRM xs dateTime lt gt DTE TO 0 1 xs dateTime http Sanitel EAI SanitelRepository SanitelServices ChangeNotificationOverviewExportRequestSchema Sanitel EAI Manual v1 39 EAIManual doc 60 XML Example s Example EXCNO 1 Retrieve all effective accepted change notifications on animals bovines which were registered on a certain day lt xml version 1 0 encoding utf 8 gt lt ChangeNotificationOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices ChangeNotificationOverviewExportRequestSchema User TESTXML SecurityToken N A ResultIndex 0 gt lt ChangeNotification gt lt NOTP_CDE gt CHANM lt NOTP_CDE gt lt ANTP_CDE gt BOV lt ANTP_CDE gt lt NOST_CDE gt APT lt NOST_CDE gt OCR DTE FRM 2008 09 25T00 00 00 OCR DTE FRM OCR DTE TO 2008 09 25T23 59 59 OCR DT
97. dated but retains all its animals attached to it Use this scenario to add anew PRUN to the SNUN ABC and No animals will be added to this PRUN Scenario 3 XML is processed that defines a Production Unit YYY only Impact e PRUN XXX deleted from SNUN ABC and all animals detached from PRUN XXX e PRUNYYY added and all animals attached to new PRUN YYY Explicitly specified XML import Per Animal After processing this XML only the Production Unit Notification is created at animal level This will have no impact on the animals of the Production Unit which is not available in the Xml Animals can be coupled or decoupled from production unit using this XML e g in the example underneath Production Unit Notification will be created for Animals BE192141446 and for BE657721947 the Production Unit will be coupled or decoupled as below lt xml version 1 0 encoding utf 8 gt lt ProductionUnitNotificationImport xmlns http Sanitel EAI SanitelRepository SanitelServices ProductionUnitNotificationImportSchema User TESTXML SecurityToken N A gt lt ProductionUnitNotification gt lt NOTP_CDE gt ANML lt NOTP_CDE gt lt OCR_DTE gt 2011 01 30T17 46 29 lt OCR_DTE gt lt REF_NBR gt 10179333 lt REF_NBR gt SNUN CDE BE90012647 0101 SNUN CDE lt ANIMALPRODUCTIONUNIT gt lt ANML_REF_NBR gt BE192141446 lt ANML_REF_NBR gt ANML PRUN REF NBR 9202020588 ANML PRUN REF NBR lt ANIMALPRODUCTIONUNIT gt lt ANIMALPRODUCTIONUNIT gt
98. doing it see items in italic E g an animal cannot have its earmark changed yet ANRT attributes suggest this possibility The goal is to make this mechanism of attribute changes more or less configurable and hence extensible An initial list of possible attribute codes is given in the table underneath Obviously depending on the context these attributes can trigger changes on animals sanitary units parties or facilities Some attributes reappear in multiple categories this has more to do with the display on the screens Currently a change notification should only update attributes in one category Category Name Attribute Code Attribute Description ANMC Animal Characteristics BTH_DTE Birth Date HRTP_CDE Hairtype Code GNDR_CDE Gender Code ANRT_CDE Animal Race Type Sanitel EAI Manual v1 39 EAIManual doc 101 CDE_MHR Mother Code ANSB_CDE Animal Sub Type PRUN_CDE Production Unit Code ANMB Animal Birth ANCP CDE Conception DTH DTE Animal Death Date CDE MHR GTC Genetic Mother Code ANRT Animal Identification MACT_CDE Marking Country Code MRK NBR Marking Number TUST 2108 Tracking Unit Status Code BOV NBR Bovine Number ADNA Animal DNA DNA ANA FLG Animal D n a Analysis Flag DNAQ_CDE D n a Quality Code AMQL_CDE_BAG Animal Meat Quality AVRV Animal VRV ADSP_CDE Delivery ABFY_CDE Beefability BTH_WGH Birth Weight ASRV_CDE Survival VRV_IDN_CRD_FLG Identification Card VRV ANVS_CDE VRV Specifics AN
99. e veterinary practice data CHPTY DEPOT Change depot address CHPTY PRSCR Change prescription address CHPTY LEGAL Change legal contact data CHPTY DRE Draft CAN2 Cancelled ENT Entered APTPS Accepted Pending Synchronisation REJPS Rejected Pending Synchronisation REJ APT Accepted Rejected IVLD Invalid NEW New SUBM Submitted SPLTN SPLTW Split Awaiting Split SUBMF Submitted Fed IVLPS Invalid Pending Synchronisation ENTPS Entered Pending Synchronisation OBS ALL ARBTH Obsolete All except split NOTP NotificationType Birth ARIMO Import MMEPO Export MMDPR Departure MMLOD MMARV Arrival Load MMUNL Unload MMIMO Import movement MMDPS Departure Slghs MMTRS MMDPD Transport Departure Disposal MMDST Arrival Disposal MMSLG Arrival Slghs CHANM ChangeAnimal CHSNU Sanitel EAI Manual v1 39 ChangeSanitaryUnit BSE BSE Inspection ISP NOST NotificationStatus EAIManual doc 30 CHFCY ChangeFacility CHPTY ChangeParty NOTC Notice PTMMT All Movements PTCHG All Change Notifications PTARG All Animal Registrations PTUNS Other Notifications RETAG Retagging PRNT Passport Reprint TMT Treatment RGPOP Population count RISK Risk CLEAN Cleaning
100. eases Sympto Poultry Only text 250 char ms FOD_SUR_NAM string Food Supplier C NFTT_CDE ADD Any Alphanumeric Name Poultry Only text 50 char Sanitel EAI Manual v1 39 EAIManual doc 142 Interface IMORD ImportOrder Direction Import Purpose Submit orders for all existing order items Layout Documentation https gas sanitel be in QAS_Sanitel_ExtInterfacingSvcs_v2 SanitelServices asmx op ImportOrder Layout Details e Input field RETURN ALL ANOMALIES Depending on the input RETURN_ALL_ANOMALIES the anomalies are returned in the response e Functionality When the input for RETURN_ALL_ANOMALIES is Y all the anomalies are returned in the response irrespective of BR1 BR3 and BRS and the notification is not registered When RETURN ALL ANOMALIES is N only the BRI are returned in response and other BR errors are ignored The response of the XML will be a success if there are no severity BR1 errors Input Schema Orderlmport Sanitel EAI Manual v1 39 EAIManual doc 143 http Sanitel EAI SanitelRepository SanitelServices OrderImportSchema Sanitel EAI Manual v1 39 EAIManual doc 144 XML Example s Simple order on Facility lt xml version 1 8 encoding utf 8 gt lt OrderImport xmlns http Sanitel EAI SanitelRepository SanitelServices OrderImportSchema User TESTXML SecurityToken N A gt lt Order gt lt OrderFacility gt lt SNUN_CDE gt BE1011694
101. epository SanitelServices AnimalOverviewExportRequestSchema XML Example s Example EXANO 1 Retrieve all bovines in a certain Sanitary Unit lt xml version 1 0 encoding utf 8 gt lt AnimalOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices AnimalOverviewExportRequestSchema User TESTXML SecurityToken N A ResultIndex gt lt Animal gt lt ANTP_CDE gt BOV lt ANTP_CDE gt lt SNUN_CDE gt BE12345678 0101 lt SNUN_CDE gt lt Animal gt lt AnimalOverviewExportRequest gt Example EXANO 2 Retrieve all bovines that have been updated changed today Sanitel EAI Manual v1 39 EAIManual doc 50 lt xml version 1 8 encoding utf 8 gt lt AnimalOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices AnimalOverviewExportRequestSchema User TESTXML SecurityToken N A ResultIndex 0 gt lt Animal gt lt ANTP_CDE gt BOV lt ANTP_CDE gt UPD DTE FRM 2007 11 15T00 00 00 UPD DTE FRM UPD DTE TO 2007 11 15T23 59 59 UPD DTE TO Animal lt AnimalOverviewExportRequest gt A query like this one can take some time as we have choosen for now not to put an index on it yet in addition because of the migration all animals last update date will be the day of the migration If this query is to be used structurally and regularly let us know Output Schema AnimalOverviewExport http Sanitel EAT SanitelRepository Sanite
102. erfacingSvcs v2 SanitelServices asmx op ImportPopulationNotification Input Schema PopulationNotificationImport ii PopulationNotificatio nl mport jpg http Sanitel EAI SanitelRepository SanitelServices PopulationNotificationImportSchema XML Example s Example for sheep goat deer xml version 1 8 encoding utf 8 gt lt PopulationNotificationImport xmlns http Sanitel EAI SanitelRepository SanitelServices PopulationNotificationImportSchema User TESTXML SecurityToken N A gt lt PopulationNotification gt lt NOKD_CDE gt C1512 lt NOKD_CDE gt OCR DTE 2012 06 04T00 00 00 OCR DTE RCV DTE 2012 06 08T15 49 51 RCV DTE REF NBR 1375585 REF NBR lt ANTP_CDE gt SHP lt ANTP_CDE gt lt FCLT_CDE gt BE90085636 lt FCLT_CDE gt lt SNUN_CDE gt BE90085636 0501 lt SNUN_CDE gt lt Party gt lt NPTP_CDE gt RSP lt NPTP_CDE gt lt CDE gt ARSIA lt CDE gt lt Party gt lt Party gt lt NPTP_CDE gt HND lt NPTP_CDE gt lt CDE gt BE900155214 lt CDE gt lt Party gt lt PopulationCount gt lt ANSB_CDE gt SHP lt ANSB_CDE gt lt POP_CNT gt 2 lt POP_CNT gt lt ACCA_CDE gt OTH lt ACCA_CDE gt lt PopulationCount gt lt PopulationCount gt lt ANSB_CDE gt SHP lt ANSB_CDE gt lt POP_CNT gt 1 lt POP_CNT gt lt ACCA_CDE gt FEM6 lt ACCA_CDE gt lt PopulationCount gt lt PopulationNotification gt lt PopulationNotificationImport gt Sanitel EAI Manual v1 39 EAlM
103. ervations gt lt SLLO_REF_NBR gt 9026 1101314 lt SLLO_REF_NBR gt lt WorkingReference gt work ref paul lt WorkingReference gt lt Observation gt Post Mortem Decision lt Observation gt Sanitel EAI Manual v1 39 EAIManual doc 159 lt ObservationCategory gt Partial rejection lt ObservationCategory gt lt UserID gt brje lt UserID gt lt Date gt 2015 02 26T11 19 41 lt Date gt lt ReasonOfRejectionSpecified gt false lt ReasonOfRejectionSpecified gt lt Organ gt Faux filet lt Organ gt lt AnimalCount gt 1 lt AnimalCount gt lt OrganCount gt 1 lt OrganCount gt lt Weight gt 3500 lt Weight gt lt SlaughterLotObservations gt lt SlaughterLotObservations xmlns http Sanitel EAI SanitelRepository SanitelServices SlaughterLotObservations gt lt SLLO_REF_NBR gt 9026 1101314 lt SLLO_REF_NBR gt lt WorkingReference gt work ref paul lt WorkingReference gt lt Observation gt Ante Mortem Decision lt Observation gt lt ObservationCategory gt Slaughter Permission lt ObservationCategory gt lt UserID gt brje lt UserID gt Date 2015 02 26T11 18 06 Date ReasonOfRejectionSpecified false ReasonOfRejectionSpecified AnimalCount 1 AnimalCount SlaughterLotObservations SlaughterLotObservations Output Schema SlaughterLotObservations The output schema for Export SlaughterLotObservations is as below SlaughterLotObservations amp a lt gt SlaughterLotOb
104. ervices AnimalBasicDataExportRequestSchema User user1 SecurityToken N A gt lt Animal gt lt ANML_CDE gt BE25996391 lt ANML_CDE gt lt Animal gt lt AnimalBasicDataExportRequest gt Response lt xml version 1 0 gt lt AnimalExport xmlns xsi http www w3 0rg 2001 XMLSchema instance xmlns xsd http www w3 0rg 2001 XMLSchema ReturnCode 0 ReturnMessage XML OK xmlns http Sanitel EAI SanitelRepository SanitelServices AnimalExportSchema gt lt Animal gt lt ANTP_CDE gt BOV lt ANTP_CDE gt lt CDE gt BE 3 25996391 lt CDE gt lt MACT_CDE gt BE lt MACT_CDE gt lt MRK_CDG gt 3 lt MRK_CDG gt lt MRK_NBR gt 25996391 lt MRK_NBR gt Sanitel EAI Manual v1 39 EAIManual doc 52 lt CDE_MHR gt BE 5 25670945 lt CDE_MHR gt lt BLST_CDE gt N lt BLST_CDE gt lt ANSB_CDE gt BOV lt ANSB_CDE gt lt ANRT_CDE gt MEAT lt ANRT_CDE gt lt GNDR_CDE gt FEM lt GNDR_CDE gt lt HRTP_CDE gt W lt HRTP_CDE gt lt BTH_DTE gt 2006 05 20T00 00 00 lt BTH_DTE gt PUR DTE 2007 02 21T00 00 00 PUR DTE DTH DTE 2009 01 12T00 00 00 DTH DTE VGN FLG true VGN FLG PPT VRS NBR 4 PPT VRS NBR lt PPPR_CDE gt R1 lt PPPR_CDE gt lt ANPP_PNT_DTE gt 2007 02 24T00 00 00 lt ANPP_PNT_DTE gt lt VRV_IDN_CRD_FLG gt false lt VRV_IDN_CRD_FLG gt LST UPD DTE 2014 08 06T11 51 41 LST UPD DTE TUST CDE DDSLH TUST CDE DPR DTE 2009 01 12T00 00 00 DPR DTE BVD CERT CDE N BVD
105. es ADPR_CDE string Animal Departure C VRV_IDN_CRD_FLG true See Valid codes Reason All animal Types VRV_IDN_CRD_FLG Boolean VRV 0 True or False Identification card All animal Types CMN string Comment O Any Alphanumeric All animal Types text 250 char DTH_FLG Boolean Death 0 True or False All animal Types except Poultry DIS_FLG Boolean Disease 0 True or False All animal Types except Poultry DTH_CMT string Death Origin C DTH_FLG true Any Alphanumeric All animal Types except Poultry text 250 char DIS_CMT string Disease Origin C DIS_FLG true Any Alphanumeric All animal Types except Poultry text 250 char ISP_FLG Boolean Inspection 0 True or False All animal types except PIG as it is set by default to true for Pigs SLRN_CDE string Slaughter Reason O See Valid codes Sheep Goat Deer only CAG_NBR string Cage Number O Any Alphanumeric Poultry Only text 30 char LOT_NBR string Unique Lot O Any Alphanumeric Number Poultry Only text 30 char CRF_FLG boolean Valid belplume 0 True or False certificate Poultry Only DTH_RTE integer Total of Death O Any number between Poultry Only 0 and 100 SEU_DTE dateTime Set Up Date O Any valid Date All Animal Types ANM_CNT_SLG number Animal set up 0 Any numeric value Count Poultry Only NRV_FLG Boolean Nervous 0 True or False Symptoms Bovine Only NRV_CMT string Nervous C NRV_FLG true Any Alphanumeric Symptoms Origin Bovine Only text 250 char RSK_SNU_FLG string Risk Sanitary Unit O Sanitel EAI Manua
106. g lt gt REF_NBR xs string EXT_REF_NBR 10 1 xs string lt gt UPD DTE 0 1 xs dateTime lt gt ALL 01 xs string lt gt AL2 1 xs string lt gt STR s string lt gt NBR xs string lt gt BOX xs string lt gt ZIP 0 1 xs string lt gt CTY 10 1 xsistring lt gt MCP xs string lt gt CTRY_CDE xs string lt gt LNGE_CDE xs string lt gt VEOR CDE 0 1 xs string lt gt ORD_NBR 10 1 xs string lt gt EMA xs string lt gt TPH xsistring lt gt GSM 10 1 xs string lt gt FAX xs string lt gt RLM_RGS_NBR 10 1 xs string lt gt VAT_NBR xs string lt gt BNK_NBR 1 xsistring http Sanitel EAI SanitelRepository SanitelServices LiablePartyOverviewExportSchema Interface EXPUO ExportProductionUnitOverview Direction Export Purpose Retrieve a general overview of which exploitation units are used at which facilities sanitary units Sanitel EAI Manual v1 39 EAIManual doc 75 Layout Documentation https gas sanitel be in QAS_Sanitel_ExtInterfacingSvcs_v2 SanitelServices asmx op ExportProductionUnitOverview Input Schema ProductionUnitOverviewExportRequest lt gt ProductionUnitOverviewExportRequest A K User xe string SecurityToken xs string Resultindex xs int OnBehalfRole xs string OnBehalfEntity xs string UserLanguage xs string E lt gt Productionunit 1 E Q2 D I lt gt REF NER 0 1 xs string E lt gt PRC_REF_NBR 0 1 xsistring d lt gt PUTP
107. ge lt xml version 1 0 encoding utf 8 gt lt FacilityOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices FacilityOverviewExportRequestSchema User TESTXML SecurityToken N A ResultIndex 0 gt lt Facility gt lt FATP_CDE gt FARM lt FATP_CDE gt lt ANTP_CDE gt SHP lt ANTP_CDE gt lt ZIP gt 8000 lt ZIP gt lt Facility gt lt FacilityOverviewExportRequest gt Example EXFAO 2 Retrieve all facilities that were updated this month lt xml version 1 0 encoding utf 8 gt lt FacilityOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices FacilityOverviewExportRequestSchema User TESTXML SecurityToken N A ResultIndex 0 gt lt Facility gt UPD DTE FRM 2011 09 01T00 00 00 UPD DTE FRM lt UPD DTE TO 2011 09 30T23 59 59 UPD DTE TO Facility lt FacilityOverviewExportRequest gt Sanitel EAI Manual v1 39 EAIManual doc 64 Output Schema FacilityOverviewExport lt gt FacilityOverviewExport a A Ka User xs string SecurityToken xs string ReturnCode xs string ReturnMessage xs string E lt gt Facility 10 x sm gt 2 2 lt gt FATP CDE 0 1 8 lt gt coe 0 1 5 a lt gt NAM 0 1 lt gt REF_NBR 0 1 lt gt EXT REF NER 0 1 lt gt ALL 0 1 lt gt AL2 0 1 lt gt STR 0 1 lt gt NBR 0 1 lt gt BOX 0 1 lt gt ZIP 0 1 lt gt CTY 0 1 lt
108. gingNotificationOverview nn 91 Interface EXWMA ExportWaterManureAllocation nennen 93 Interface IMAN ImportAnimalNotification ss 95 Interface IMCHN ImportChangeNotification nennen nre 100 Interface IMCMQ ImportChangeAntmalMeatQuality eese 103 Interface IMCPQ ImportChangeProductionQuality ss 105 Interface IMINN ImportInventoryNotification i 106 Sanitel EAI Manual v1 39 EAlManual doc 6 Interface IMMVN ImportMovementNotification oneven eene eeeneeenveenne 109 Interface IMPPN ImportPopulationNotification nme 116 Interface IMPUN ImportProductionUnitNotification i 118 Interface IMRTN ImportRetaggingNotification nenn 122 Interface IMRSN ImportRiskNotification nenn 124 Interface IMTMN ImportTreatmentNotification nenne 126 Interface IMPMS ImportMarkingSerieS iii ie 128 Interface IMPST ImportStatusUpdateNotification i 130 Interface IMPSP ImportAnimalPasspott iii 132 Interface IMFCI ImportFoodChainNotification nenne 134 Interface IMORD ImportOrder geesde 143 Interface ImportSlaushterFile 4 ore un Rn ln 147 Interface Imports uPhter ITO aus en pria ceto dle cu toe ae A ed ia 152 Interface ImportSla
109. go wrong What other messages are there A I agree the error messages are not always optimal and unfortunately I do not have an exhaustive list of all possible errors you can make when doing trial and error XML filling but it is a point where we try to improve continuously The most visible error checking is on the possible code value schema s and mandatory fields but excessive field lengths or duplicate keys can result in less user friendly messages On the other hand this is not an online application but a data interchange protocol with trusted party applications so we do can assume some basic validation at the input side 12 Q Is there a manual of the online application Where can I get them A There are three manuals The EAI Manual this one in English only a getting started manual with general application navigation tips In Dutch and French and a functional manual for the Slaughtering functionality Also in Dutch and French In total these manuals add up to over 10 MB so they cannot be easily send around The manuals are distributed during the training and FAVV AFSCA has made them available via the web site too You can find all manuals by clicking the info centre link on the top right side of the application screens 13 Q What integration scenario is preferred A As described above both scenario s land 2 Web Service and Secured Streaming are the preferred ones The Web Service has one additional advantage a
110. h contains a more detailed description for the interfaces For each interface we list it s direction it s short description it s input and output schemas etc Guidelines The following figure having the symbols description Schema Set Details 3 Schema Documents gt Global Elements Global Attributes Global Complex Types Global Simple Types lt gt Global Model Group Global Attribute Groups lt gt Likely Root Elements For the mandatory and optional fields 0 1 optional or occurred once only 0 optional or occurred Many 1 mandatory occurred one or more Note The definitions for multi scenarios indicates the mandatory field and the optional on the Business level so make sure that read the various sample on the same Method Sanitel EAI Manual v1 39 EAIManual doc 42 Interaction Result only for import actions Purpose Schema to give feedback regarding an import of information Schema InteractionResult is gt StatusCode tns Status D H lt gt Summary xs string C A Reference xsistring lt gt Details tns ArrayOfMessageEntry E lt gt MessageEntry tns MessageEntry puo gt D d 5 amp Ml lt gt Code xs int SR zig 2 13 p B lt gt Description xs string 5 g a lt gt Reference xs string http Sanitel EAI SanitelRepository InteractionResult On success you receive an interaction result like shown underneath Important is the Sta
111. he coding schema ANTP Animal Type E g FCLT CDE refers to the code id main reference number of a Facility o Rest 3 2 character abbreviations o No indication of the type string number except for dates _DTE or Booleans _FLG o Fields as short as possible without jeopardizing readability Coding Schema s optimized for maximal stability o Coding schema s are NOT included in the schema new codes could be added without change in the interface o Minimal validation rules in the schema no input length definitions no mandatory fields gt All business logic on the Server o Only standard data types string decimal decimal point datetime DateTime YY YY MM DDTHH MM SS FFF UCT Examples 2007 03 01 2007 03 01T10 04 12 A Null date time can be represented as 0001 01 01T00 00 00 Best practices o Cardinality and structure complexity Oto limited rather than minimal 1 and maximal 3 Minimal Depth and Redundancy Similar information requirements Similar field names o Import Interfaces Multiple input records possible Standardized interaction result o Export Interfaces Request Single Line Search Criteria gt but all criteria freely combinable Result list result o Standardized Header Info All Headers Sanitel EAI Manual v1 39 EAIManual doc 12 e Username name of the user on whose behalf the import is made this user needs to have the adequate permissions as if he would regis
112. ices Modern The following operations are supported For a formal definition please review the Service Description development environment e ExportAgreementOverview S such as e ExportAnimal Net or Java can e ExportAnimalBasicData reference the e ExportAnimalMovementNotificationOverview asmx file and generate e ExportAnimalOverview WebService e ExportChangeNotificationOverview stubs in your e ExportFacilityOverview development e ExportLiablePartyOverview environment After that e ExportMarkingSeriesOverview you can code using direct access of the XML structures Publishing web services as an asmx has some additional advantages First it is very convenient to get insight in to the XML input and output structure and get a basis to start from Just click on a method e g Export Animal Overview Sanitel EAI Manual v1 39 EAIManual doc 163 HTTP 1 1 200 OK Content Type text xml charset utf 8 Content Length length lt xml version 1 0 encoding utf 8 lt soap Envelope xmlns xsi http www w3 0rg 2001 XMLSchema instance xmlns xsd http www w3 org lt soap Body gt lt ExportAnimalRe tory SanitelServices ExportAnimal er SES M et h od U se C a se ode string ReturnMessage string lt ANIP CDE gt string lt ANIP CDE gt lt CDE gt string lt CDE gt lt MACT CDE gt string lt MACT CDE gt lt MRK CDG gt string lt MRK CDG gt MRK NBR stringc MRK NBR lt
113. ility gt lt NFTP_CDE gt DST lt NFTP_CDE gt lt CDE gt BE83313736 lt CDE gt lt Facility gt lt Animal gt lt REF_NBR gt BE56900732 lt REF_NBR gt lt PPT_VRS_NBR gt 2 lt PPT_VRS_NBR gt lt Animal gt lt MovementNotification gt lt MovementNotificationImport gt Sanitel EAI Manual v1 39 EAlManual doc 113 Arrival at Rendac Simple lt xml version 1 0 gt lt MovementNotificationImport xmlns xsi http www w3 0rg 2001 XMLSchema instance xmlns xsd http www w3 0rg 2001 XMLSchema User TESTXML xmlns http Sanitel EAI SanitelRepository SanitelServices MovementNotificationImportSchema gt lt MovementNotification gt lt NOTP_CDE gt MMDPT lt NOTP_CDE gt OCR DTE 2000 01 15T00 00 00 OCR DTE ANTP CDE BOV ANTP CDE ANSB CDE BOV ANSB CDE ANDT CDE C36 ANDT CDE ANM CNT 1 ANM CNT ANCO CDE DEAD ANCO CDE Facility NFTP CDE DST NFTP CDE CDE BE03313736 CDE Facility Animal REF NBR BE118892877 REF NBR Animal MovementNotification MovementNotificationImport Registering an Export Movement xml version 1 8 encoding utf 8 gt lt MovementNotificationImport xmlns http Sanitel EAI SanitelRepository SanitelServices MovementNotificationImportSchema User TESTXML SecurityToken N A gt lt MovementNotification gt lt NOTP_CDE gt MMEPO lt NOTP_CDE gt lt OCR_DTE gt 2011 11 05T13 19 2
114. iple facilities but a facility only has one liable party 6 Q Can we register now multiple transporters via the XML A Yes you can just an extra Party Tage with SLPT CDE code TRS 7 Q Can we now register dead animals via the XML A Yes you can See example 2 Sanitel EAI Manual v1 39 EAIManual doc 176 8 Q Can we put local animals and foreign animals in one SlaughterFile A No you can not The origin code ORIG_CDE has to be filled in on SlaughterFile level and indicates if the animals come from abroad or local So you need to split the declaration 9 Q get PATY CDE mandatory FCLT CDE mandatory messages What do they mean A 1 agree the error messages are not always optimal but it typically refers to not specified or incorrectly specified parties Submittor Owner Transporter or facilities Please check whether your specified codes are filled in and are in the correct format BE12345678 10 Q What s the difference between SAV Saving and SUBM Submitting a declaration A As soon as you SUBMit a declaration it is the signal that the inspections can take place and it cannot be altered anymore When SA Ving a declaration you can do an update later e g if you want to change weight categories or so However a manual or XML SUBM it is needed to progress the workflow 11 Q I just use trial and error and sometimes the messages are somewhat hard to understand Is there a possible overview of all that can
115. item e g 1 2 Treatment Notification Group level Type of treatment e g Oral Inoculation BlockingReason TrackingUnitStatus Uni VLMAnimalType Veterinary Organization WeightCategory Main Entity Overview The following 4 letter codes refer to a main entity You have to know their key before you can access them ANML Animal ANPP AnimalPassport ATRB AnimalSanitaryUnitHistory FALO FacilityLocation FCLT Facility MACT MarkingCountryCode MEDC Medicine NORI NotificationRiskDetail Sanitel EAI Manual v1 39 EAIManual doc 16 PATY Party PRUN ProductionUnit RIIM Riskltem SNUN SanitaryUnit TRGR TrackingGroup VIST Visit ORIM Order ltems e g Retagging Earmarks Sanitel EAI Manual v1 39 EAIManual doc 17 Abbreviations The following abbreviations have been used ID TO AL1 AL2 ALT ANA ANM ASG BAG BLO BNK BOX BRO BTH CAG CDE CDG CMN CNT CRD CRF CTY DES DLV DNA DOC DST DTE DTH EMA END EPO EXT FAX FEM FLG FRM FRT Identification AgreementComment Adress Line 1 Adress Line 2 Alternate Analyst Animal Assigned Bag Block Bank Box Brood Birth Cage Code Check Digit Comment Count Card Certificate City Description Delivery D N A Document Destination Date Death Email End Export Extension Fax Female Flag From First Sanitel EAI Manual v1 39 MCP MHR MLK MRK NAM NB
116. ityOverview reference numbers liable party details FacilityOverviewExportRequest FacilityOverviewExport Retrieve a detailed insight in a movement involved parties ExportMovementNotification involved facilities involved animals MovementNotificationExportRequest MovementNotificationExport Retrieve an overview of movements of a certain animal ExportMovementNotificationOverview from to a certain facility MovementNotificationOverviewExportRequest MovementNotificationOverviewExport Retrieve a general overview of Parties Name Address ExportPartyOverview Reference Numbers Contact Data PartyOverviewExportRequest PartyOverviewExport Retrieve a general overview of which exploitation units are ExportProductionUnitOverview used at which facilities sanitary units ProductionUnitOverviewExportRequest ProductionUnitOverviewExport etrieve detailed info about a sanitary unit Location Address Sanitary Characteristics Involved Parties Production Unit Info Marking Inventory Capacity Population Inventory Risk Information History IEXSU ExportSanitaryUnit Information SanitaryUnitExportRequest Retrieve a general overview of sanitary units and their key IEXSUO ExportSanitaryUnitOverview characteristics SanitaryUnitOverviewExportRequest SanitaryUnitOverviewExport IEXSLO ExportSlaughteringOverview Retrieve summary statistics of slaughtered animals SlaughteringOverviewExportRequest SlaughteringOverviewExport CH
117. l v1 39 EAIManual doc 140 Pig Only medicine Medicine Type Administration for Pig Only CMPC_CTRY_CDE_BAG string Pig 3rd Country 0 See Valid codes Compliancy Pig Only INFL_TMT_FLG Boolean Anti inflammation M for PIG True or False medicine Medicine Type Administration for Pig Only ANTIB_TMT_FLG Boolean Antibiotics M for PIG True or False Medicine Type Administration for Pig Only ANTI_TMT_FLG Boolean Anti parasites M for PIG True or False Party Field Type Description Allowed Values NPTP_CDE string Notification party M if Party tag is defined in xml See Valid codes type All Animal Types CDE string Party Code M if Party tag is defined in xml Existing Party Code All Animal Types Facility Field Type Description Allowed Values NFTP_CDE string Notification M if facility tag is defined in xml See Valid codes Facility Type All Animal Types CDE string Facility Code M if facility tag is defined in xml Existing Facility All Animal Types Code SNUN_CDE string Origin Sanitary M for source facility only for Existing Sanitary Number Unit Code animals that require a sanitary unit Unit Code All Animal Types Animal Should only be used if animal type is Bovine Field Type Description Allowed Values REF_NBR string Animal Reference M for Bovines Origin Code is Local Existing Animal Code Origin Code is not Local Any valid animal number Treatment Type
118. l Allocation Type SYS System created animal allocation System created overruling animal allocation Beefiness 0 Milkcalf 1 Low Beefiness 2 Normal Beefiness 3 Robust Beefiness 4 Double muscled Animal Departure Reason Ouderdom Age Overtollig Surnum raire Afgemest Slachtrijp Fini pret abattre Been Klauwaandoening Affection d un membre ou de l onglon Voedingsstoornissen Trouble alimentaire Problemen rond het afkalven Probl me de v lage Hoog celgetal Mastitis D G Z Vruchtbaarheid Fertilit Overige gezondheid Autre probl me sanitaire Lage productie Faible production Melkbaarheid En lactation Slecht exterieur Mauvais ext rieur Gedrag Comportement AnimalDeliverySpecifics Easily Normal Difficult Caesarean Sawed Off Other Aid AgeCategory LT18 Younger than 18 months SHP GOAT DEER Sanitel EAI Manual v1 39 EAIManual doc 20 GE18 18 Months or Older SHP GOAT DEER LT6 Younger than 6 months BOV B612 Between 6 and 12 Months BOV B1224 Between 12 and 24 Months BOV GE24 24 Months or Older BOV Agreement Status Active Stopped Suspended Draft Cancelled Invalid Rejected Active And Awaiting Printing Approval Requested Agreement Party Type Surveillance Veterinary Backup Surveillance Veterinary Guidance Veterinary Backup Guidance Veterinary
119. lServices AnimalOverviewExportSchema Double Click to enlarge the diagram KE 2 jpg Interface EXANB ExportAnimalBasicData The ExportAnimalBasicData Interface will be used to retrieve the basic details of the animal from ANIMAL table The existing schema ExportAnimalOverview will be used to construct the Direction Export Purpose Retrieve an overview of animals from animal table Sanitel EAI Manual v1 39 EAIManual doc 51 AnimalOverviewExportRequest A User xs string SecurityToken xs string e Resultindex xstint OnBehalfRole xs string OnBehalfEntity xsistring UserLanguage xsistring is lt gt Animal 8 E lt gt CDE 0 1 xs string d 8 lt gt ANTP_CDE 0 xsistring d lt gt PRUN_REF_NBR 0 xs string lt gt FCLT_CDE xs string lt gt SNUN CDE 0 1 xsistring lt gt UPD DTE FRM xs dateTime lt gt UPD_DTE_TO xs dateTime lt gt TRGR CDE 0 xs string lt gt CDE MHR 0 1 xs string Layout Documentation https qas sanitel be int qas Sanitel ExtInterfacingSvcs v2 SanitelServices asmx op ExportAnimalBasicData Input Schema AnimalOverviewExportRequest http Sanitel EAI SanitelRepository SanitelServices AnimalOverviewExportRequestSchema XML Example s Example EXANB 1 Retrieve all bovines in a certain Sanitary Unit Request lt xml version 1 0 encoding utf 8 gt lt AnimalBasicDataExportRequest xmlns http Sanitel EAI SanitelRepository SanitelS
120. least once in the URL For production all of the above will remain the same except that the characters qas or QAS are to be replaced by prd or PRD Le http prd sanitel be int PRD_Sanitel_ExtInterfacingSves_v2 GenericXMLHandler ashx or for Luxembourg http prd sanitel Ju int PRD_Sanitel_ExtInterfacingSvcs_v2 GenericX MLHandler ashx Sanitel EAI Manual v1 39 EAIManual doc 171 Web Service Security The Web Services are until now only secured using the XML web services user account and password And this account is shared by all XML users Furthermore we do not intend to introduce https for the web services both for performance reasons and stability reasons Especially in web services high frequent https connectivity can cause problems Additionally we do not expect people to strongly authenticate them using X509 certificates as this is probably overkill for this application All XML users have to specify their User account in the message This account is used for treating the XML this sharing of the same connection is on itself not a problem This user account is linked to the Party and Facility for whom the XML requests are being done e g an arrival achange notification and security and business rules are validated against this user account Read The XML is processed against the rights of this user In addition this user account is also used in the audit trail Now the attentive reader has detected two possible sec
121. lt gt NAM xs string lt gt REF_NBR xs string lt gt EXT REF NER 0 1 xs string lt gt STR xs string lt gt ZIP 0 1 xs string lt gt CTRY_CDE xs string lt gt VAT NER 0 1 xs string lt gt TPH xs string lt gt RLM_RGS_NBR 0 1 xs string lt gt UPD_DTE_FRM xs dateTime lt gt UPD DTE TO 0 1 xs dateTime lt gt PATY PAST CDE xs string http Sanitel EAT SanitelRepository SanitelServices PartyOverviewExportRequestSchema XML Example s Example EXPAO 1 Retrieve transporter Wuyts or Wuits or whatever WU lt xml version 1 8 encoding utf 8 gt Sanitel EAI Manual v1 39 EAIManual doc 71 lt PartyOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices PartyOverviewExportRequestSchema User TESTXML SecurityToken N A ResultIndex 0 gt lt Party gt lt PATP_CDE gt TRNS lt PATP_CDE gt lt NAM gt WU lt NAM Party lt PartyOverviewExportRequest gt Example EXPAO 2 Retrieve all Slaughterhouses lt xml version 1 8 encoding utf 8 gt lt PartyOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices PartyOverviewExportRequestSchema User TESTXML SecurityToken N A ResultIndex 0 gt lt Party gt lt PATP_CDE gt SLGHS lt PATP_CDE gt lt Party gt lt PartyOverviewExportRequest gt Output Schema PartyOverviewExport http Sanitel EAl SanitelRepository SanitelServices
122. lt NFTP_CDE gt DST lt NFTP_CDE gt lt CDE gt BE52700564 lt CDE gt lt Facility gt lt Inspection gt lt NAM gt Salmonella lt NAM gt lt RSLT gt REP 78787 lt RSLT gt lt DTE gt 2010 07 12T00 00 00 02 00 lt DTE gt lt Inspection gt lt Treatment gt lt NFTT_CDE gt ADD lt NFTT_CDE gt MEDC ID 111902 MEDC ID TMT DTE FRM 2010 07 12T00 00 00402 00 TMT DTE FRM Sanitel EAI Manual v1 39 EAIManual doc 137 lt TMT_DTE_T0 gt 2010 07 20T00 00 00 92 00 lt TMT_DTE_TO gt lt WAI_PER gt 3 lt WAI_PER gt lt FOD_SUR_NAM gt Food Supplier Name here lt FOD_SUR_NAM gt lt RAW_MAT_SUR_NAM gt Raw material supplier here RAW MAT SUR NAM Treatment Treatment lt NFTT_CDE gt MED lt NFTT_CDE gt lt MEDC_ID gt MED10432 lt MEDC_ID gt lt TMT_DTE_FRM gt 2010 07 12T00 00 00 02 00 lt TMT_DTE_FRM gt lt TMT_DTE_T0O gt 2010 07 20T00 00 00 92 00 lt TMT_DTE_TO gt lt WAI_PER gt 3 lt WAI_PER gt lt ANM_DIS gt Disease Symptoms description lt ANM DIS gt lt ANM_AGE gt 10 lt ANM_AGE gt lt Treatment gt lt Treatment gt lt NFTT_CDE gt VACC lt NFTT_CDE gt lt MEDC_ID gt MED10432 lt MEDC_ID gt lt ANM_AGE gt 10 lt ANM_AGE gt lt Treatment gt lt FoodChainNotification gt lt FoodChainNotificationImport gt Import Food Chain Notification for Sheep Goat Deer lt xml version 1 8 encoding UTF 8 gt lt FoodChainNotificationImport User TESTXML xmlns http Sanitel
123. minate status Slaughtering Type Commercial Slaughter Private Slaughter Slaughtering Kind Classic Forced Slaughter Ordered Forced Slaughter Islamic Ritual Slaughter Islamic Ritual Ordered Slaughter Jewish Ritual Slaughter Jewish Ritual Ordered Slaughter Ordered Slaughter Dead Delivered Breeded Game Animals Slaughter Hunted Game Animals Slaughter SlaughteringStatusAction SlaughteringPartyType Submitter Transporter SanitaryUnitPartyType RSP Sanitary responsible FIN Financial responsible CSPSR Controlling supervisor FDRSP FundsResponsible Sanitel EAI Manual v1 39 EAIManual doc 37 PRMA Premium Authority ENVA Environmental Authorit SUHS Sanitary Unit Housing IND Individual housing GRP Group Housing NAT Nature and landscape management CAGE Enriched cage BTRY Battery system FREE Free range OUT Outdoor run BIO Bio FEM6M Female animals gt 6mths 10N1 1 1 relation PRCHS Purchase piglets SALE Sale piglets HLTHA Healthqualification A HLTHB Healthqualification B HLTHC Healthqualification C SWCGS Saltwater cages SWPDS Saltwater pond SWPLS Saltwater pool SWCLL Saltwater closed loop FWCGS Freshwater cages FWPDS Freshwater pond FWPLS Freshwater pool FWCLL Freshwater closed loop OPNLP Open loop CLSLP Closed loop XPCNT Expedition center purifi
124. n NotificationKind ARV Arrival MMT DPR Departure MMT TRP Transportation MMT RO Reason unknown PRNT R4 Change Hormone Status PRNT R6 Loss PRNT R10 Change Responsible Party PRNT R12 Damaged PRNT R21 Bovine reset Alive PRNT R22 Not commercialised Bovine PRNT R45 Change Exploitation PRNT R46 Change Gender PRNT R49 Change Main Location Sanitary unit PRNT R51 Responsible Party Address Change PRNT R52 Change Address Main Location PRNT R53 Address Change PRNT R17 Other Constations PRNT R29 Internal change SU PRNT R40 Export PRNT R55 Change ePP towards pPP PRNT EAIManual doc 28 BREG Bovine Register RGPOP BOV PGCNT Pig Count RGPOP PIG C1512 SGD 15 12 Count RGPOP SHP GOAT DEER CTR15 SGD Inventory control RGPOP SHP GOAT DEER VAC Aujeszky vaccination TMT PIG BLUTG Blue Tongue vaccination TMT BOV SHP GOAT DEER IBR IBR vaccination TMT BOV QFVR Q fever vaccination TMT SHP GOAT DEER NCD NCD vaccination TMT Al Al vaccination TMT SALPL Salmonella poultry vaccination TMT SALPG Salmonella pigs vaccination TMT BVD BVD vaccination TMT MEDTR Medicine treatment TMT PLTR BIRD GOAT DEER SHP BOV PIG FMTH Foot and mouth treatment TMT PGFVR Pig Fever treatment TMT ANMC Animal Characteristics CHANM ANMB Animal Birth CHANM ANRT Animal Identification CHANM ADNA Animal DNA CHANM AVRV VRV CHANM ANME Animal Mo
125. n Swiss BF Buffalo Bubalis bubalis BIS Bison CA Chianina CH Charolais DR Dexter RE European Red Dairy Breed FLR West Flanders Red GU Guernse V G Gelbvieh Hereford horned Hereford polled Highland Cattle Holstein Holstein Red and White Holstein Red Dairy Breed Jersey Limousin Maine Anjou Murray Grey Montb liard MR Marchigiana NR Norwegian Red PZ Pinzgau HN Romagnola SL Salers SG Santa Gertrudis SD South Devon SH Shorthorn SM Simmental SCT Speck cattle SW Sahiwal SR Swedish Red amp White Sanitel EAI Manual v1 39 EAIManual doc 23 Tarentaise Welsh Black AnimalRaceType AnimalSubtype Vealcalf Bovine Bison Buffalo Dwarf Bovine Sheep Dwarfsheep Goat Dwarfgoat Horse Donkey Pigs for breeding Pigs for fattening Piglet Pet pig Deer Wild Pig Other breeded land mammal Ostrich Emu Nandu Cassowary Chicken Pheasant Guinea Fowl PRTG Partridge FCHCK Frychicken SCHCK Soupchicken CHICK Chick RSTR Rooster TRK Turkey SWN Swane QL Quail GSE Goose Sanitel EAI Manual v1 39 EAIManual doc 24 PGN Pigeon DUCK Duck RBT Rabbit HARE Hare RDT Rodent FURB Furbearer MSL Mussel OYS Oyster BOAR Wild Boar ROE Roe WDEER Even toed Wild Ung
126. nd that is that a local object structure can be created rather than working with the XML itself The Streaming has the advantage that you can use scenario 4 to test your stuff first Sanitel EAI Manual v1 39 EAlManual doc 177 14 15 16 17 18 Q What username do we use in the XML How do I get a logon What if I am a systems integrator and not e g a Slaughterhouse A You can use any logon of this Slaughterhouse as long as they exist in the application Contact the general helpdesk for a user id If you re a system integrator ask a Logon ID in the QAS environment and have it configured for one of the slaughterhouses you work for Please inform the slaughterhouse about this Q Can I put everything in uppercase A No you cannot XML is case sensitive so your structure tag names e g for lt SanitaryUnit gt need to be exactly lt SanitaryUnit gt and not lt Sanitaryunit gt lt sanitaryunit gt or lt SANITARYUNIT gt The same applies to a namespace definition like xmlns http Sanitel EAI SanitelRepository SanitelServices PartyOverviewExportRequ estSchema Q My test XML gives an error and I copied it from your example A for readability we sometimes entered extra spaces is the XML especially in the namespace definition copying the example blindly will not work E g the example shows xmlns http Sanitel EAV SanitelRepository SanitelServices PartyOverview ExportRequestSchema But it actually is o
127. ne string xmins http Sanitel EAI SanitelRepository SanitelServices PartyOverviewExportRequestSchema Q My XML still gives an error A As long as you get Error in XML your XML is not formatted correctly reasons can include e Incorrectly closed tags e Special characters like in strings e Non date representations e Most of the time the parser also gives a location e g line 12 char 44 go to the corresponding line column and check the error It should be close in the neighbourhood there Q How can I specify an empty tag A We support the standard W3C empty tags techniques For strings this includes Animal No tag lt ANTP_CDE gt BOV lt ANTP_CDE gt lt SNUN_CDE gt BE10014385 0101 lt SNUN_CDE gt lt Animal gt lt Animal gt Closed tag lt FCLT_CDE gt lt ANTP_CDE gt BOV lt ANTP_CDE gt lt SNUN_CDE gt BE10014385 0101 lt SNUN_CDE gt lt Animal gt lt Animal gt Open Close tag lt FCLT_CDE gt lt FCLT_CDE gt lt ANTP_CDE gt BOV lt ANTP_CDE gt gt STRINGS ONLY lt SNUN_CDE gt BE10014385 0101 lt SNUN_CDE gt lt Animal gt For datetimes this includes Sanitel EAI Manual v1 39 EAIManual doc 178 lt Animal gt No tag lt ANTP_CDE gt BOV lt ANTP_CDE gt lt SNUN_CDE gt BE10014385 0101 lt SNUN_CDE gt lt Animal gt lt Animal gt Null values lt ANTP_CDE gt BOV lt ANTP_CDE gt lt SNUN_CDE gt BE10014385 0101 lt SNUN_CDE gt lt UPD_DTE_F
128. nfo gt lt SlaughterFile gt lt SlaughterDetailInfoImport gt Output Schema Interaction Result See definition Interaction Result Schema Sanitel EAI Manual v1 39 EAIManual doc 154 Example XML Response lt xml version 1 0 gt lt InteractionResult xmlns xsd http www w3 0rg 2001 XMLSchema xmlns xsi http www w3 0rg 2001 XMLSchema instance gt lt StatusCode gt Success lt StatusCode gt lt Summary gt Import ImportSlaughterDetailInfoForGroupUseCase successfull Slaughter Detail Info Importing 8980 0700001 Slaughter Detail Info information is imported lt Summary gt lt Reference gt 3335 lt Reference gt lt Details gt lt InteractionResult gt Interface ExportSlaughterFile Direction Export Purpose request an export of slaughter data from Beltrace A validation is included to limit the search using Date From and Date to to a maximum of 7 days When difference between DTE_TO amp DTE_FRM is greater than 7 days the error message Period of search limited to 7 days will be populated Layout Documentation https gas sanitel be int QAS_Sanitel ExtInterfacingSvcs v2 SanitelServices asmx ExportSlaughterFile Layout details e DETAIL INFO FLG The flag DETAIL INFO FLG offers the requestor the choice whether or not the answer to the request will contain slaughter detail info within the Slaughter lot section lt SlaughterLot gt Functionality When D
129. ngeProductionQuality The ImportChangeProductionQuality interface will be used by the labelling organization to add delete the Production quality for a Sanitary Unit To add a Production quality the user needs to provide the FUNC_CDE as ADD and include the meat quality in PRQU_CDE to be added to the various Sanitary Units If the FUNC_CDE code is ADD DEL and no value is given in PRQU_CDE code error will be displayed as Production quality is mandatory To delete a Production quality the user needs to provide FUNC_CDE as DEL and include the Production quality to be deleted from the various Sanitary Units For all success response a change notification will be created in notification and notification change item tables Direction Import Purpose Labelling Organisation to submit changes in Production Quality on an Sanitary Unit Layout Documentation https gas sanitel be in QAS_Sanitel_ExtInterfacingSvcs_v2 SanitelServices asmx op ImportChangeProductionQualit Input Schema ChangeProductionQualitylmport lt gt ChangeProductionQualityImport A User xs string SecurityToken xs string OnBehalfRole xsistring OnBehalfEntity xs string UserLanguage xsistring i lt gt ChangeProductionQuality 5 lt gt OCR DTE xs dateTime 3 8 lt gt RCV_DTE ysidateTime 3 lt gt REF_NBR xsistring gt PRQU_CDE xsstring lt gt SanitaryUnit 42 I lt gt FUNC CDE 4 SNUN CDE http Sanitel
130. nitel ExtInterfacingSvcs v2 SanitelServices asmx op ImportProductionUn itNotification Input Schema ProductionUnitNotificationlmport Production UnitNoti ficationImport upde http Sanitel EAI SanitelRepository SanitelServices ProductionUnitNotificationImportSchema Sanitel EAI Manual v1 39 EAIManual doc 118 XML Example s Implicitly specified XML import No Animals After processing this XML only the Production Unit information definition is updated This will have no impact on the animals if the Production Unit Code s already existed Where before it was not possible to delete a productionunit definition read specify a SanitaryUnit without ProductionUnits or with another ProductionUnit all animals having this deleted production unit will be decoupled from it e g in the example underneath the addresses of the production units will be updated for SanitaryUnit BE10179333 0501 and for SanitaryUnit BE10179333 0101 the Production Unit will be removed and all animals decoupled lt xml version 1 0 encoding utf 8 gt lt ProductionUnitNotificationImport xmlns http Sanitel EAI SanitelRepository SanitelServices ProductionUnitNotificationImportSchema User TESTXML SecurityToken N A gt lt ProductionUnitNotification gt lt OCR_DTE gt 2011 01 30T17 46 29 lt OCR_DTE gt lt REF_NBR gt 10179333 lt REF_NBR gt lt SNUN_CDE gt BE10179333 0501 lt SNUN_CDE gt lt ProductionUnit gt PRUN REF
131. nitelRepository SanitelServices MovementNotificationImportSchema Sanitel EAI Manual v1 39 EAIManual doc 110 XML Example s Departure of an animal from a FARM with RETURN_ALL_ANOMALIES flag lt xml version 1 0 gt lt MovementNotificationImport xmlns http Sanitel EAI SanitelRepository SanitelServices MovementNotificationImportSchema User TESTXML SecurityToken N A gt lt MovementNotification gt lt NOTP_CDE gt MMDPR lt NOTP_CDE gt lt NOKD_CDE gt DPR lt NOKD_CDE gt OCR DTE 2012 06 29T00 00 00 OCR DTE RCV DTE 2012 07 01T06 52 05 RCV DTE REF NBR 1422294 REF NBR ANTP CDE BOV ANTP CDE lt ANSB_CDE gt BOV lt ANSB_CDE gt lt ANM_CNT gt 1 lt ANM_CNT gt lt ANCO_CDE gt ALIVE lt ANCO_CDE gt lt RETURN_ALL_ANOMALIES gt Y lt RETURN_ALL_ANOMALIES gt lt Party gt lt NPTP_CDE gt RSP lt NPTP_CDE gt CDE BE600023010 CDE Party Party NPTP CDE DLR NPTP CDE CDE BE201609691 CDE Party Facility NFTP CDE SRC NFTP CDE CDE BE60009080 CDE SNUN CDE BE60009080 0101 SNUN CDE Facility Animal lt REF_NBR gt BE71374426 lt REF_NBR gt lt PPT_VRS_NBR gt 3 lt PPT_VRS_NBR gt lt Animal gt lt MovementNotification gt lt MovementNotificationImport gt Arrival animals on a Market lt xml version 1 0 gt lt MovementNotificationImport xmlns http Sanitel EAI SanitelRepository SanitelServices MovementNotifica
132. nts sometimes prefixed with a rule engine code PAMI and rule engine priority 1 2 blocking 3 4 warning 5 information only Sanitel EAI Manual v1 39 EAIManual doc 181 InteractionResult xmins http Sanitrace EAI SanitraceReposi lt StatusCode gt Error lt StatusCode gt lt Summary gt Import ImportAnimalNotificationUseCase erroneot information lt Summary gt lt Reference gt lt Details gt lt MessageEntry gt lt Code gt 911 lt Code gt lt Description gt Birth Facility is missing lt Description gt lt Pattern gt 0 is missing lt Pattern gt lt ArgumentsCSV gt PAMI 5 Birth Facility lt ArgumentsCSV gt lt Reference gt lt MessageEntry gt lt MessageEntry gt Sanitel EAT Manual v1 39 lt Code gt 911 lt Code gt lt Description gt Origin Facility is missing lt Description gt lt Pattern gt 0 is missing lt Pattern gt lt ArgumentsCSV gt PAMI 5 Origin Facility lt ArgumentsCSV gt lt Reference gt EAIManual doc 182 Support Online VIA the online bug feature tracker IssueMaintenancePage aspx General Helpdesk sanitel favv be Beltrace helpdesk beltrace favv be Technical Issues Paul Tettelin hp com Functional Issues Greetje Sluydts hp com All other Sanitel support sanitel favv be Sanitel EAI Manual v1 39 EAIManual doc 183
133. o retrieve all WaterManureAnimalAllocations to do a correct calculation of Export EXWMA ExportWaterManureAllocation Water Manure consumption Export SLGHE ExportSlaughterFile Export SLGHE ExportSlaughteringFacilitiesOverview Export SLSTE ExportSlaughteringStatisticsOverview Import IMSLD ImportSlaughterDetaillnfoForAnimalGroup Import SLGHX ImportSlaughterFile Import SLLOX ImportSlaughterInfo Schema Overview Sanitel EAI Manual v1 39 EAIManual doc 10 The following table gives for each interface an overview of the document types used as input and the document type obtained as a result Direction Name Allows an external application to Input XML Schema Name Result XML Schema Name etrieve a detailed insight of an an ma characteristics ExportAnimal risk status history AnimalExportRequest AnimalExport Retrieve an overview of movements of a certain animal ExportAnimalMovementNotificationOverview from to a certain facility AnimalMovementNotificationOverviewExportRequest AnimalMovementNotificationOverviewExport ExportAnimalOverview Retrieve an overview of animals and their key characteristics AnimalOverviewExportRequest AnimalOverviewExport Retrieve an overview of changes to a Facility a Sanitary Unit ExportChangeNotificationOverview or Animal characteristics ChangeNotificationOverviewExportRequest ChangeNotificationOverviewExport Retrieve a general overview of facilities name address infor ExportFacil
134. ommonjUploadxMLPage aspx zl GO Links lt Sanitel Net Help Co Home Party amp Facility Notification Visit Risk Agreement Order Marking Slaughtering Reg vi File To Send Browse Logout vzx5px On this page you can test whether your xml is correctly filled in In case your streaming does not work or give satisfactory results please test it first using the manual scenario Be sure you get on this page and NOT on the XML upload page for the slaughter module Sanitel EAT Manual v1 39 EAIManual doc 169 URL Summary For testing in the ongoing development environment e https qas sanitel be int QAS Sanitel ExtInterfacingSves_v2 GenericXMLHandler ashx e https gas sanitel be int QAS_Sanitel ExtInterfacingSvcs v2 SanitelServices asmx e https qas sanitel be web QAS Sanitel Web Pages Common UploadXMLPage aspx The Luxembourg URLs In addition all interface URLs and definitions will be standardized on the Sanilux naming and the be suffix needs to be changed to lu 1 e https gas sanitel be int QAS Sanitel ExtInterfacingSves_v2 GenericXMLHandler ashx will become https qas sanitel lu int QAS Sanilux ExtInterfacingSves_v2 GenericXMLHandler ashx Schema definition like http Sanitel EAI SanitelRepository SanitelServices RiskNotificationImportSchema are unchanged Sanitel EAI Manual v1 39 EAIManual doc 170 Production URLs All URLs specified contain the word QAS at
135. ort S 07 S 08 EXMV EXPAO ExportMovementNotificationOverview ExportPartyOverview Retrieve an overview of movements of a certain animal from to a certain facility Retrieve a general overview of Parties Name Address Reference Numbers Contact Data 5 09 EXPUO ExportProductionUnitOverview Retrieve a general overview of which exploitation units are used at which facilities sanitary units S 10 Export S 11 EXSU EXSUO ExportSanitaryUnit ExportSanitaryUnitOverview Retrieve detailed info about a sanitary unit Location Address Sanitary Characteristics Involved Parties Production Unit Info Marking Inventory Capacity Population Inventory Risk Information History Information Retrieve a general overview of sanitary units and their key characteristics Export S 12 Import S 13 EXSLO IMANN ExportSlaughteringOverview ImportAnimalNotification Retrieve summary statistics of slaughtered animals Submit births or import records Import S 14 IMCHN ImportChangeNotification Submit changes on an Animal a Facility a Sanitary Unit or even a Party Sanitel EAI Manual v1 39 EAlManual doc 9 Submit marking inventory Import S 15 IMINN ImportInventoryNotification results Submit water manure consumption statistics Import S 16 IMMWN ImportManure WaterNo
136. ory SanitelServices MovementNotificationExportRequestSchema XML Example s Example EXMVN 1 Retrieve the full detail for movements 300034 and 300035 lt xml version 1 0 encoding utf 8 gt lt MovementNotificationExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices MovementNotificationExportRequestSchema User TESTXML SecurityToken N A gt lt Movement gt ID 101329496607 ID Movement Movement ID 101329496608 ID Movement lt MovementNotificationExportRequest gt Sanitel EAI Manual v1 39 EAIManual doc 69 Output Schema MovementNotificationExport MovementNotificationExport jpg Double Click to enlarge the diagram http Sanitel EAI SanitelRepository SanitelServices MovementNotificationExportSchema Sanitel EAI Manual v1 39 EAIManual doc 70 Interface EXPAO ExportPartyOverview Direction Export Purpose Retrieve a general overview of Parties Name Address Reference Numbers Contact Data Layout Documentation https gas sanitel be in QAS_Sanitel_ExtInterfacingSvcs_v2 SanitelServices asmx op ExportPartyOverview Input Schema PartyOverviewExportRequest lt gt PartyOverviewExportRequest a User xs string SecurityToken xs string 3 ResultIndex xs int OnBehalfRole xs string OnBehalfEntity xs string UserLanguage xs string E lt gt Party H D I lt gt PATP_CDE 0 1 xssstring d B lt ce 0 1 n
137. ovementNotification gt lt NOTP_CDE gt MMTRS lt NOTP_CDE gt OCR DTE 2014 11 21T02 00 00 OCR DTE UNL DTE 2014 11 21T04 00 00 UNL DTE RCV DTE 2014 11 21T06 00 00 RCV DTE REF NBR 1234 REF NBR DOC NBR 12345678 DOC NBR lt ANTP_CDE gt PIG lt ANTP_CDE gt lt TASB_CDE gt FPIG lt TASB_CDE gt lt ANM_CNT gt 3 lt ANM_CNT gt lt ANCO_CDE gt ALIVE lt ANCO_CDE gt lt LIC_PLT gt 12345 lt LIC_PLT gt lt Party gt lt NPTP_CDE gt RSP lt NPTP_CDE gt lt CDE gt BE102279809 lt CDE gt lt Party gt lt Party gt lt NPTP_CDE gt TRA lt NPTP_CDE gt lt CDE gt BE102279809 lt CDE gt lt Party gt lt Party gt lt NPTP_CDE gt DLR lt NPTP_CDE gt lt CDE gt BE102279809 lt CDE gt lt Party gt lt Facility gt lt NFTP_CDE gt SRC lt NFTP_CDE gt lt CDE gt BE30982787 lt CDE gt lt SNUN_CDE gt BE30982787 0201 lt SNUN_CDE gt lt Facility gt lt Facility gt lt NFTP_CDE gt DST lt NFTP_CDE gt lt CDE gt BE10145552 lt CDE gt lt SNUN_CDE gt BE10145552 0201 lt SNUN_CDE gt lt Facility gt lt Animal gt lt MovementNotification gt lt MovementNotificationImport gt Output Schema Interaction Result See definition Interaction Result Schema Sanitel EAI Manual v1 39 EAlManual doc 115 Interface IMPPN ImportPopulationNotification Direction Import Purpose Submit population inventory results Layout Documentation https qas sanitel be int QAS Sanitel ExtInt
138. pplication like online access reports etc The web services are in principle not meant to synchronize databases although some possibilities obviously do exist Please refer to the appendix for more information on synchronization alternatives Sanitel EAI Manual v1 39 EAIManual doc 8 Interface Overview For the Sanitel Renewal a number of formal interfaces have been defined for exchange of information Imports of Movements Export of Notifications etc The list underneath gives an overview of a first set of interfaces Direction EXAMN Name ExportAnimal ExportAnimalMovementNotificationOverview Allows an external application to Retrieve a detailed insight of an animal All characteristics risk status history Retrieve an overview of movements ofa certain animal from to a certain facility Export S 02 Export S 03 EXANO EXCNO ExportAnimalOverview ExportChangeNotificationOverview Retrieve an overview of animals and their key characteristics Retrieve an overview of changes to a Facility a Sanitary Unit or Animal characteristics Export S 04 Export S 05 EXFAO EXMVN ExportFacilityOverview ExportMovementNotification Retrieve a general overview of facilities name address infor reference numbers liable party details Retrieve a detailed insight in a movement involved parties involved facilities involved animals Export S 06 Exp
139. provide feedback on the weights It is not necessary to group per slaughter file Input Schema SlaughterlnfoToBelmported SlaughterInfoToBelmported User xs string SecurityToken xs string OnBehalfrole xs string OnBehalfEntity xs string UserLanguage xs string E lt gt SlaughterInfo 0 8 42 E lt gt REF_NBR xsistring 8 E lt gt REF NER LOT 0 1 i d lt gt FCL REF NER xs string lt gt ANM_REF_NBR xsistring lt gt ANM_CNT xs decimal 4 WGH KG nib lt gt SLKD_CDE 0 xerstring lt gt SLG_DTE xs cate Time lt gt CLA xs string lt gt MKT_NBR xs string lt gt PRC xs decimal http sanitel eai SanitelRepository SlaughteringServices ImportSlaughterInfo SlaughterInfoToBeImported Example XML lt xml version 1 0 encoding utf 8 gt lt SlaughterInfoToBeImported User TESTXML xmlns http sanitel eai SanitelRepository SlaughteringServices ImportSlaughterInfo SlaughterInfoToBeImpo rted gt lt SlaughterInfo gt lt REF_NBR gt 1073 0700004 lt REF_NBR gt lt REF_NBR_LOT gt 1073 0700004 3 lt REF_NBR_LOT gt lt FCL_REF_NBR gt 3220235 lt FCL_REF_NBR gt lt ANM_REF_NBR gt BE17070731 lt ANM_REF_NBR gt lt ANM_CNT gt 1 lt ANM_CNT gt WGH KG 750 WGH KG SLKD CDE CLASS SLKD CDE SLG DTE 2007 06 04T00 00 00 SLG DTE SlaughterInfo SlaughterInfo Sanitel EAI Manual v1 39 EAIManual doc 152 lt REF_NBR gt 1073 0700004 lt REF_NBR gt
140. rLanguage xs string E lt gt Productionunit H Z E lt gt FCLT_CDE Io xs string n R lt gt ANTP_CDE EH E lt gt PRUN REF NBR xs string lt gt DTE_FRM xs dateTime lt gt DTE_TO xs date Time lt gt PRUN_IDX xs long lt gt SNUN_CDE xs string http Sanitel EAT SanitelRepository SanitelServices ProductionUnitOverviewExportRequestSchema XML Example s Example EXPU Retrieve all production unit details of a certain facility over a certain period Includes all animals that were part of Any Production Unit in this Facility In any period overlapping with the specified period lt xml version 1 8 encoding utf 8 gt lt ProductionUnitExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices ProductionUnitExportRequestSchema User TESTXML SecurityToken N A ResultIndex 0 gt lt ProductionUnit gt lt FCLT_CDE gt BE70057407 lt FCLT_CDE gt DTE FRM 2006 12 01T00 00 00 DTE FRM DTE TO 2007 11 30T23 59 59 DTE TO ProductionUnit lt ProductionUnitExportRequest gt Sanitel EAI Manual v1 39 EAIManual doc 79 Example EXPU 2 Retrieve all production unit details of a certain production unit in a certain facility over a certain period Includes all animals that were part of this Production Unit in any period overlapping with the specified period lt xml version 1 8 encoding utf 8 gt lt ProductionUnitExportRequest xmlns http Sanitel EAI
141. ring lt gt DTE xs dateTime lt gt BEG DTE FRM 0 1 xs dateTime 4 BEG DTE TO xs dateTime lt gt END DTE FRM 0 1 xs dateTime lt gt END DTE TO 0 xs dateTime lt gt UPD DTE 10 1 xs dateTime lt gt UPD DTE TO 10 1 xs dateTime http Sanitel EAI SanitelRepository SanitelServices ExportA greementOverviewExportRequestSchema XML Example s Example EXAGR 1 Retrieve all agreements of a certain party Sanitel EAI Manual v1 39 EAIManual doc 85 lt xml version 1 8 encoding utf 8 gt lt AgreementOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices AgreementOverviewExportRequestSchema User TESTXML SecurityToken N A ResultIndex 0 gt lt Agreement gt lt SNUN_CDE gt BE10014458 0101 lt SNUN_CDE gt lt Agreement gt lt AgreementOverviewExportRequest gt Example EXAGR2 Has a certain sanitary unit a Read Agreement contract with VRV on Aug 18 lt xml version 1 0 encoding utf 8 gt lt AgreementOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices AgreementOverviewExportRequestSchema User TESTXML SecurityToken N A ResultIndex 0 gt lt Agreement gt lt AGTP_CDE gt RAFI lt AGTP_CDE gt lt SNUN_CDE gt BE10116560 0101 lt SNUN_CDE gt lt PATY_CDE gt BE42001730 lt PATY_CDE gt lt APTP_CDE gt AVPA lt APTP_CDE gt lt DTE gt 2008 08 18T00 00 00 lt DTE gt lt Agreement gt lt AgreementOverviewExportReq
142. rnMessage xs string lt gt Markingseries 10 H HI lt gt ANTP_CDE 0 1 xs string 2 560 866 xs string A lt gt SEQ_END xs string lt gt MACT_CDE 0 1 xs string lt gt MARK NER 0 1 xs string lt gt cNr 0 1 xs string lt gt SNUN CDE 0 1 xs string lt gt NAM 0 1 xs string lt gt STR 0 1 xs string lt gt NBR 0 1 xs string lt gt zip 0 1 xs string lt gt cry 0 1 xs string lt gt MCP 0 1 xs string lt gt ALC DTE 0 1 xs dateTime lt gt UPD_DTE 0 i xs dateTime lt gt OISN_CDE 10 11 xs string lt gt OITP CDE 0 1 xs string lt gt OILB_CDE 0 1 xs string lt gt CTRY 0 1 xs string lt gt ORIM CDE 0 1 xs string lt gt REF NER 0 1 xs string http Sanitel EAI SanitelRepository SanitelServices ExportMarkingSeriesOverviewExportSchema Sanitel EAT Manual v1 39 EAIManual doc 90 Interface EXRNO ExportRetaggingNotificationOverview Direction Export Purpose Export Retagging Notification Overview Layout Documentation https gas sanitel be int QAS_Sanitel ExtInterfacingSves_v2 SanitelServices asmx op ExportRetaggingNotificationOverview Input Schema RetaggingNotificationOverviewExportRequest lt gt RetaggingNotificationOverviewExportRequest A User xs string SecurityToken xs string ResultIndex xs int OnBehalfRole xs string OnBehalfEntity xs string UserLanguage xs string E lt gt RetaggingNotification amp
143. rt gt Output Schema Interaction Result See definition Interaction Result Schema Sanitel EAI Manual v1 39 EAIManual doc 131 Interface IMPSP ImportAnimalPassport Direction Import Purpose Submit Animal Passport Layout Documentation https qas sanitel be int QAS Sanitel ExtInterfacingSvcs v2 SanitelServices asmx op ImportAnimalPassports Input Schema AnimalPassportlmport AnimalPassportimport A user xsistring SecurityToken xs string OnBehalfRole xs string OnBehalfEntity xs string UserLanguage xs string E lt gt AnimalPassport 0 A E E lt gt NOTP CDE 0 1 xs string E lt gt NOKD CDE 0 1 TM lt gt OCR DTE 0 1 xs dateTime lt gt RCV DTE 0 1 xs dateTime lt gt REF NER 0 1 xs string lt gt DOC MER 0 1 xsistring lt gt ANTP CDE 0 1 xs string lt gt ANSB_CDE 0 1 xs string lt gt ORIG CDE 0 1 xs string lt gt Animal 0 A 42 E lt gt REF NER 0 1 xs string lt gt PPT_VRS_NBR xs string http Sanitel EAI SanitelRepository SanitelServices PassportImport Sanitel EAT Manual v1 39 EAIManual doc 132 XML Example s lt xml version 1 0 encoding UTF 8 gt lt AnimalPassportImport User TESTXML xmlns http Sanitel EAI SanitelRepository SanitelServices PassportImport gt lt AnimalPassport gt lt NOTP_CDE gt PRNT lt NOTP_CDE gt lt NOKD_CDE gt R52 lt NOKD_CDE gt OCR DTE 2011 02 12T00 00 00402 00
144. rview 0 E NoTF ID wm sousnbe lt gt NOTP CDE lt gt NOKD CDE gt NOST CDE lt gt OCR DTE lt gt REF NER 0 1 gt ANTP CDE lt gt ANSB CDE 0 1 lt gt ANCO CDE lt gt ANM CNT lt gt DOC NER 0 lt gt ADPR CDE 10 1 lt gt LIC_PLT 0 1 zip lt gt PATY_CDE_TRS xs string xs string xs string xs string xs lang xs string xs string xs string xs dateTime lt gt FAT CDE SRC 0 1 lt gt FAT CDE DST 0 1 lt gt SNUN CDE 10 1 lt gt ANML_REF_NBR 10 1 lt gt SNUN CDE DST 0 2 lt gt NOTF RCV DTE 4 NOTF USR CRE DTE lt gt NOTF PST DTE ring ring string ring xs decmal string xe string kring xe string dring ring dring string string xs string xs dateTime xs dateTime xs dateTime EAIManual doc 68 Interface EXMVN ExportMovementNotification Direction Export Purpose Retrieve a detailed insight in amovement involved parties involved facilities involved animals Layout Documentation https qas sanitel be int QAS Sanitel ExtInterfacingSvcs v2 SanitelServices asmx op ExportMovement Notification Input Schema MovementNotificationExportRequest lt gt MovementNotificationExportRequest A Z User xs string SecurityToken xs string OnBehalfRole xs string OnBehalfEntity xs string UserLanguage xs string E lt gt Movement 42 IS lt gt ID xs long http Sanitel EAI SanitelReposit
145. s Other Animals BCTM Bovine Contaminates CNTM Contaminate RES Residue BRES Bovine Residue PRES Pig Residue ORES Residue Other Animals OCTM Contaminates Other RIOG RiskOrigin CLDIS Clinical symptom disease CLDD Clinical symptom death LPM Lesion PM AUTPS Lesion Autopsy LBARR Lab results Arrival LBSER Lab results Serological Bilan LB2OP Lab results 2nd opinion LBDIF Lab results Differenciation LBISC Lab results Out initial scope LBRES Lab results CORR Correction false notification TBCA Tuberculination Arrival TBCS Tuberculination Suspicion stable TBCSS Tuberculination Stable supervision TBCCR Tuberculination clinical research RIQR RiskQualificationReason NOPAY _ Lagging Payments OTH Other RIQU RiskQualification N jo C5 A a o CIN c RiskStatus 1 Normal 2 Suspicion 3 Suspension Sanitel EAI Manual v1 39 EAIManual doc 36 4 Under Supervision CANC Cancelled 5 With vaccincation 6 Without vaccination 7 Partial vaccination RiskCondition Center Antecedents unknown Antecedents known Disease free Officially disease free POS Positive NI Not interpretable NEG Negative H00 H99 R00 R99 Hormone free Hormone status Residue free Residue status C00 C99 SLGT Contaminate free Conta
146. ser xs string SecurityToken xs string OnBehalfRole xs string OnBehalfEntity xs string UserLanguage s string E lt gt StatusUpdateNotification i E lt gt NOTF ID xs long a lt gt NOTP_CDE ah n lt gt NOKD CDE xsistring lt gt REF_NBR xs string lt gt WF_ACT xs string http Sanitel EAI SanitelRepository SanitelServices StatusUpdateNotificationImportSchema XML Example cancelling a treatment via notification id lt xml version 1 0 encoding utf 8 gt lt StatusUpdateNotificationImport xmlns http Sanitel EAI SanitelRepository SanitelServices StatusUpdateNotificationImportSchema User TESTXML SecurityToken N A gt lt StatusUpdateNotification gt lt NOTP_CDE gt TMT lt NOTP_CDE gt lt NOTF_ID gt 5006782 lt NOTF_ID gt lt WF_ACT gt CAN lt WF_ACT gt lt StatusUpdateNotification gt lt StatusUpdateNotificationImport gt Sanitel EAI Manual v1 39 EAIManual doc 130 XML Example 2 cancelling a treatment via notification reference number lt xml version 1 0 encoding utf 8 gt lt StatusUpdateNotificationImport xmlns http Sanitel EAI SanitelRepository SanitelServices StatusUpdateNotificationImportSchema User TESTXML SecurityToken N A gt lt StatusUpdateNotification gt lt NOTP_CDE gt TMT lt NOTP_CDE gt lt REF_NBR gt 5006782 lt REF_NBR gt lt WF_ACT gt CAN lt WF_ACT gt lt StatusUpdateNotification gt lt StatusUpdateNotificationImpo
147. servations El lt gt SLLO REF NBR 8 lt gt ObservationCategory 3 lt gt UserlD i lt gt Date lt gt Comment lt gt ReasonOfRejection lt gt Organ lt gt Observation 0 1 xsstring http Sanitel EAI SanitelRepository SanitelServices SlaughterLotObservations Working On Behalf Of To support 3 party services we added work on behalf of functionality The principle is quite simple Besides passing user security token you know pass two additional information elements working on behalf of e g FARM OnBehalfRole The application role of the entity you are Sanitel EAI Manual v1 39 EAIManual doc 160 OnBehalfEntity The entity you are working on behalf of This typically will be a Facility or a Sanitary Unit However the functionality might be extended to parties to We have currently only updated the schema s for movements and birth imports And we will not re display all XSD schema s but the picture underneath shows how the OnBehalf information is added in the root element of an XML OnBehalfRole xs string OnBehalfEntity xs string UserLanguage xs string SecurityToken xs string If you are working on behalf of always add the tokens They might be non functional now but will become functional soon Localized Error Messages As seen in the above structure there is also an attribute called UserLanguage This attribute has to
148. st Schema109 ExportSanitaryUnitOverviewRequest Schema113 ExportSanitaryUnitRequest Schema86 FacilityOverviewExport Schema18 InventoryNotificationImport Schema94 MovementNotificationExport Schema21 MovementNotificationImport Schema90 MovementNotificationOverviewExport Schema98 PartyOverviewExport Schema24 PopulationNotificationImport Schema27 ProductionUnitNotificationImport Schema102 ProductionUnitOverviewExport Schema30 RiskNotificationImport The zip file underneath gives a Net example on how to make calls to the Web Service Sanitel EAI Manual v1 39 EAIManual doc 165 S Package Since Microsoft Patch 928365 the behavior of the XSD tool is definitively prohibiting the use of anonymous types System Xml Serialization XmITypeAttribute AnonymousType true The effect is the following stub generation strategy WSDL gt SOAP Envelope lt xml version 1 0 encoding utf 8 2 lt soap Envelope xmlns xsi http www w3 0rg 2001 XMLSchema instance xmlns xsd http www w3 0rg 2001 XMLSc SecurityToken N A gt lt ANTP_CDE gt BOV lt ANTP_CDE gt lt CD E gt BE60600246 lt CDE gt lt Animal gt xAnimal ANTP CDE BOV ANTP CDE lt CDE gt BE60600247 lt CDE gt lt fAnimal gt lt nimalExportRequest gt XML Structure P_CDE gt string lt ANTP_CDE gt DE gt string lt CDE gt xilns http Sanitrace EAI Sanitrace Repository SanitraceServices lt AnimalExportReq
149. string lt gt VAL OLD 0 1 xs string lt gt VAL NEW 0 1 xs string http Sanitel EAI SanitelRepository SanitelServices ChangeNotificationOverviewExportSchema Sanitel EAT Manual v1 39 EAIManual doc 62 Interface EXFAO ExportFacilityOverview Direction Export Purpose Retrieve a general overview of facilities name address info reference numbers liable party details Layout Documentation https qas sanitel be int QAS Sanitel ExtInterfacingSves_v2 SanitelServices asmx op ExportFacilityOverview Input Schema FacilityOverviewExportRequest gt FacilityOverviewExportRequest A User xs string SecurityToken xs string ResultIndex xstint OnBehalfRole xs string OnBehalfEntity xs string UserLanguage xs string E lt gt Facility 1 f lt gt FATP_CDE 0 1 xs string n E lt gt CDE 0 1 oe lt gt NAM 0 1 xs string lt gt REF NER 0 1 xs string lt gt EXT REF NER 0 1 xs string lt gt STR 0 1 xs string lt gt ZIP 0 1 xs string lt gt CTRY_CDE 0 1 xs string lt gt PRUN_REF_NBR 0 1 xs string lt gt ANTP_CDE 0 1 xs string lt gt UPD DTE FRM 0 1 xs dateTime lt gt UPD_DTE_TO 0 1 xs dateTime lt gt PATY CDE LIA 0 1 xs string http Sanitel EAI SanitelRepository SanitelServices FacilityOverviewExportRequestSchema XML Example s Sanitel EAI Manual v1 39 EAIManual doc 63 Example EXFAO 1 Retrieve all sheep owners in Brug
150. t lt ANRS_RSST_CDE gt R lt ANRS_RSST_CDE gt lt AnimalRiskInfo gt lt AnimalRiskInfo gt lt ANRS_DESC gt Medicines lt ANRS_DESC gt ANRS RSST CDE 0000 ANRS RSST CDE AnimalRiskInfo AnimalRiskInfo ANRS DESC Unauthorized substance ANRS DESC ANRS RSST CDE 0000 ANRS RSST CDE AnimalRiskInfo Animal lt AnimalRiskExport gt Output Schema AnimalExternalLabsExport http Sanitel EAT SanitelRepository SanitelServices AnimalRiskExportSchema lt gt AnimalRiskExport A User SecurityToken ReturnCode ReturnMessage xs string AnimalRiskExport_Id E lt gt Animal 3 Animal Id xssstring 2 i lt gt AnimalRiskinfo 3 K AnimalExport_Id 2 IE lt gt ANRS_DESC 8 lt gt ANRS RIST CDE 0 B lt gt ANRS RSST CDE 4 ANRS RIOG CDE lt gt ANRS DTE FRM lt gt ANRS DTE TO Sanitel EAI Manual v1 39 EAIManual doc 59 Interface EXCNO ExportChangeNotificationOverview Direction Export Purpose Retrieve an overview of changes to a Facility a Sanitary Unit or Animal characteristics For a description of possible change attributes see ImportChangeNotification Layout Documentation https qas sanitel be int QAS Sanitel ExtInterfacingSves_v2 SanitelServices asmx op ExportChangeNotifi cationOverview Input Schema ChangeNotificationOverviewExportRequest ChangeNotificationOverviewExportRequest A User xs string Se
151. t gt CDE 0 1 xsistring 5 lt gt NAM 0 1 xs string lt gt REF NER 0 1 xs string lt gt EXT REF NER 0 1 xs string lt gt STR 0 1 xsistring lt gt ZIP 0 1 xs string lt gt CTRY CDE 0 1 xs string lt gt VAT NER 0 1 xs string lt gt TPH 0 1 xs string lt gt RLM_RGS_NBR 0 1 xs string lt gt VEOR CDE 0 1 xs string lt gt ORD NER 0 1 xs string lt gt UPD DTE FRM 0 1 xs dateTime lt gt UPD DTE TO 0 xs dateTime http Sanitel EAT SanitelRepository SanitelServices LiablePartyOverviewExportRequestSchema XML Example s Example EXLPO 1 Retrieve detail info on the Dutch speaking veterinary with order number 1257 lt xml version 1 0 encoding utf 8 gt lt LiablePartyOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices LiablePartyOverviewExportRequestSchema User TESTXML SecurityToken N A ResultIndex 0 gt lt LiableParty gt lt VEOR_CDE gt VL lt VEOR_CDE gt lt ORD_NBR gt 1257 lt ORD_NBR gt lt LiableParty gt lt LiablePartyOverviewExportRequest gt Sanitel EAI Manual v1 39 EAIManual doc 74 Output Schema LiablePartyOverviewExport lt gt LiablePartyOverviewExport A Mai User xs string SecurityToken xs string ReturnCode xs string ReturnMessage I lt gt LiableParty a E lt gt coe Ge aguanbas lt gt NAM ws string aduanbas lt gt NAM_LST xs string 4 NAM PRT xs strin
152. t xmlns http Sanitel EAI SanitelRepository SanitelServices MovementNotificationOverviewExportRequestSchem a User TESTXML SecurityToken N A ResultIndex 0 gt lt MovementNotification gt NOTP CDE MMARV NOTP CDE DTE FRM 2007 11 15T00 00 00 DTE FRM DTE TO 2007 11 15T23 59 59 DTE TO ANTP CDE PIG ANTP CDE lt FCLT_CDE gt BE56784321 lt FCLT_CDE gt lt MovementNotification gt lt MovementNotificationOverviewExportRequest gt Example EXMNO 3 Retrieve all movements by a certain Transporter party over the past week lt xml version 1 8 encoding utf 8 gt lt MovementNotificationOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices MovementNotificationOverviewExportRequestSchem a User TESTXML SecurityToken N A ResultIndex 0 gt lt MovementNotification gt lt DTE_FRM gt 2004 07 20T00 00 00 lt DTE_FRM gt lt DTE_T0 gt 2004 07 21T00 00 00 lt DTE_TO gt lt PATY_CDE_TRS gt BE22002870 lt PATY_CDE_TRS gt lt MovementNotification gt lt MovementNotificationOverviewExportRequest gt Sanitel EAI Manual v1 39 EAIManual doc 67 Output Schema MovementNotificationOverviewExport http Sanitel EAI SanitelRepository SanitelSer vices MovementNotificationOverviewExportSchema Sanitel EAI Manual v1 39 lt gt M NotificationO iewE souanbes User SecurityToken ReturnCode RetumMessage IS lt gt MovementNotificationOve
153. tSchema User TESTXML SecurityToken N A ResultIndex 0 gt lt Movement gt DTE FRM 2004 01 01T00 00 00 DTE FRM DTE TO 2099 01 01T00 00 00 DTE TO ANML REF NBR NL456453543 ANML REF NBR Movement lt AnimalMovementNotificationOverviewExportRequest gt Example EXAMN 2 All arrivals of bovines to a certain slaughterhouse in a certain period lt xml version 1 0 encoding utf 8 gt lt AnimalMovementNotificationOverviewExportRequest xmlnsz http Sanitel EAI SanitelRepository SanitelServices AnimalMovementNotificationOverviewExportReques tSchema User TESTXML SecurityToken N A ResultIndex 0 gt lt Movement gt lt DTE_FRM gt 2004 01 20T00 00 00 lt DTE_FRM gt DTE TO 2004 01 27T23 59 59 DTE TO lt ANTP_CDE gt BOV lt ANTP_CDE gt lt FCLT_CDE gt BE92700117 lt FCLT_CDE gt lt Movement gt lt AnimalMovementNotificationOverviewExportRequest gt Example EXAMN 3 Retrieve all animal movements by a certain Transporter party over the past week lt xml version 1 0 encoding utf 8 gt lt AnimalMovementNotificationOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices AnimalMovementNotificationOverviewExportReques tSchema User TESTXML SecurityToken N A ResultIndex 0 gt lt Movement gt DTE FRM 2007 11 10T00 00 00 DTE FRM DTE TO 2097 11 15T23 59 59 DTE TO lt ANTP_CDE gt BOV lt ANTP_CDE gt lt PATY_CDE_TRS gt BE123456789 lt
154. ter this action in the online e Security Token Reserved if a stricter security is necessary in case of XML abuse Extra Header Info Export Results e Return Code can be negative in case the search failed e g missing incorrect search criteria 0 means all OK A Return code 999 will mean that the result is truncated to the first 1000 results e Return Message specification why the search failed Extra Header Info Export Request Steering Parameter e Result Index ReservedPaging parameter in case of multiples of X000 of records 1 first X000 2 second X000 Remark that we use the Header of the MessageType for storing these special information elements This is a preferred practice over e g the use of a special context element for the following reasons Security and routing can be done on just the information in the header of the message without the need to parse the full message structure The header info can be extended e g with message version information again accessible without the need to parse the full message structure Conceptually the header info is NOT part of the message so it should not be part of a special context element Sanitel EAI Manual v1 39 EAIManual doc 13 Schema Definitions The attached zip file contains a collection of all schema e Schemas zip XSD Schema s When discussing channel 1 we also explain how one can retrieve the XSD Schema s online Sanitel E
155. tification corrections Submit a movement e g Import S 17 IMMVN ImportMovementNotification Mobile App Submit population inventory Import S 18 IMPPN ImportPopulationNotification results Submit assignments of production units exploitation Import S 19 IMPUN ImportProductionUnitNotification units to Sanitary Units Submit risk notifications Import S 20 IMRSN ImportRiskNotification laboratory results Import S 20 IMRSN ImportTreatmentNotification Submit a treatment Submit a status update notification currently limited to treatments but extendable to Import IMPST ImportStatusUpdateNotification other notifications To test if certain parties have certain active agreements with Export EXAGR ExportAgreementOverview certain other parties To import a retagging Import IMRTN ImportRetaggingNotification notification To export information about veterinaries and other liable parties This interface has limited access only because of Export EXLPO ExportLiablePartyOverview privacy concerns Submit a marking series Import IMPMS ImportMarkingSeries allocation To retrieve an overview of Marking Series Marking Series Export EXMSO ExportMarkingSeriesOverview Allocations To retrieve an overview of Export EXRNO ExportRetaggingNotificationOverview Retagging Notifications To retrieve all Animal allocations to any old or current production unit of a certain facility including the from and Export EXPU ExportProductionUnit the to of these allocations T
156. tionImportSchema User TESTXML SecurityToken N A gt lt MovementNotification gt lt NOTP_CDE gt MMARV lt NOTP_CDE gt OCR DTE 2012 06 15T12 14 20 999 OCR DTE lt ANTP_CDE gt BOV lt ANTP_CDE gt lt ANM_CNT gt 1 lt ANM_CNT gt lt ANCO_CDE gt ALIVE lt ANCO_CDE gt lt LIC_PLT gt KXI634 lt LIC_PLT gt lt Party gt lt NPTP_CDE gt TRA lt NPTP_CDE gt CDE BE92000131 CDE Party Party NPTP CDE DLR NPTP CDE CDE BE92000131 CDE Party Facility NFTP CDE DST NFTP CDE CDE BE92500002 CDE Facility Animal Sanitel EAI Manual v1 39 EAIManual doc 111 lt REF_NBR gt BE 1 87521888 lt REF_NBR gt lt PPT_VRS_NBR gt 2 lt PPT_VRS_NBR gt lt Animal gt lt MovementNotification gt lt MovementNotificationImport gt Arrival multiple animals on a Market lt xml version 1 0 gt lt MovementNotificationImport xmlns http Sanitel EAI SanitelRepository SanitelServices MovementNotificationImportSchema User TESTXML SecurityToken N A gt lt MovementNotification gt lt NOTP_CDE gt MMARV lt NOTP_CDE gt lt OCR_DTE gt 2012 06 30T14 00 00 lt OCR_DTE gt RCV DTE 2012 07 02T17 46 25 RCV DTE REF NBR 1423784 REF NBR lt ANTP_CDE gt BOV lt ANTP_CDE gt lt ANM_CNT gt 5 lt ANM_CNT gt lt ANCO_CDE gt ALIVE lt ANCO_CDE gt lt LIC_PLT gt 1 BMV 783 lt LIC_PLT gt lt Party gt lt NPTP_CDE gt DLR lt NPTP_CDE gt
157. tusCode Success and the Reference 868538067 lt xml version 1 0 gt lt InteractionResult xmlns xsi http www w3 0rg 2001 XMLSchema instance xmlns xsd http www w3 0rg 2001 XMLSchema gt lt StatusCode gt Success lt StatusCode gt lt Summary gt Import ImportChangeNotificationUseCase successfull Change Notification Importing 2322 343453 ChangeNotification information is imported lt Summary gt lt Reference gt 868538067 lt Reference gt lt Details gt lt InteractionResult gt In case of incorrect URLs you receive an interaction result like shown underneath Important is the StatusCode Error a Summary Message and one or more Detail Message Entries lt xml version 1 0 gt lt InteractionResult xmlns xsi http www w3 0rg 2001 XMLSchema instance xmlns xsd http www w3 0rg 2001 XMLSchema gt lt StatusCode gt Error lt StatusCode gt lt Summary gt Import ImportChangeNotificationUseCase erroneous Change Notification Importing 2322 343453 ChangeNotification information is not imported See logs for more information lt Summary gt lt Reference gt lt Details gt lt MessageEntry gt lt Code gt 266 lt Code gt lt Description gt Record not found in table Table ANIMAL for search criterium Country MarkingNumber with value BE 00004461 lt Description gt lt Pattern gt Sanitel EAI Manual v1 39 EAIManual doc 43 Record not found in table 0 for
158. u need to send your XML messages Sanitel EAI Manual v1 39 EAIManual doc 172 pt Boz Mos Moses Jos TokenKeyHashed v I GeSYO n8cSTYNZUGKI S zd 324 Update Profile Must Use SSL Logon Checkbox This flag indicates whether this User should logon via the Secure Server If the user logs on via the normal login he is blocked for 2 minutes We deliberately do NOT lock the user out because he password has been sent clear text over the line so the harm has been done anyway the https channel might be cloased down as protection against from a standard https virus attack Uses XML Checkbox The Uses XML checkbox is a flag that indicates that a certain LOGIN account can also use XML to load export information Sanitel EAI Manual v1 39 EAIManual doc 173 XML Security Token Type This setting defines which Security strategy is followed in the XML messages i e it defines what is being passed in the security token The options are Security Token Hashed Security Token Date based Security Token Hashed Date based Security Token Key based Security Token Hashed Key based Security Token AES Encrypted Date Time Value INA The table underneath gives an overview of what the XML Security Token Settings are and additionally demonstrate how the security token can be filled in Finally column 5 gives an example iof the real security token as filled in in the XML Option Description
159. uality on an Animal Layout Documentation https gas sanitel be in QAS_Sanitel_ExtInterfacingSvcs_v2 SanitelServices asmx op ImportChangeAnimalMeatQuality Input Schema ChangeMeatQualityImport lt gt ChangeMeatQualityimport Ka User SecurityToken OnBehalfRole OnBehalfEntity UserLanguage 9 E lt gt Changeanimalmeatquality DA R 8 Bl lt gt OCR DTE d 8 lt gt RCV DTE 3 lt gt AMQL_CDE i lt gt REF_NBR xs string lt gt Animal 1 42 E lt gt FUNC CDE 8 lt gt MACT_CDE lo MRK_NBR http Sanitel EAI SanitelRepository SanitelServices ChangeMeatQualityImportSchema XML Example s Adding Animal Meat Quality to an animal Sanitel EAI Manual v1 39 EAIManual doc 103 lt xml version 1 0 gt lt ChangeMeatQualityImport xmlns http Sanitel EAI SanitelRepository SanitelServices ChangeMeatQualityImportSchema User TESTXML SecurityToken N A gt lt Changeanimalmeatquality gt OCR DTE 2014 11 23T21 43 40 OCR DTE RCV DTE 2014 11 23T21 43 40 RCV DTE REF NBR 1422236 REF NBR AMQL CDE MER AMQL CDE Animal lt FUNC_CDE gt ADD lt FUNC_CDE gt lt MACT_CDE gt BE lt MACT_CDE gt lt MRK_NBR gt 56999786 lt MRK_NBR gt lt Animal gt lt Changeanimalmeatquality gt lt ChangeMeatQualityImport gt Output Schema Interaction Result See definition Interaction Result Schema Sanitel EAI Manual v1 39 EAIManual doc 104 Interface IMCPQ ImportCha
160. uest Schema P_CDE gt string lt ANTP_CDE gt User vzxSpx gt string lt CDE gt lt soap Body gt lt soap Envelope gt Sanitrace SanitraceSerWices 1Psoxy new SanitraceServices auitrace Sanitraceservices Export nimal nimalExpor Request lReguest new SanitraceServices inimalExportRequest lRequest User vzx5px lRequest Animal new San EraceServices Export AnimalfnimalexportRequestfinima t 1 lRequest Animal 0 lRequest lRequest Animal 0 CDE Web Service Proxy Net calls As such you actually get long names in your code which can be a bit confusing However as you get the method name structure name structure table insight it is rather straightforward again Channels 2 70 4 Sanitel EAI Manual v1 39 EAIManual doc 166 The examples given in this document actually where slightly altered for better readability 1 6 the xmins directive should be without spaces linebreaks The XML as such should look like EXPA 2 Retrieve all Slaughterhouses correct XML lt xml version 1 0 encoding utf 8 gt lt PartyOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices PartyOverviewExportRequestSchema User TESTXML SecurityToken N A ResultIndex 0 gt lt Party gt lt PATP_CDE gt SLGHS lt PATP_CDE gt lt Party gt The zip file underneath contains some example XML files these can be used by all subsequent s
161. uest gt Example EXAGR3 Who are the responsible Veterinaries for a number of Sanitary Units lt xml version 1 0 encoding utf 8 gt lt AgreementOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices AgreementOverviewExportRequestSchema User TESTXML SecurityToken N A ResultIndex 0 gt lt Agreement gt lt SNUN_CDE gt BE50060010 0101 lt SNUN_CDE gt lt AGTP_CDE gt VETA lt AGTP_CDE gt lt Agreement gt lt Agreement gt lt SNUN_CDE gt BE10014458 0101 lt SNUN_CDE gt lt AGTP_CDE gt VETA lt AGTP_CDE gt lt Agreement gt lt AgreementOverviewExportRequest gt Sanitel EAI Manual v1 39 EAIManual doc 86 Output Schema AgreementOverviewExport lt gt AgreementOverviewExport User SecurityToken ReturnCode RetumMessage E lt gt Agreement 0 7 x string xs string xs string xs string souanbes 2 i AGRE ID 0 2 B gt AGRE CDE 0 1 lt gt AGTP CDE 0 1 lt gt AGSA CDE 0 1 lt gt BEG DTE 0 1 END DTE 0 1 REF MES BEG 0 1 REF MES END 0 1 EXT REF NER BEG 0 1 5 m APTP_CDE 0 1 PATY_CDEL 10 1 PATY_NAML 0 APTP_CDE2 0 1 PATY CDE2 0 1 PATY NAM2 0 UPD DTE FOLT_CDE FCLT_NAM FOLT_STR FOLT_NBR FOLT_ZIP o os c ss ss s Ge FOLT_CTY EXT REF NER END 0 1 xiong xsstring string string xs dateTime xs dateTime xitrng string string string tring V sting
162. ughterDetailInfoForAnimalGroup eene 153 Interface ExporiSlaughterFile c alla Hr HE Ran 155 Interface ExportSlauehterlLotObservalion n tonnen 158 Working On Behalf Of ite ec HERR 160 Localized Error Messages essentielle 161 Interfaces Technical Usage mn nee 162 Web Application Lari lese le 162 Channel 1 upload download via secured web service ss 163 Channels E 166 Channel 2 upload download via secured streaming page 168 Channel 3 upload download via unsecured streaming page 168 Channel 4 upload download via web page 169 ERLE SAAN eo Re 170 TheLuxemboure URS Ne le 170 Production URES 2 2 ario n een e naar 171 Web Service Securty Na rM rt 172 Frequently Asked Questions zes 175 HEEN IER Sanitel EAI Manual v1 39 EAIManual doc 7 Instructions to test the interfaces Introduction XML and Web Services The goal of web services is to allow external applications exchange data with the Sanitel Net application in a standardized efficient and transparent manner The data is formatted as XML and the interaction is in two ways Information can be imported in the Sanitel Net application e g birth notifications movements and information can be exported retrieved from the Sanitel Net application Sanitel Net provides three channels for exchanging XML Formal SOAP 1 web services XML Streaming and manual XML uploads The Web Services are meant to complement other usage of the Sanitel Net a
163. ulate Stag Mufflon Other game animal Fur game animal Game Bird Fish Bees Frogs Snails AnimalType Bovine Sheep Goat Odd toed ungulate Pigs Deer Wild Pig Other breeded land mammal Bird Poultry Lagomorph and rodent Bees Frogs Snails Fish Mollusc Crustaceae Big Game ANVN Small Game Animal VRV name Sanitel EAI Manual v1 39 EAIManual doc 25 A Automatic G No Name N Fill in name R Random Name Animal VRV specification NONE 0 None 1 Premature birth 2 Postmature birth 3 Multiple Birth 4 Hereditary handicap 9 Several specifications AnimalSurvival Alive Stillborn Deceased first day ANWF Deceased after first day Animal Wellfare Reserved for later usage BLST BlockingStatus B Blocked FREE BVIG Free Blocked Vignet FRSLG Free to Slaughter Country BELGIUM GERMANY FRANCE UNITED KINGDOM LUXEMBOURG NETHERLANDS 2 letter iso code DNA Quality Code OK Ok NOK Not Ok FATP FacilityType ASMY Assembly place CLEAN Cleaning company DEALR Cattle dealer facilit FARM Cattle farm MRKT Cattle market Sanitel EAI Manual v1 39 EAIManual doc 26 SLGHS Slaughterhouse ASMYA Acknowledged Assembly place ASMYP Allowed Assembly place PCKUP
164. ult problem so we have tried to come to the best and most informative information for anyone There are different business rules for the validation of Bovine earmark numbers in different countries of the European Union Some countries even have 2 checkdigits For example Belgium France 10 Characters no check digits AT 563291834 AT 720505211 BE 7 92242112 BE 2 92243756 DE 0534520976 6 DE 0768786240 1 DE 0768786241 8 DE 0768847064 3 DE 0768954849 5 FR 0200920637 HU 302142046 0 HU 302142055 4 IT 023000369118 IT 023000369120 NL 34035029 0 NL 34507600 5 NL 42217978 4 BE40137971 0101 BE40137971 0101 BE10082933 0101 BE10082933 0101 BE10082933 0101 BE10082933 0101 BE10082933 0101 BE10082933 0101 BE10082933 0101 BE10082933 0101 BE50087431 0101 BE50087431 0101 BE10173416 0101 BE10173416 0101 BE10082933 0101 BE10082933 0101 BE10082933 0101 Country Code Check Digit 12345678 Germany Country Code 10 chars check digit UK 6 numbers Check Digit 5 Numbers BE 9 12345678 DE 1234567890 1 UK 123456 7 89012 NL 49036299 6 UK 340933 7 00835 UK 343334 6 01345 SK 800414521 SK 800414627 SK 800510542 SK 800511834 DE 1082378273 0 LU 7 98640685 PL 00513852014 7 IE 1814236 5 0661 CZ 102104591 CZ 102104594 ES 8 0301551380 ES 4 0302762403 FR 5511800004 FR 5613882371 BE10082933 0101 BE10082933 0101 BE10082933 0101 BE10119225 0101 BE10119225 0101 BE10119225 0101 BE10119225 0101
165. unctionality When the input for RETURN_ALL_ANOMALIES is Y all the anomalies are returned in the response irrespective of BR1 BR3 and BRS and the notification is not registered When RETURN_ALL_ANOMALIES is N only the BRI are returned in response and other BR errors are ignored The response of the XML will be a success if there are no severity BR1 errors Sanitel EAI Manual v1 39 EAIManual doc 95 Input Schema AnimalNotificationlmport gt REF_NBR DI gt DOC NER 1011 gt ANTP CDE 0 gt ANM_CNT gt ANCO CDER 1 gt CRF NER py gt LICPLT 10 1 gt CTRY_CDE_FRM Dil CRY_CDETO py gt RETURN_ALL ANOMALIES 10 4 4 OIN Party DI gt NPTP_CDE 0 1 gt CDEnn gt NFTP_CDER U lt gt CDE RI gt FALO RE NER RI gt ANML REF MER MHR GTC 10 1 inn 3 lt gt QRF NER 04 lt gt PPPU_CDED 1 CIRY CDEJMO NI 4 VAVALG PA 4 VRVIDNLCRDFLG ou gt ABFYCDER U gt ABSP_CDE BAG R N gt ADSP_CDE 0 11 gt ANP CDER A 4 NRS_MHR_FLGD 1 gt ANPR_CDE_BAG 1 1 4 AMQLCDE p1 gt ANVS_CDE 04 I 111111111111111111111111 http Sanitel EAI SanitelRepository SanitelServices AnimalNotificationImportSchema Sanitel EAI Manual v1 39 EAIManual doc 96 XML Example s Birth Notification with Return all anomalies flag lt xml version 1 8 encoding
166. urity Tokens A So far we only implemented base level security in order not to make it too complex for the user community This is possible because the external risk that the information is hacked abused for malafide manipulation or financial gain is rather limited The Internal risk is low too as this is a trusted community rather than an end user community Although we do have quite some loggings to assure the risk stays low Finally a lot of the important processes are complemented by physical elements passports and veterinary visits inspections in the field normally will result in an early detection of potential violations So to answer the question Currently there is no enforcement of a certain type of Security Token However we really invite you to consider using one If you think you are ready for it or want to discuss please contact us 22 Q How should we read the Interaction Result in an import XML message A The StatusCode and Message return general information whether the import was successful or not If it was not successful a list of messages appears The message structure is as follows The description is trying to give a meaningfull description in the language specified by the web service caller The pattern is the English message template possibly useful for catching typing the kind of error we discuss E g 0 is missing indicating a parameter that is missing The ArgumentsCSV is the variable set of argume
167. urity issues What if a hacker sniffs the message and resubmits it possibly with other information What if you specify a user name you should not use Let s ignore the first one and focus on the second one Indeed theoretically people having access to XML messaging and knowing accounts of other users could submit an XML as if they were that user That s where the security token comes into play In practice you still can leave the security token blank as this is a trusted user community In addition you need to know the other user name and last but not least we do quiet some tracing on IP address level to detect abuse or to do some analysis in case abuse is detected This XML tracking also includes the content of the XML request so we actually can verify if XML users do not abuse there XML capabilities by querying information they should not access So no additional Web Service Security is for the time being still an option Nevertheless we do invite you to implement one of the method security elements discussed underneath And as soon as you are on level 3 or 4 you also make the life of the hacker a lot more difficult We now discuss how in the online application the XML security can be configured This is done in tab 6 in the user profile In this tab we manage some advanced security settings managing connectivity with the application both in the online as well as for the XML The settings defined in this tab will define how yo
168. vement Export CHANM ANMI Animal Movement Import CHANM ADR Address CHFCY CHSNU NEW New CHFCY CHSNU CHPTY ANID Animal Identification GNOTC General Notice NOTC VEN VEN Information CHFCY SUEND Sanitary Unit End CHSNU FCEND Facility End CHFCY SLGHS Passports from Slaughterhouse RTRN BE LU RNDC Passports from Rendac RTRN BE LU ASMY Passports from Assembly place RTRN BE XPRT Passports exported RTRN LU ESLGH Export Destination Slaughterhouse MMEPO EFARM Export Destination Farm MMEPO SUPTY _ Change Sanitary unit party CHSNU CMMN Change common data CHSNU FCPTY Facility Party CHFCY MEAD Change meadow address CHFCY SHED Change cowshed address CHFCY STBLC Change stable complex address CHFCY CAGE Change cage address CHFCY BMEAD Change border meadow address CHFCY DMEAD Change distant meadow address CHFCY QSTBL Change quarantaine stable address CHFCY RDAC Change Rendac charging place address CHFCY Change Authorised C amp D installation ACLDS address CHFCY Sanitel EAI Manual v1 39 EAIManual doc 29 ACDSI Change Certified C amp D installation address CHFCY NAMD Change natural meadow address CHFCY DLV Change delivery address CHFCY FATP Change facility type CHFCY PGNRL Change general data CHPTY INV Change invoice contact data CHPTY WRKAD Change professional contact data CHPTY DLVRY Change delivery contact data CHPTY OTH Change other contact data CHPTY PRAC Chang
169. water ORALF _ Oral use feed Sanitel EAI Manual v1 39 EAIManual doc 39 POUR Pour on methode BOLUS Bolus WASH Wash spray dip INFUS Infuus vochttherapie UND Undefined TUBR BlockingReason Sanitary Reason Adminstrative Reason Individual adminstrative Reason TUST Tracking een Sanitary Units Stopped Se TrackingUnitStatus Animals INV 1 Bovine is in Sanitary Unit inventory MOV _ 2 Bovine moved from Sanitary Unit Pp read DDSLH 7 Bovine is dead Slaughterhouse XPRT 8 Bovine has been exported DDRDC 10 Bovine is dead Rendac destruction facility BLCK 13 Bovine is vanished CAN X Bovine cancelled UNIT Unit Codes 4 Tubes VLMAnimalType Mestkalveren Melkvee vervangingsvee jonger dan 1 jaar Mestvee vervangingsvee jonger dan 1 jaar Melkvee vervangingsvee tussen 1 en 2 jaar Mestvee vervangingsvee tussen 1 en 2 jaar Melkkoe Zoogkoe Andere runderen VEOR Veterinary Order N Sanitel EAI Manual v1 39 EAIManual doc 40 LU LU WGHC WeightCategory LT25 Less Than 25 Kg GE130 More than 130 Kg B2513 Between 25 and 130 Kg LT12 Less than 12 Kg B1218 Between 12 and 18 Kg GE18 18 Kg or more LT2 Less than 2 Kg B25 Between 2 and 5 Kg GE5 More than 5 Kg Sanitel EAI Manual v1 39 EAIManual doc 41 Interface Definition The archive underneat
170. xmlns http Sanitel EAI SanitelRepository SanitelServices AnimalRiskExportRequestSchema User LIMS gt lt Animal gt ANML MRK NBR 15092497 ANML MRK NBR Animal lt AnimalRiskExportRequest gt Response xml version 1 0 gt AnimalRiskExport xmlns xsi http www w3 0rg 2001 XMLSchema instance xmlns xsd http www w3 0rg 2001 XMLSchema ReturnCode 0 ReturnMessage XML OK AnimalRiskExport Id 0 xmlns http Sanitel EAI SanitelRepository SanitelServices AnimalRiskExport xsd gt lt Animal Animal_Id 15092497 gt lt AnimalRiskInfo gt lt ANRS_DESC gt Brucellosis lt ANRS_DESC gt lt ANRS_RIST_CDE gt 1 lt ANRS_RIST_CDE gt lt ANRS_RSST_CDE gt 4 lt ANRS_RSST_CDE gt ANRS DTE FRM 1993 10 01T00 00 00 ANRS DTE FRM AnimalRiskInfo AnimalRiskInfo lt ANRS DESC Tuberculosis ANRS DESC ANRS RIST CDE 1 ANRS RIST CDE ANRS RSST CDE 3 ANRS RSST CDE ANRS DTE FRM 1993 10 01T00 00 00 ANRS DTE FRM AnimalRiskInfo AnimalRiskInfo ANRS DESC Leucosis ANRS DESC ANRS RIST CDE 1 ANRS RIST CODE ANRS RSST CDE 3 ANRS RSST CDE ANRS DTE FRM 1993 10 01T00 00 00 ANRS DTE FRM AnimalRiskInfo AnimalRiskInfo ANRS DESC Foot and mouth disease ANRS DESC ANRS RIST CDE 1 ANRS RIST CODE ANRS RSST CDE 4 ANRS RSST CDE ANRS DTE FRM 1993 10 01T00 00 00 ANRS DTE FRM AnimalRiskInfo AnimalRiskInfo lt ANRS _DESC gt BVD lt
Download Pdf Manuals
Related Search
Interfaces interfaces interfaces meaning interfaces in java interfaces c# interfaces in python interfaces synonyms interfaces in c++ interfaces in typescript interfaces en java interfaces linux interfaces de red interfaces vs abstract classes interfaces de usuario interfaces journal interfaces en python interfaces deutsch interfaces and free boundaries interfaces in system verilog interfaces cerebro computadora interfaces in crystalline materials
Related Contents
GABA 500 mG GABA 500 mG "Specifying input and output files" in Introduction to INTREPID (R02) User Manual User Manual 1787141 Dry-N-View Rev A_SPA.indd Minka Lavery 4203-290 Installation Guide Samsung Galaxy Tab 2 (10.1, 3G) Käyttöopas Semiconductor Characterization System Technical Data HP Color LaserJet Enterprise M855 Installation Guide IC-E92D SERVICE MANUAL Copyright © All rights reserved.
Failed to retrieve file