Home
E A I U S E R M A N U A L
Contents
1. NOKD_CDE OCR DTE RCV DTE REF DOC NBR ANSB_CDE ANM CNT ORIG CDE ADPR CDE VRV IDN CRD CMN Party Facility Animal DTH FLG DIS FLG DTH CMT DIS CMT ISP FLG SLG RSN CAG NBR LOT NBR CRF DTH RTE Inspection Treatment SEU DTE ANM CNT SLG NRV FLG NRV CMT RSK SNU FLG CMPC CTRY CDE BAG INFL TMT TMT ANTI string string dateTime dateTime string string string string integer string string boolean string Party Facility Animal boolean boolean string string boolean string string string boolean integer Inspection Treatment dateTime string boolean string string string boolean boolean boolean am arty Party E NPTP CDE E CDE Le E ZEE Facility E NFTP CDE E CDE E SNUN CDE e E remm Animal E REF NBR E PPT VRS NBR L ES Inspection E NAM E RSLT E DTE aH reatment Treatment E NFTT_CDE E MEDC ID E TMT DTE FRM E TMT DTE TO E WALPER E ANM AGE E RAW MAT SUR NAM E ANM DIS E FOD SUR NAM string string string string string string string string string dateTime string string dateTime dateTime integer integer string string string http Sanitrace EAI SanitraceRepository SanitraceServices FoodChainNotificationImportSchema EAIManual doc 111 XML Example s Import Food Cha
2. VRV FLG true VRV FLG VRV IDN CRD FLG true VRV CRD ABFY CDE MLK ABFY CDE 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 PREM lt ANVS_CDE gt 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 lt AnimalNotificationImport gt Sanitel EAI Manual v1 30 EAIManual doc 81 Import Notification 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 ARIMO lt NOTP_CDE gt OCR DTE 2008 11 17T12 00 00 OCR DTE lt REF_NBR gt XXX123 lt REF_NBR gt lt DOC_NBR gt YYY456 lt DOC_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 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 lt SNUN_CDE gt BE40070824 0150 lt SNUN_CDE gt lt Facility gt lt Animal gt lt MACT_CD
3. 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 reement 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 Registered By Party Authorising Party Authorised Party Responsible Sanitary Unit Responsible Facility Authorised Party Integration Authorised Party SGS Authorised Party VRV Agreement Type Veterinary Agreement Market Supervision Agreement Read Authorisation AMQL MER Administration Authorisation AnimalMeatQualityLabel 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 30 EAIManual doc 19 ANCO AnimalCondition ALIVE Alive DDMKD Dead born marked DDNOT Dead born not marked DEAD Dead DDHUN Dead by Hunting TCUT Throat cut TCOR Throat cut and organs removed AnimalConception Normal D Animal Disposal Type Animal Type Rendac Piglet Sowgarbage Piglet Pig Sow Boar Aborted Calf Calf Bovine Lamb Sheep Goat Above co
4. SNUN CDE BE60009080 0101 SNUN Facility Animal REF NBR BE71374426 REF NBR VRS NBR 3 PPT VRS NBR Animal MovementNotification MovementNotificationImport Arrival animals on a Market 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 OCR DTE 2012 06 15T12 14 20 999 0CR DTE CDE BOV ANTP 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 lt CDE gt BE92000131 lt CDE gt lt Party gt lt Party gt lt NPTP_CDE gt DLR lt NPTP_CDE gt lt CDE gt BE92000131 lt CDE gt lt Party gt lt Facility gt lt NFTP_CDE gt DST lt NFTP_CDE gt lt CDE gt BE92500002 lt CDE gt lt Facility gt lt Animal gt lt REF_NBR gt BE 1 87521888 lt REF_NBR gt PPT VRS NBR 2 PPT VRS NBR Animal MovementNotification MovementNotificationImport Arrival multiple animals on a Market xml version 1 0 gt MovementNotificationImport xmlns http Sanitel EAI SanitelRepository SanitelServices MovementNotificationImportSchema User TESTXML SecurityToken N A gt lt MovementNotification gt lt NOTP_CD
5. A ReturnMessage string E cry string E MCP string E CTRY_CDE string E TPH string E RSP_CDE string E RSP_NAM string E RSP_REF_NBR string E RSP EXT REF NBR string E RSP AL1 string E RSP AL2 string E RSP STR string E RSP NBR string E RSP BOX string E RSP ZIP string E RSP string E RSP MCP string E RSP CTRY CDE string E RSP TPH string E PRUN IDX long http Sanitel EAT SanitelRepository SanitelServices ProductionUnitOverviewExportSchema Sanitel EAI Manual v1 30 EAIManual doc 63 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 http qas sanitrace be in QAS Sanitel ExtInterfacingS vcs SanitelServices asmx op ExportProductionUnit Input Schema ProductionUnitExportRequest L E ro ductionUnitExportRequest ProductionUnitExportRequest EP roductionUnit ProductionUnit E ProductionUnit ProductionUnit E FCLT_CDE string A User string E ANTP_CDE string A SecurityToken string E PRUN_REF_NBR string A ResultIndex int E DTE dateTime A OnBehalfRole string E DTE TO dateTime A OnBehalfEntity string E PRUN IDX long A UserLanguage string E SNUN CDE string http Sanitel EAT SanitelRepository SanitelServices ProductionUnitOverviewExportRequestSchema XML Example s Example EXPU 1 Retrieve
6. MovementNotification lt MovementNotificationOverviewExportRequest gt Example EXMNO 2 Retrieve all arrivals of pigs to a certain market on a certain day xml version 1 0 encoding utf 8 MovementNotificationOverviewExportRequest Sanitel EAI Manual v1 30 EAIManual doc 53 xmlns http Sanitel EAI SanitelRepository SanitelServices MovementNotificationOverviewExportRequestSchem a User TESTXML SecurityToken N A ResultIndex 0 gt lt MovementNotification gt lt NOTP_CDE gt MMARV lt NOTP_CDE gt DTE FRM 2007 11 15T00 00 00 DTE FRM DTE TO 2097 11 15T23 59 59 DTE TO CDE PIG ANTP CDE FCLT CDE BE56784321 FCLT MovementNotification MovementNotificationOverviewExportRequest Example EXMNO 3 Retrieve all movements by a certain Transporter party over the past week xml version 1 0 encoding utf 8 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 DTE TO 2004 07 21T00 00 00 DTE TO CODE TRS BE22002870 PATY TRS MovementNotification MovementNotificationOverviewExportRequest Output Schema MovementNotificationOverviewExport E NOTF ID long E NOTP CDE string E NOKD CDE s
7. Sanitrace Sanitrace Belgie Sanitrace Belgique Sanitrace Belgien Sanitrace Luxembourgh Sanitrace Luxemburg Sanitrace Letzeburg Copyright 2000 2007 FAVV AFSCA All Rights Reserved EAI USER MANUAL Version 1 30 June 2012 Sanitel EAI Manual v1 30 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 KZ 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 surrounded by spaces
8. SNUN CDE string x E CDG string Sa a E CMN string E REFNBR string E Party Party E CNT decimal E Marking Marking http Sanitel EAT SanitelRepository SanitelServices InventoryNotificationImportSchema XML Example s lt InventoryNotificationImport User string SecurityToken string xmlns http Sanitel EAI SanitelRepository SanitelServices InventoryNotificationImport lt InventoryNotification gt lt NOTP_CDE gt string lt NOTP_CD lt NOKD_CDE gt string lt NOKD_CD lt OCR_DTE gt dateTime lt OCR_DT REF_NBR gt string lt REF_NBR gt DOC_NBR gt string lt DOC_NBR gt D D D lzal st zal M ANTP_CDE gt string lt ANTP_CDE ANTP_CDE_ALT gt string lt ANTP_ CLT_CDE gt string lt FCLT_CDE gt CDE string SNUN CDE CMN gt string lt CMN gt Party gt lt NPTP_CDE gt string lt NPTP_CD lt CDE gt string lt CDE gt Party Party lt NPTP_CDE gt string lt NPTP_CD lt CDE gt string lt CDE gt lt Party gt lt Marking gt lt MACT_CDE gt string lt MACT_CD lt NBR gt string lt NBR gt lt CDG gt string lt CDG gt lt REF_NBR gt string lt REF_NBR gt lt CNT gt decimal lt CNT gt lt Marking gt lt Marking gt lt MACT_CDE gt string lt MACT_CDE gt gt CDE_ALT gt zl Ax UA D AN un zZ e Z Q Gi V V Ea V Sanitel EAI Manual v1 30 EAIManual doc 86 Output Schema Interaction Result Se
9. lt soap Envelope xmlns xsi http www w3 org 2001 XMLSchema instance lt soap Body lt Export nimalOverviewResponse xmlns http Sanitrace EAL Sanit lt AnimalOverviewExport User string SecurityToken string Re lt inimal 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 H lt MRK CDG gt stringy lt MRK CDG gt l att ri b utes RBE NBR gt strina lt MRK NBR Output structure Sanitel EAI Manual v1 30 EAIManual doc 122 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 i e http qas sanitrace be in QAS Sanitel ExtInterfacingSvcs 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 http qas sanitrace be int QAS_Sanitel_ExtInterfacingS vcs SANITELSERVICES ASMX schema schemaXX with XX the schema number as defined in the table underneath schema31 AnimalExport schema25 AnimalMovementNotificationOverviewExport schema2 AnimalNotificationlmport schema28 AnimalOverviewExport schema6 ChangeNotificationImport schema34 ChangeNotificationOverviewExport schema23 ExportAnimalMovementNotificationOverviewRequest schema26 ExportAnimalOverviewRequest schema29 ExportAnimalRequest schema32 ExportCh
10. Agreement 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 Output Schema ExportAgreementOverview Das Agreement E AGRE ID long E AGRE CDE string E AGTP_CDE string E AGSA_CDE string E BEG_DTE dateTime E END DTE dateTime E REF NBR BEG string E REF NBR END string EXT greementoverviewexport AgreementOverviewExport E EXT REF BEG string E Agreement Agreement E EXT_REF_NBR_END string A User string E CDEl string A SecurityToken string E PATY CDE1 string A ReturnCode string E PATY NAM1 string A ReturnMessage string E APTP_CDE2 string E PATY_CDE2 string E PATY_NAM2 string E UPD_DTE dateTime E FCLT CDE string E FCLT NAM string E FCLT STR string E FCLT NBR string E FCLT ZIP string E FCLT CTY string http Sanitel EAT SanitelRepository SanitelServices ExportAgreementOverviewExportSchema Sanitel EAI Manual v1 30 EAIManual doc 72 Interface EXMS ExportMarkingSeriesOverview Direction Export Purpose Export Marking Series Overview Layout Documentation http qas sanitrace be int QAS Sanitel ExtInterfacingS vcs SanitelServices asmx op ExportMarkingSeriesOverview Input Schema MarkingSeriesOverviewExportRequest DSuaingseriesOverviewEsportRequest MarkingSeriesOverviewExportRequest Essere MarkingSeries E MarkingSeries MarkingSeries E SNUN_CDE string A User string
11. 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 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 902 lt MEDC_ID gt lt TMT_DTE_FRM gt 2010 07 12T00 00 00 02 00 lt TMT_DTE_FRM gt lt TMT_DTE_TO gt 2010 07 20T00 00 00 02 00 lt TMT_DTE_TO gt lt WAI_PER gt 30 lt WAI_PER gt lt Treatment gt lt Treatment gt lt NETT_CDE gt ADD lt NFTT_CDE gt lt MEDC_ID gt 867 lt MEDC_ID gt lt TMT_DTE_FRM gt 2010 07 12T00 00 00 02 00 lt TMT_DTE_FRM gt lt TMT_DTE_TO gt 2010 07 25T00 00 00 02 00 lt TMT_DTE_TO gt lt WAI_PER gt 45 lt WAI_PER gt lt Treatment gt lt FoodChainNotification gt lt FoodChainNotificationImport gt Sanitel EAI Manual v1 30 EAIManual doc 112 Import Food Chain Notification for Pigs lt xml version 1 0 encoding UTF 8 gt FoodChainNotificationImport User TESTXML xmlns http Sanitrace EAI SanitraceRepository SanitraceServices 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 02 00 lt OCR_DTE gt lt
12. AL2 STR NBR BOX ZIP MCP CTRY_CDE TPH IDP_FLG Party ProductionUnit Marking Capacity History PopulationCount Risk mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm string string string string string string string string string string string string string decimal dateTime dateTime string string string string string string string string string string string string string string string boolean Party ProductionUnit Marking Capacity History PopulationCount Risk EH Party E SPTP E CDE E NAM E REF E EXT REF NB E AU E AL2 E STR E NBR E BOX E ZIP E ay E MCP E CTRY CDE E TPH string string string string string string string string string string string string string string string REF_NBR PRC REF NBR PRC_NAM PRC_STR PRC_NBR PRC_ZIP PRC_CTY mmmmmmm RIEF rosuetionunt ProductionUnit string string string string string string string E MACT_CDE E NBR E CDG E REF_NBR PRWA_CDE SUHS_CDE PRQU_CDE ANSB_CDE POP_CNT CAG_CNT STB_CNT SUC_BRO mmmmmmmm y capacity EU Marking string string string string string string string string decimal decimal decimal string CDE RIQR_CDE RSK QAL C E E E E E E E BLST CDE E PBRS CDE E PBST CDE E PPT ST E TUBR CDE E BLO STA C E DTE FRM E DTE TO mmmmmm Risk DES RSST_CDE RIST_CD
13. BlockingReason Sanitary Reason ADMIN INADM TUST Adminstrative Reason Individual adminstrative Reason TrackingUnitStatus Sanitary Units Active ACT STP TUST INV Stopped TrackingUnitStatus Animals 1 Bovine is in Sanitary Unit inventory MOV 2 Bovine moved from Sanitary Unit Pp read DDSLH 7 Bovine is dead Slaughterhouse UNIT 8 Bovine has been exported DDRDC 10 Bovine is dead Rendac destruction facility BLCK 13 Bovine is vanished CAN X Bovine cancelled Unit Codes KG MG L DL CL ML Dosis G Tube 4 Tubes Mestkalveren Sanitel EAI Manual v1 30 EAIManual doc 37 MIYT1 Melkvee vervangingsvee jonger dan 1 jaar MAYT1 Mestvee vervangingsvee jonger dan 1 jaar MIB12 Melkvee vervangingsvee tussen 1 en 2 jaar MAB12 Mestvee vervangingsvee tussen 1 en 2 jaar MLKCW Melkkoe SCLCW Zoogkoe OTBOV Andere runderen VEOR Veterinary Order N FR F LU LU Sanitel EAI Manual v1 30 EAIManual doc 38 Interface Definition The archive underneath 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 Interface EXAN ExportAnimal Direction Export Purpose Retrieve a detailed insight of an animal A
14. im E ANML CDE string E NORS CDE string E RQS CMN string E Change Change http Sanitel EAT SanitelRepository SanitelServices ChangeNotificationImportSchema XML Example s Change of the production unit of an animal xml version 1 0 gt 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 Change lt ATRB_CDE gt PRUN_CDE lt ATRB_CDE gt lt VAL_OLD gt 5403200696 1 VAL OLD lt VAL_NEW gt 5403204437 1 lt VAL_NEW gt lt Change gt lt ChangeNotification gt lt ChangeNotificationImport gt Sanitel EAI Manual v1 30 EAIManual doc 83 Output Schema Interaction Result See definition Interaction Result Schema CHANM _ ChangeAnimal CHSNU _ ChangeSanitaryUnit ChangeFacility 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 mig
15. 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 30 EAIManual doc 136 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 Null values lt ANTP_CDE gt BOV lt ANTP_CDE gt lt SNUN_CDE gt BE10014385 0101 lt SNUN_CDE gt lt UPD_DTE_FRM 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 printin
16. 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 Simple Party Maintenance the party than generated will have an SOOOXXXX 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
17. Notice Sanitel EAI Manual v1 30 EAIManual doc 28 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 RTRN Return of passports RTRBR Return of bovine register Food chain information PRUN Production unit notification BLCK Blocking notification ISP Inspection notification NFTP NotificationFacilityType Source Destination Origin NotificationPartyType RSP Responsible TRA Transporter TRU Truck Driver VET Controlling Veterinary DLR Dealer HND Handling Party DELV Deliver Cleaner Facturation NotificationRiskChangeReason New Extension Renewal Order Item Label Ultra Allflex Europe SAS M Flex 1A Metagam BVBA Exportoormerken type M3 FLIAC M Flex 1A composite Metagam BVBA SLVIG Slachthuisvignetten M6FED Verbondsoormerken Type HRD14 Beslagoormerken blauw Couple14 AllflexEuropeSAS SRSR Senior Senior Allflex Europe SAS Sanitel EAI Manual v1 30 EAIManual doc 29 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
18. Retrieve all Slaughterhouses correct XML xml version 1 0 encoding utf 8 lt PartyOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices PartyOverviewExportRequest Schema User TESTXML SecurityToken N A ResultIndex 0 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 scenario 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 30 EAIManual doc 125 Channel 2 upload download via secured streaming page SlaughterFile and SlaughterInfo XML files to be imported can be streamed to the following secured page http qas sanitrace be int QAS_Sanitel_ExtInterfacingS vcs GenericXMLHandler ashx To access the pages you need to enter the following credentials User XML4SNTRC Password ed5R CK5 The code underneath gives an example on how to use this secured interface ex Package Channel 3 upload download via unsecured streaming page XML import files can be streamed to the following page http qas sanitrace be web OAS Sanitel Web Interfacing GenericXMLHandler ashx The code in scenario 2 can be used Just replace the URL as mentioned above and delete use
19. SNUN CDE string Anima Fm m m m m m m m m m m m m m m m m m m m m m m m m m m m m m m m m m m mmm m m m REF MACT_CDE MRK NER ANML REF NBR MER REF MER MHR 6 ANSB_CDE ANRC_CDE ANRT_CDE ASRV_CDE GNDR CDE HRTP_CDE DTE IMO_DTE DTH DTE ANDT CDE PRUN REF NER EXT GRP NER EXT SGP NER ORLNER CRENER PPPULCDE CTRY_CDEIMO VRV_IDN_CRD_FLG ABFY_CDE ABSP_CDE_BAG ADSP_CDE ANCP_CDE NRS_MHR FLG ANPR_CDE_BAG AMQL CDE ANVS_CDE ANVN_CDE VRV_NAM w n DNA_SMP_FLG DNAQ CDE MLTLETHLFLG RCE PUR History ANCO_CDE string string string string string string string string string string string dateTime dateTime dateTime string string string string string string string string string string string string string string string string string string string string string boolean string boolean boolean History string o cmm History f E VTY_CDE E VTY_NAM E RSP_CDE E RSP_NAM E RSP STR E E sep am E RSP_CTY E RSP_MCP E RSP_CTRY_CDE E BLST_CDE E BLO_STA_CMN E RIQU_CDE E RIQR E RSK QAL CMN E PPT_VRS_NBR E PPR CDE E PBST_CDE E PBRS E 5 E TUST_CDE E TUBR CDE E DTE FAM http Sanitel EAI SanitelRepository SanitelServices AnimalNotificationImportSchema XML Example s Birth Notification xml version 1 0 encoding utf 8 gt Sanitel EAI Manual v1 30
20. lt NOTP_CDE gt TMT lt NOTP_CDE gt lt OCR_DTE gt 2008 04 11T11 30 00 lt OCR_DTE gt OCR DTE END 2008 04 11T12 30 00 OCR DTE END REF NBR XXXX REF NBR CDE BOV ANTP CDE CMN Comment text CMN Party CDE HND NPTP CDE 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 TreatmentDetail Sanitel EAI Manual v1 30 EAIManual doc 104 lt ANSB_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 ANM CNT 20 ANM CNT QTY 20 QTY UNIT QTY ST UNIT CDE QTY lt TITP_CDE gt VAC1 lt TITP_CDE gt TMTP CDE SCINJ TMTP CDE TreatmentDetail TreatmentNotification lt TreatmentNotificationImport gt Output Schema Interaction Result See definition Interaction Result Schema Sanitel EAI Manual v1 30 EAIManual doc 105 Interface IMPMS ImportMarkingSeries Direction Import Purpose Submit marking series allocations Layout Documentation http qas sanitrace be in QAS Sanitel ExtInterfacingSvcs SanitelServices asmx op ImportMarkingSeries Input Schema MarkingSeriesImport 222222
21. method e g Export Animal Overview Sanitrace_SanitraceServices Click here for a complete list of operations Test The test form is only available for requests from the local machine SOAP 1 1 The following is a sample SOAP 1 1 request and response The placeholders shown needto POST int Q S Sanitrace ExtInterfacingSvcs SanitraceServices asmx H Host gas sanitrace be Content Type text xml charset utf 8 Content Length length SOiPiction http Sanitrace EAI SanitraceRepository SanitraceServ lt xml version 1 0 encoding utf 8 lt soap Envelope xmlns xsi http www w3 org 2001 XMLSchema instance lt soap Body Export inimalOverview xmlns http Sanitrace EAI SanitraceRepo lt AnimalOverviewExportRequest User string SecurityToken str lt Animal xmlns http Sanitrace EAI SanitraceRepository San lt CDE gt string lt CDE gt SANTP_CDE gt string lt ANTP_CDE gt lt PRUN_REF_NBR gt string lt PRUN_REF_NBR gt lt FCLT CDE gt string lt FCLT CDE gt lt SNUN CDE gt string lt SNUN CDE gt UPD DTE FRN gt dateTime lt UPD DTE FRH H Al l att ri b utes lt UPD_DTE_TO gt dateTime lt UPD_DTE_TO gt lt TRGR_CDE gt string lt TRGR_CDE gt lt Animal gt lt AnimalOverviewExportRequest gt lt ExportAinimalOverview gt lt soap Body gt lt soap Envelope gt Input structure HTTP i i 200 OK Content Type text xml charset utf 8 Content Length length lt xml version 1 0 encoding utf 8
22. nmmmmmmmmmmmmmmm Party CDE NAM REF_NBR EXT_REF_NBR UPD_DTE ALI AL2 STR NBR BOX ZIP CTY MCP CTRY_CDE TPH LNGE_CDE Party string string string string dateTime string string string string string string string string string string string EAIManual doc 58 Interface ExportLiablePartyOverview Direction Export Purpose Retrieves a detailed overview of Liable Party information including sensitive information such as names GSMs phone numbers Layout Documentation http qas sanitrace be int QAS Sanitel ExtInterfacingSvcs SanitelServices asmx op ExportLiablePartyOverview Input Schema LiablePartyOverviewExportRequest e E aas LiableParty E CDE string E CDE string E NAM string EX iablePartyOverviewExportRequest LiablePartyOverviewexportRequest E REF_NBR string E LiableParty LiableParty E EXT REF NBR string A User string E STR string A SecurityToken string E ZIP string A Resultindex int EI E CTRY CDE string A OnBehalfRole string E VAT NBR string A OnBehalfEntity string E TPH string A UserLanguage string E RLM RGS NBR string E VEOR CDE string E ORD NBR string E UPD DTE FRM dateTime E UPD DTE TO dateTime http Sanitel EAT SanitelRepository SanitelServices LiablePartyOverviewExportRequestSchema XML Example s Example EXLPO 1 Retrieve detail info on the Dutch speaking veterinary with ordernumber 1257 xml version 1 0 enc
23. string string string string string string string string string string string string string string string string string string string string string string dateTime EAIManual doc 79 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 CDE BOV ANTP CDE ANM CNT 1 ANM CNT ANCO CDE ALIVE ANCO CDE Party 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 lt SNUN_CDE gt BE40006931 0101 lt SNUN_CDE gt lt Facility gt lt Animal gt lt REF_NBR gt BE43332498 lt REF_NBR gt lt MACT_CDE gt BE lt MACT_CDE gt lt MRK_NBR gt 43332498 lt MRK_NBR gt ANML REF NBR MHR BE43033242 ANML REF NBR MHR ANSB CDE BOV ANSB CDE ANRT CDE MILK ANRT CDE CDE LIV ASRV 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 g
24. A OnBehalfRole string A OnBehalfEntity string A UserLanguage 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 be set with every message call The allowed languages are EN English NL Dutch FR French DE German The interaction result or exception messges are than localized in the specified language Sanitel EAI Manual v1 30 EAIManual doc 119 Interfaces Technical Usage Web Application The online application can be accessed via e http gas sanitrace 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 30 EAIManual doc 120 Channel 1 upload download via secured web service The web services can be access via htt
25. 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 VON NBR in the Animal Tag of the MovementNotificationImport XML Sanitel EAI Manual v1 30 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 I
26. Abbreviations The following abbreviations have been used ID Identification MCP Municipality RCV Receive TO AgreementComment MHR Mother RDC Rendac AL1 Adress Line 1 MLK Milk REF Reference AL2 Adress Line 2 MRK Marking RLM Realm ALT Alternate NAM Name RGS Register ANA Analyst NBR Number RQS Request ANM Animal NEW New RSK Risk ASG Assigned NRS Nourish RSP Responsible BAG Bag NUR Nursing SGP Subgroup BLO Block OCR Occur SMP Sample BNK Bank OLD Old SRC Search BOX Box ORD Order STA Status BRO Brood ORI Originator STB Stable BTH Birth PCR Producer STR Street CAG Cage PLT Plate SUC Surface CDE Code PNT Print TOT Total CDG Check Digit MLK Milk TPH Telephone CMN Comment MLP Milkproduction TRS Transporter CNT Count MRK Marking TWO Two CRD Card MO1 Month Jan UPD Update CRF Certificate M12 Month Dec VAL Value CTY City NAM Name VAT BTW TVA DES Description NBR Number VGN Vignette DLV Delivery NER NR DR VLM VLM DNA D N A NEW New VRS Version DOC Document NRS Nourish VRV DST Destination NUR Nursing VTY Veterinary DTE Date OCR Occur WGH Weight DTH Death OLD Old YER Year EMA Email ORD Order ZIP Postal Code END End ORI Originator EPO Export PCR Producer EXT Extension PLT Plate FAX Fax PNT Print FEM Female POP Population FLG Flag PPT Passport FRM From PUR Purchase FRT First QAL Qualifications Sanitel EAI Manual v1 30 EAIManual doc 16 GRP GSM GTC IDN IMO LBO LIA LIC LMS LST MAL Group GSM Genetic Identi
27. BAG string E ROG CDE string E VRV JDN CRD boolean E ANVS Ce string E CDE string E NAM string E BTH WGH decimal E FRT DLV DTE dateTime E er DTE dateTime E FRT_MUKDTE dateTime E FRT NUR DTE dateTime E LST UPD DTE dateTime E TUST_CDE string E DPR DTE dateTime E History History E Risk Risk http Sanitel EAl SanitelRepository SanitelServices AnimalExportSchema Sanitel EAI Manual v1 30 EAIManual doc 40 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 ExportMovementNotificationOverview can be used Layout Documentation http qas sanitrace be in QAS Sanitel ExtInterfacingSvcs SanitelServices asmx op ExportAnimalMovementNotificationOverv iew Input Schema E NOTF ID long E NOTP CDE string E NOKD CDE string L E NOST_CDE string KH AnimalMovementNotificationOverviewExportRequest AnimalMovementNotificationOverviewExportRequest A E DTE dateTime i E Movement Movement d E DTE TO dateTime A User string i E REF_NBR string i A SecurityToken string i E DOC_NBR string i A ReturnCode string E E LIC PLT string 1 A ReturnMessage string E CDE string A OnBehalfRole string d E ANSB_CDE string i A OnBehalfEntity string i E PATY_CDE_TRS
28. Documentation http qas sanitrace be int QAS Sanitel ExtInterfacingSvcs SanitelServices asmx op ImportAnimalPassports Input Schema Passportlmport 2 E m 1 E AnimalPassport AnimalPassport 3 E j User string E A SecurityToken string E E REF 1 A OnBehalfRole string E E PPT VRS NB string A OnBehalfEntity string E A UserLanguage string E 1 E Pe XML Example s http S anitel EAI SanitelRepository SanitelServices PassportImport Output Schema Interaction Result See definition Interaction Result Schema Sanitel EAI Manual v1 30 EAIManual doc 110 Interface IMFCI ImportFoodChainNotification Direction Import Purpose Submit food chain information notifications Layout Documentation http qas sanitrace be in QAS Sanitrace ExtInterfacingSvcs SanitraceServices asmx op ImportFoodChainNotification Input Schema FoodChainNotificationImport ESS Fooschainnotificationimport FoodChainNotificationImport E A A A A A Sanitel EAI Manual v1 30 FoodChainNotification User SecurityToken OnBehalfRole OnBehalfEntity UserLanguage FoodChainNotification string string string string string EXXFcoachainNotification FoodChainNotification
29. E ANSB_CDE string E ANRC_CDE string EH E ANRT CDE string E VTY_CDE string E ASRV_CDE string E VTY NAM string E GNDR CDE string E RSP CDE string E HRTP CDE string E RSP NAM string E BTH DTE dateTime E RSP STR string E IMO_DTE dateTime E RSP NER string E EPO DTE dateTime E RSPP string E PUR DTE dateTime E RSP_CTY string E DTH DTE dateTime E RSP_MCP string E PRUN REF string E RSP_CTRY_CDE sting E EXTLGRP_NER string E BLST_CDE string E EXT_SGP_NER string E BLO_STACMN string E FCLT_CDE_BTH string E RIQU_CDE string E FCLT CDE END string E RIQR CDE string ELI TArimaiExport E ORLNBR string E RSKQALCMN string E Animal Animal E CRF NBR string E PPT VRS NBR string A User string E CTRY CDE JMO string E PPRCDE string A SecurityToken string E E CTRY CDE EPO string E PBST CDE string RetumCode string E DNAANAFLG boolean E PPT_BLOLSTA_CM string A ReturnMessage string E DNALANA_REFINBR string E PBRS CDE string E DNA SMP_FLG boolean E TUST CDE string E DNAQ CDE sting E TUBR CDE string E VGN_FLG boolean E DTE_FRM dateTime E PPT_VRS_NBR int E PRU REF NER string E PPPRCDE m E PRC Ser MER string E ANPPPNT DTE dateTime E SNUN CDE string E VRV_FLG boolean E VRVJND CRD FLG boolean E ABFY CDE string DEI Ro E ABSP_CDE_BAG string E pes string E ADSP_CDE string E RSST_CDE string E ANCP_CDE string E RIST_CDE string E NRS MHR FLG boolean E DTE FRM dateTime E ANPR CDE BAG string E DTE TO dateTime E AMQL CDE
30. E PATY CDE SUP string A SecurityToken string E OISN CDE string A ResultIndex int EI E ALC DTE FRM dateTime A OnBehalfRole string E ALC DTE TO dateTime A OnBehalfEntity string E UPD DTE dateTime A UserLanguage string E UPD DTE TO dateTime http Sanitel EAT SanitelRepository SanitelServices ExportMarkingSeriesOverviewExportRequestSchema XML Example s Example EXMS 1 Retrieve all marking series of allocated over a certain period xml version 1 0 encoding utf 8 MarkingSeriesOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices MarkingSeriesOverviewExportRequestSchema User TESTXML SecurityToken N A gt lt MarkingSeries gt lt ALC_DTE_FRM gt 2008 10 20T00 00 00 lt ALC_DTE_FRM gt ALC DTE TO 2008 11 03T00 00 00 ALC DTE TO MarkingSeries MarkingSeriesOverviewExportRequest Example EXMS 2 Retrieve all Bovines Prime Earmark BOVM marking series allocated to a certain sanitary unit 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 BOVM lt OISN_CDE gt lt MarkingSeries gt lt MarkingSeriesOverviewExportRequest gt Sanitel EAI Manual v1 30 EAIManual doc 73 Example EXMS 3 Retrieve all Bovines Sl
31. E RSP MCP string E RSP CTRY CDE string E RSP_TPH string E TUST_CDE string E GEO 1AT decimal E GEO LON decimal E GEOX decimal E Y decimal E GXYS CDE string E GEO STR LTH decimal E GEO PLG DEF string E GS REF string E BEG DTE dateTime E END DTE dateTime E IDP_FLG boolean http Sanitel EAI SanitelRepository SanitelServices SanitaryUnitOverviewExportSchema Sanitel EAI Manual v1 30 EAIManual doc 70 Interface EXAGR ExportAgreementOverview Direction Export Purpose Export Agreement Information Layout Documentation http qas sanitrace be int QAS Sanitel ExtInterfacingSvcs SanitelServices asmx op ExportAgreementO verview Input Schema ExportAgreementOverviewExportRequest UR emeng Agreement E AGRE ID long E AGRE CDE string E REF NBR string E EXT REF NBR string UE greementOverviewExportRequest AgreementOverviewExportRequest E AGTP_CDE string E Agreement Agreement E AGSA_CDE string A User string E APTP_CDE string A SecurityToken string E PATY_CDE string A ResultIndex int E E FCLT_CDE string A OnBehalfRole string E SNUN CDE string A OnBehalfEntity string E DTE dateTime A UserLanguage string E BEG DTE FRM dateTime E BEG DTE TO dateTime E END DTE FRM dateTime E END DTE TO dateTime E UPD DTE FRM dateTime E UPD DTE TO dateTime http Sanitel EAT SanitelRepository SanitelServices ExportAgreementOverviewExportRequestSchema XML Example s Example EXAGR 1 Retrieve all agreements of a c
32. E SNUN CDE string A OnBehalfRole string E LIC PLT string A OnBehalfEntity sting E CTRY CDE FRM mesi A UserLanguage string E CTRY CDE TO string E ADPR string EH Animal E VRV IDN CRD FLG boolean E REF string E CMN string E VRS NBR int E Party Party E SLG VGN string E Facility Facility E PRUN REF NBR string E Animal Animal E PRUN IDX long E ANDT_CDE string http Sanitel EAl SanitelRepository SanitelServices MovementNotificationlmportSchema XML Example s Departure of an animal from a FARM 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 lt OCR_DTE gt 2012 06 29T00 00 00 lt OCR_DTE gt lt RCV_DTE gt 2012 07 01T06 52 05 lt RCV_DTE gt lt REF_NBR gt 1422294 lt REF_NBR gt lt ANTP_CDE gt BOV lt ANTP_CDE gt 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 Party gt lt NPTP_CDE gt RSP lt NPTP_CDE gt lt CDE gt BE600023010 lt CDE gt lt Party gt lt Party gt lt NPTP_CDE gt DLR lt NPTP_CDE gt lt CDE gt BE201609691 lt CDE gt Sanitel EAI Manual v1 30 EAIManual doc 89 lt Party gt lt Facility gt lt NFTP_CDE gt SRC lt NFTP_CDE gt CDE BE60009080 CDE
33. 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 30 EAIManual doc 2 1 10 Apr 30 2008 Extra Documentation Web Service Stub Generation 1 11 May 15 2008 Cosmetics 1 12 Jun 4 2008 Erronuously named NOTP field has been renamed to NOTF ID impacting the movement XML structures e AnimalMovementNotificationOverviewExportRequest e AnimalMovementNotificationOverviewExport ChangeNotificationOverviewExportRequest e ChangeNotificationOverviewExport e MovementNotificationOverviewExportRequest e MovementNotificationOverviewExport 1 13 Jun 10 2008 Improved Example Treatment Notification 1 14 Aug 10 2008 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 LiablePartyOverviewExport added NotificationMovementImport extended with VRV data Oct 1 2008 Party Type PATP missing documentation documentation NOST Code IVD IVLD ExportSanitaryUnit
34. EXMV ExportMovementNotificationOverview from to a certain faci MovementNotificationOverviewExportRequest MovementNotificationOverviewExport ExportPartyOverview EXPUO _ ExportProductionUnitOverview v of Parties Name Address ntact Data PartyOverviewExportRequest view of which exploitation units are Retrieve a general ov Reference Numbe Retrieve a general used at which facilities sanitary units ProductionUnitOverviewExportRequest ProductionUnitOverviewExport PartyOverviewExport EXSU ExportSanitaryUnit Retrieve detailed info about a sanitary unit Location Address Sanitary Characteristics Involved Parties Production Unit Info Marking Inventory Population Inventory Risk Information History Information SanitaryUnitExportRequest SanitaryUnitExport Retrieve a general overview of sanitary units and their key EXSUO ExportSanitaryUnitOverview characteristics SanitaryUnitOverviewExportRequest SanitaryUnitOverviewExport IEXSLO ExportSlaughteringOverview Retrieve summary statistics of slaughtered animals SlaughteringOverviewExportRequest SlaughteringOverviewExport MANN ImportAnimalNotification Submit births or import records AnimalNotificationImport Interaction Result Submit changes on an Animal a Facility a Sanitary Unit or IMCHN ImportChangeNotification leven a Party ChangeNotificationlmport Interaction Result MINN Import
35. LOT_NBR string Unique Lot Any Alphanumeric Number Poultry Only text 30 char CRF_FLG boolean Valid belplume O 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 Any valid Date All Animal Types ANM CNT SLG number Animal set up O Any numeric value Count Poultry Only NRV_FLG Boolean Nervous O 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 Manual v1 30 EAIManual doc 116 Par Pig Only CMPC_CTRY_CDE_BAG string Pig 3rd Country O 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 medicine Medicine Type Administration for Pig Only Field Type Description Allowed Values Inspection Data w Field Type Description Allowed Values Number ill only be added if IS Inspection 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 AIl Animal Types Facility Field Ty
36. RCV_DTE gt 2010 10 12T00 00 00 02 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 lt SEU_DTE gt 2010 07 12T00 00 00 02 00 SEU DTE lt DTH_FLG gt true lt DTH_FLG gt lt DIS_FLG gt true lt DIS_FLG gt lt DTH_CMT gt Death Origin should be added here lt DTH_CMT gt lt DIS_CMT gt Disease Origin should be added here lt DIS_CMT gt lt INFL_TMT_FLG gt true lt INFL_TMT_FLG gt lt ANTIB_TMT_FLG gt false lt ANTIB_TMT_FLG gt lt ANTI_TMT_FLG gt true lt ANTI_TMT_FLG gt lt RSK_SNU_FLG gt lt RSK_SNU_FLG gt lt CMPC_CTRY_CDE_BAG gt AU CN CO lt CMPC_CTRY_CDE_BAG gt lt Party gt 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
37. 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 NOTF3 REF NBR CDE BOV ANTP 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 SMP REF NBR BAG 1 SMP REF NBR BAG Party CDE RSP NPTP CDE 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 Sanitel EAI Manual v1 30 EAIManual doc 101 lt RIIM_CDE gt B lt RIIM_CDE gt lt RIST_CDE gt 1 lt RIST_CDE gt RSST CDE 2 RSST CDE RIST APT 1 RIST RSST APT 4 RSST RiskItem RiskNotification RiskNotificationImport Output Schema Interaction Result See definition Interaction Result Schema Field Descriptions M Mandatory O Optional C Condition Conditional depend on value of other field RiskNotification Sanitel EAI Manual v1 30 condition Field Type Description Allowed Values NOTP CDE string Notification Type M All a
38. 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 Code Name EXAN ExportAnimal Allows an external application to Input XML Schema Name Retrieve a d risk status d insight of an animal All characteristics ory AnimalExportRequest Result XML Schema Name JAnimalExport Retrieve an over vi movements of a certain animal EXAMN ExportAnimalMovementNotificationOverview from a certain facility AnimalMovementNotificationOverviewExportRequest AnimalMovementNotificationOverviewExport IEXANO ExportAnimalOverview Retrieve an overview of ani Is and their key characteristics AnimalOverviewExportRequest AnimalOverviewExport EXFAO ExportFacilityOverview EXCNO ExportChangeNotificationOverview Retrieve an overview of changes to a Facility a Sanitary Unit Retrieve a general overview of facilities name address Infor reference numbers liable party d mi FacilityOverviewExportRequest or Animal characteristics ChangeNotificationOverviewExportRequest ChangeNotificationOverviewExport FacilityOverviewExport Retrieve a detailed insight in a movement involved parties EXMVN_ ExportMovementNotification involved facilities involved animals MovementNotificationExportRequest MovementNotificationExport Retrieve of movements of a certain animal
39. 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 SAVing 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 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 Frenc
40. 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 TRASYS certificates can be used 5 Q What is the difference between a Party and a Facility 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 multiple 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 30 EAIManual doc 134 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 Iget PATY CDE mandatory FCLT CDE mandatory messages What do they mean x A I 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
41. 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 Animal MovementNotification MovementNotificationImport Output Schema Interaction Result See definition Interaction Result Schema Sanitel EAI Manual v1 30 EAIManual doc 93 Interface IMPPN ImportPopulationNotification Direction Import Purpose Submit population inventory results Layout Documentation http qas sanitrace be in QAS Sanitel ExtInterfacingS vcs SanitelServices asmx op ImportPopulationNotification Input Schema PopulationNotificationImport E NOKD CDE string D Party E PEP opulationNotificationimport PopulationNotificationImport OCR DTE Gesiit E NPTP_CDE string SESCH Em E RCV DTE dateTime E CDE strin E PopulationNotification PopulationNotification 3 PATES vum E REF NBR string A SecurityToken ai E DOC NER SCH A ty a E E ANTP_CDE string 222 OnBehalfRole string E ESP opulationcount PopulationCount A OnBehalfEntity s
42. gt lt Treatment gt lt NFTT_CDE gt ADD lt NFTT_CDE gt lt MEDC_ID gt 902 lt MEDC_ID gt lt TMT_DTE_FRM gt 2010 07 12T00 00 00 02 00 lt TMT_DTE_FRM gt lt TMT_DTE_TO gt 2010 07 20T00 00 00 02 00 lt TMT_DTE_TO gt lt WAI_PER gt 30 lt WAI_PER gt lt Treatment gt lt Treatment gt lt NETT_CDE gt ADD lt NFTT_CDE gt lt MEDC_ID gt 867 lt MEDC_ID gt lt TMT_DTE_FRM gt 2010 07 12T00 00 00 02 00 lt TMT_DTE_FRM gt lt TMT_DTE_TO gt 2010 07 25T00 00 00 02 00 lt TMT_DTE_TO gt lt WAI_PER gt 45 lt WAI_PER gt lt Treatment gt lt FoodChainNotification gt lt FoodChainNotificationImport gt Sanitel EAI Manual v1 30 EAIManual doc 113 Import Food Chain Notification for Poultry xml version 1 0 encoding UTF 8 gt lt FoodChainNotificationImport User TESTXML xmlns http Sanitrace EAI SanitraceRepository SanitraceServices 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 02 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 50 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 lt LOT_NBR gt 560000
43. lt LOT_NBR gt lt CRF_FLG gt true lt CRF_FLG gt lt DTH_RTE gt 20 lt DTH_RTE gt lt ANM_CNT_SLG gt 30 lt ANM_CNT_SLG gt lt SEU_DTE gt 2010 07 12T00 00 00 02 00 SEU DTE ISP FLG true ISP FLG Party CDE TRA NPTP CDE 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 lt SNUN_CDE gt BE50059047 0301 lt SNUN_CDE gt lt Facility gt lt Facility gt XNFTP CDE DST NFTP CDE 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 lt MEDC_ID gt 902 lt MEDC_ID gt lt TMT_DTE_FRM gt 2010 07 12T00 00 00 02 00 lt TMT_DTE_FRM gt lt TMT_DTE_TO gt 2010 07 20T00 00 00 02 00 lt TMT_DTE_TO gt lt WAI_PER gt 30 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 lt RAW_MAT_SUR_NAM gt lt Treatment gt lt Treatment gt lt NFTT_CDE gt MED lt NFTT_CDE gt lt MEDC_ID gt 867 lt MEDC_ID gt lt TMT_DTE_FRM gt 2010 07 12T00 00 00 02 00 lt TMT_DTE_FRM gt lt TMT_DTE_TO gt 2010 07 20T00 00 00 02 00 lt TMT_DTE_TO gt lt WAI_PER gt 30
44. 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 850 lt MEDC_ID gt lt ANM_AGE gt 10 lt ANM_AGE gt lt Treatment gt lt FoodChainNotification gt lt FoodChainNotificationImport gt Sanitel EAI Manual v1 30 EAIManual doc 114 Import Food Chain Notification for Sheep Goat Deer lt xml version 1 0 encoding UTF 8 gt FoodChainNotificationImport User TESTXML xmlns http Sanitrace EAI SanitraceRepository SanitraceServices FoodChainNotificationImportSchema 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 02 00 lt OCR_DTE gt lt RCV_DTE gt 2010 10 12T00 00 00 02 00 lt RCV_DTE gt 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 gt lt SEU_DTE gt 2010 07 12T00 00 00 02 00 lt SEU_DTE gt lt DTH_FLG gt true lt DTH_FLG gt lt DIS_FLG gt true lt DIS_FLG gt lt DTH_CMT gt Death Origin should be added here lt DTH_CMT gt lt DIS_CMT gt Disease Origin should be added here lt DIS_CMT gt lt SLRN_CDE gt ORSL lt SLRN_CDE gt lt ISP_FLG gt true lt ISP_
45. lt ArgumentsCSV gt PAMI 5 Origin Facility lt ArgumentsCSV gt lt Reference gt EAIManual doc 140 Support Online VIA the online bug feature tracker IssueMaintenancePage aspx General Helpdesk Dirk Vanschoor favv be Technical Issues sven claessens hp com Functional Issues Diederik Degryse hp com sven claessens hp com All other Project Issues Diederik Degryse hp com All other Sanitel Issues Jean Marie Robijns favv be Sanitel EAI Manual v1 30 EAIManual doc 141
46. string A UserLanguage string d E FCLT CDE string M EE E ZIP string E ANML_REF_NBR string E UPD_DTE_FRM dateTime E UPD DTE TO dateTime http Sanitel EAV SanitelRepository SanitelServices AnimalMovementNotificationOverviewExportRequestSchema 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 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 lt Movement gt lt AnimalMovementNotificationOverviewExportRequest gt Example EXAMN 2 All arrivals of bovines to a certain slaughterhouse in a certain period xml version 1 0 encoding utf 8 AnimalMovementNotificationOverviewExportRequest Sanitel EAI Manual v1 30 EAIManual doc 41 xmlns 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 CDE BOV ANTP lt FCLT_CDE gt BE92700117 lt FCLT_CDE gt lt Movement gt lt A
47. v1 30 EAIManual doc 106 Interface IMPST ImportStatusUpdateNotification Direction Import Purpose Submit a status update notification currently limited to treatments but extendable to other notifications Layout Documentation http qas sanitrace be int QAS Sanitel ExtInterfacingSvcs SanitelServices asmx op ImportStatusUpdateNotification Input Schema StatusUpdateNotificationimport EXSatusUpdeteNotificationmport StatusUpdateNotificationImport GE IE tusUpdateNotification StatusUpdateNotification N d A E StatusUpdateNotification StatusUpdateNotification E NOTE ID inn A User string a A SecurityTok tri E NOTP CDE string F OR zn E E string A OnBehalfRole string f E REF NER SC 1 A OnBehalfEntity string z P E WF ACT strin A UserLanguage string T 3 1 http Sanitel EAT SanitelRepository SanitelServices StatusUpdateNotification mportSchema XML Example 1 cancelling a treatment via notification id 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 XML
48. 101 IEFFZP0043R BE30041613 0101 SK90266814 BE30041613 0101 SK93232165 BE30041613 0101 Sanitel EAI Manual v1 30 EAIManual doc 138 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 EAE 22 Q Are we forced to use Security 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 Q How should we read
49. 222 7 MarkingSeries MarkingSeries E MACT_CDE string 7 E ANTP_CDE string BEIN cingseriesimport MarkingSeriesImport A E ALC_DTE dateTime 7 E MarkingSeries MarkingSeries E SEQ_BEG string A User string E SEQ END string 7 A SecurityToken string hi E CNT int A A OnBehalfRole string E CDE string i A OnBehalfEntity string i E MSAL CDE string A UserLanguage string E FCLT_CDE string E SNUN CDE string E CMN string 7 E REF NBR string http Sanitel EAT SanitelRepository SanitelServices MarkingSeriesImportSchema XML Example s XML Example 1 Manually allocating earmarks xml version 1 0 encoding utf 8 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 ALC DTE 2012 07 01T23 09 25 ALC DTE SEQ BEG 020001 SEQ DEG SEQ END 020500 SEQ END lt CNT gt 588 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 Sanitel EAI Manual
50. Country BELGIUM BE DE FR FRANCE GB GERMANY 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 facility FARM Cattle farm MRKT Cattle market SLGHS _ Slaughterhouse ASMYA Acknowledged Assembly place Sanitel EAI Manual v1 30 EAIManual doc 24 ASMYP Allowed Assembly place PCKUP _ Pick up point MED Medical Research centre HSPTL Animal Hospital PRCTC Animal practice QRTNE Quarantaine Stable FDTN Federation DEST Destruction Company CITY Municipality FacilityLocationType Foundation Meadow 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 Site Gender Female Male Unknown Ox Hairtype Blue White Dark Brown Gray Light Brown Mouse Brown Red Red White W White WBL White Blue WR White Red WZ White Black BL Black Sanitel EAI Manual v1 30 EAIManual doc 25 BLW Black White Language Dutch French German Marking Series Allocation Allocation manually Recuperation for destruction Recuperatio
51. E E RTPCDE string A ReturnCode string Bloe NE string E au string A ReturnMessage string E EPO CRF NER string E a string bg otiticationtocati notificationtoca d E CTRY CDE EPO string m CH ca E IMO CRF string string CTRY CDE IMO string im m TEE E Party Party E MCP string E A string E Facility Facility CE string ESTR string H string E NBR stri Elaa gem E SanitaryUnit SanitaryUnit E BOX pum E NotificationLocation NotificationLocation E string Em string E MCP string BE Jan al E CTRY_CDE string REF NBR string E EXT REF NER string E BTH DTE string LL HRTP_CDE string E GNDR_CDE string E ANRC_CDE string E ANML_MRK_NBR string E ANRT_CDE string http Sanitel EAI SaniteIRepository SanitelServices MovementNotificationExportSchema Sanitel EAI Manual v1 30 EAIManual doc 56 Interface ExportPartyOverview Direction Export Purpose Retrieve a general overview of Parties Name Address Reference Numbers Contact Data Layout Documentation http qas sanitrace be int QAS Sanitel ExtInterfacingS vcs SanitelServices asmx op ExportPartyOverview Input Schema PartyOverviewExportRequest DEP Party E PATP CDE string E CDE string EX 0verviewExportRequest PartyOverviewExportRequest E NAM string E Party Party E REF_NBR string A User string E EXT_REF_NBR string A SecurityToken string E STR string A Resultindex int E E ZIP string A
52. E DTE_FRM DTE TO RIOG CDE mmmmmm string string string string string string string string string string string string dateTime dateTime PopulationCount PopulationCount PRUN_CDE ANSB_CDE AGEC_CDE MAL_CNT FEM_CNT TOT_CNT string string string decimal decimal decimal g string string dateTime dateTime string http Sanitel EAT SanitelRepository SanitelServices SanitaryUnitExportSchema Sanitel EAI Manual v1 30 EAIManual doc 67 Interface EXSUO ExportSanitaryUnitOverview Direction Export Purpose Retrieve a general overview of sanitary units and their key characteristics Layout Documentation http qas sanitrace be int QAS Sanitel ExtInterfacingSvcs SanitelServices asmx op ExportSanitaryUnitOverview Input Schema SanitaryUnitOverviewExportRequest L E Sen SanitaryUnit E SUTP_CDE string a 2 E CDE string EIS anitaryunitOverviewexportRequest SanitaryUnitOverviewExportRequest E NAM tri E SanitaryUnit SanitaryUnit E REF NBR A User E EXT REF NBR string A SecurityToken string E ZIP string A ResultIndex E FCLT CDE string A OnBehalfRole string E PRUN REF MER strin A OnBehalfEntity string E PATY CDE RSP i A UserLanguage string E ANTP CDE si E UPD DTE FRM dateTime E UPD DTE TO dateTime http Sanitel EAT SanitelRepository SanitelServices SanitaryUnitOverviewExportRequestSchema XML Example s Example EXSUO 1 Retrieve all sanitar
53. E gt lt BTH_WGH gt lt BTH_WGH gt lt DNA_SMP_FLG gt false lt DNA_SMP_FLG gt lt MLT_BTH_FLG gt false lt MLT_BTH_FLG gt lt RCE_PUR_FLG gt false lt RCE_PUR_FLG gt Animal AnimalNotification lt AnimalNotificationImport gt Dead born calf notification marked xml version 1 0 encoding utf 8 gt 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 lt RCV_DTE gt 0001 01 01T00 00 00 lt RCV_DTE gt lt ANTP_CDE gt BOV lt ANTP_CDE gt lt ANM_CNT gt 1 lt ANM_CNT gt lt ANCO_CDE gt DDMKD lt ANCO_CDE gt lt Party gt lt NPTP_CDE gt RSP lt NPTP_CDE gt 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 lt MRK_NBR gt 48600665 lt MRK_NBR gt lt ANML_REF_NBR_MHR gt DE 0346949849 3 lt ANML_REF_NBR_MHR gt 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 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
54. E gt FR lt MACT_CDE gt lt MRK_NBR gt 5940143152 lt MRK_NBR gt lt ANML_REF_NBR_MHR gt FR5940183831 lt ANML_REF_NBR_MHR gt lt ANSB_CDE gt VCALF lt ANSB_CDE gt lt ANRT_CDE gt MILK lt ANRT_CDE gt lt GNDR_CDE gt FEM lt GNDR_CDE gt lt HRTP_CDE gt BLW lt HRTP_CDE gt lt PPPU_CDE gt NRM lt PPPU_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 30 EAIManual doc 82 Interface IMCHN ImportChangeNotification Direction Import Purpose Submit changes on an Animal a Facility a Sanitary Unit or even a Party Layout Documentation http gas sanitrace be int QAS_Sanitel ExtInterfacingSvcs SanitelServices asmx op ImportChangeNotification Input Schema ChangeNotificationImport E NOTP_CDE string E NOKD_CDE string E OCR DTE dateTime EF changeNotificationimport ChangeNotificationImport E SE E ChangeNotification ChangeNotification E DOC NBR china Li E ANTP string E ATRB CDE string A OnBehalfRole SC E E ANTPCDEALT string E E vALOLD string a E PATY_CDE string E VAL_NEW string A OnBehalfEntity string Eure Ee A UserLanguage string E dn
55. E gt MMARV lt NOTP_CDE gt lt OCR_DTE gt 2012 06 30T14 00 00 lt OCR_DTE gt lt RCV_DTE gt 2012 07 02T17 46 25 lt RCV_DTE gt lt REF_NBR gt 1423784 lt REF_NBR gt 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 lt CDE gt BE67000658 lt CDE gt Sanitel EAI Manual v1 30 EAIManual doc 90 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 MovementNotificationIm
56. ER 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 30 EAIManual doc 77 Output Schema WaterManureAllocationOverview E vER string E FRM DTE dateTime TO DTE dateTime E SNUN_CDE string E NAM string E REF NER string E EXT REF NBR string E ANTP CDE string E ANSB BAG string E SUKD CDE string E FCLT CDE string E FCLT NAM string E au string E AG string E STR string E NER string E BOX string E ap string E ay string E MCP string E CTRY CDE string E3iswsteanureattocstionExport WaterManureAllocationExport cor a aterManureAnimalAllocation WaterManureAnimalAllocation WaterManureAllocation WaterManureAllocation E ANML CDE string User string era E FRM_DTE dateTime SecurityToken string B string E E TO DTE dateTime ReturnCode string E VATP string er n RSP_ALI string Elan cae n eturnMessage string E RSP AL pres T string E RSP STR string E RSP NER string E RSP BOX string E RsP string E RSP_CTY string E RSP_MCP string E RSP_CTRY_CDE string QTY long E M02_MLP_QTY long MME long E Mo4_MLP_QTY long E M05 QTY long E M06 ME QTY long E M07 MLP QTY long E M08 QTY long E M09 MLP QT
57. 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 StatusUpdateNotificationImport gt Output Schema Interaction Result See definition Interaction Result Schema Sanitel EAI Manual v1 30 EAIManual doc 107 InteractionResult Purpose Schema to give feedback regarding an import of information Schema hi eEntry MessageEntry StatusCode Status e E Code int Summary string E Description string Reference string E Pattern string string string Details ArrayOfMessa E Argume E Referenc F enumeration Success F enumeration Error F enumeration Warning http Sanitel EAT SanitelRepository InteractionResult On success you receive an interaction result like shown underneath Important is the StatusCode Success and the Reference 868538067 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 ImportChangeNotificationU
58. FLG gt lt Party gt 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 XNFTP CDE SRC NFTP CDE lt CDE gt BE70062079 lt CDE gt lt SNUN_CDE gt BE70062079 0501 lt SNUN_CDE gt lt Facility gt lt Facility gt XNFTP CDE DST NFTP CDE 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 902 lt MEDC_ID gt lt TMT_DTE_FRM gt 2010 07 12T00 00 00 02 00 lt TMT_DTE_FRM gt lt TMT_DTE_TO gt 2010 07 20T00 00 00 02 00 lt TMT_DTE_TO gt lt WAI_PER gt 30 lt WAI_PER gt lt Treatment gt lt FoodChainNotification gt lt FoodChainNotificationImport gt Output Schema Interaction Result Sanitel EAI Manual v1 30 EAIManual doc 115 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 O All animal Types OCR DTE dateTime Notific
59. Import Purpose Submit treatments e g Bluetongue into Sanitel Layout Documentation http qas sanitrace be in QAS Sanitel ExtInterfacingSves SanitelServices asmx op ImportTreatmentNotification Input Schema TreatmentNotificationimport aH reatmentNotification TreatmentNotification E NOTP CDE E NOKD CDE ay reatmentNotificationImport TreatmentNotificationImport E OCR DTE E TreatmentNotification TreatmentNotification E OCR DTE END A User string E RCV DTE A SecurityToken string B E REF NBR A OnBehalfRole string E DOC_NBR A OnBehalfEntity string E ANTP_CDE A UserLanguage string E CMN E Party E Facility E TreatmentDetail string string dateTime dateTime dateTime string string string string Party Facility TreatmentDetail EP Party E NPTP CDE string E CDE string Dey Facility E NFTP CDE string E CDE string E FALO REF NBR string E SNUN CDE string aH reatmentDetail TreatmentDetail E ANSB CDE string E TMLV CDE string E MEDC CDE string E IDN string E ANM_CNT int E decimal E UNILCDE QTY string E TITP_CDE string E TMTP_CDE string http Sanitel EAI SanitelRepository SanitelServices TreatmentNotificationImportSchema XML Example s 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
60. L MRK NBR string CDG string CNT string mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm http Sanitel EAT SanitelRepository SanitelServices ExportRetaggingNotificationOverviewExportSchema Sanitel EAI Manual v1 30 EAIManual doc 76 Interface EXWMA ExportWaterManureAllocation Direction Export Purpose Export Water Manure Allocation so that Water and Manure production Layout Documentation http gas sanitrace be int QAS_Sanitel ExtInterfacingSvcs SanitelServices asmx op ExportWaterManureAllocation Input Schema WaterManureAllocationOverviewExportRequest WzterManureAllocation ExportRequest WaterManureAllocation ExportRequest E WaterManureAllocation WaterManureAllocation User n XSiwstervanureAllocation WaterManureAllocation A SecurityToken string E SNUN CDE A Resultindex int E VER cidem A OnBehalfRole string A OnBehalfEntity string A UserLanguage string http Sanitel EAT SanitelRepository SanitelServices WaterManureAllocationExportRequest XML Example s Example EXWMA 1 Retrieve the water and manure allocations for a number of Sanitary Units xml version 1 0 encoding utf 8 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 Y
61. LDS address CHFCY ACDSI Change Certified C amp D installation address CHFCY NAMD Change natural meadow address CHFCY DLV Change delivery address CHFCY Sanitel EAI Manual v1 30 EAIManual doc 27 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 Change veterinary practice data CHPTY DEPOT Change depot address CHPTY PRSCR Change prescription address CHPTY LEGAL Change legal contact data CHPTY BSE BSE Inspection ISP DRF Draft CAN2 Cancelled ENT Entered APTPS Accepted Pending Synchronisation REJPS Rejected Pending Synchronisation APT Accepted REJ Rejected IVLD Invalid NEW New SUBM Submitted SPLTN Split SPLTW Awaiting Split SUBMF Submitted Fed IVLPS Invalid Pending Synchronisation ENTPS Entered Pending Synchronisation OBS Obsolete ALL All except split NOTP NotificationType ARBTH Birth ARIMO Import MMEPO Export MMDPR Departure MMARY Arrival MMLOD Load MMUNL Unload MMIMO Import movement MMDPS Departure Sighs MMDPD Departure Disposal MMTRS Transport MMDST Arrival Disposal MMSLG Arrival Slghs CHANM ChangeAnimal CHSNU ChangeSanitaryUnit CHFCY ChangeFacility CHPTY ChangeParty NOTC
62. O ExportMovementNotificationOverview iii 53 Interface EXMVN ExportMovementNotification iii 55 Interface EXPAO Export PartyOVervie ws able nets nn 57 Interface EXPUO ExportProductionUnitOverview ss 61 Interface EXPU erter eerste eebe Deet 64 Interface EXSU ExportS amtary Ult ae aa 66 Interface EXSUO ExportSanitaryUnitOverview ss 68 Interface EXAGR ExportA sreemetitOverview ena eter ere terna apertos eh tno en bonus 71 Interface EXMS ExportMarkingSerieSOVervieW iii 73 Interface EXRNO ExportRetaggingNotificationOverview i 75 Interface EXWMA ExportWaterManureAllocation esee eene 77 Interface IMAN ImportAnimalNotifie tion u seen 79 Interface IMCHN ImportChangeNotification ss 83 Interface IMINN ImportInventoryNotification enne enne nennen nenne 86 Interface IMMWN ImportManureWaterNotification ene 88 Interface IMMVN ImportMovementNotification ss 89 Interface IMPPN ImportPopulationNotification ss 94 Interface IMPUN ImportProductionUnitNotification ss 96 Interface IMRTN ImportRetaggingNotification eere eene 99 Interface IMRSN ImportRiskNotification eene eene enne enne 101 Interface IMTMN ImportTreatmentNotification ss 104 Interface IMPMS ImportMarkingSerieS i 106 Sanitel EAI Manu
63. OnBehalfRole string E CTRY_CDE string A OnBehalfEntity string E VAT_NBR string A UserLanguage string E TPH string E RLM_RGS_NBR string E UPD DTE dateTime E UPD DTE TO dateTime http Sanitel EAT SanitelRepository SanitelServices PartyOverviewExportRequestSchema XML Example s Example EXPAO 1 Retrieve transporter Wuyts or Wuits or whatever WU xml version 1 0 encoding utf 8 PartyOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices PartyOverviewExportRequestSchema User TESTXML SecurityToken N A ResultIndex 0 Party CDE TRNS PATP lt NAM gt WU lt NAM Party lt PartyOverviewExportRequest gt Example EXPAO 2 Retrieve all Slaughterhouses xml version 1 0 encoding utf 8 PartyOverviewExportRequest xmlnsz http Sanitel EAI SanitelRepository SanitelServices PartyOverviewExportRequestSchema Sanitel EAI Manual v1 30 EAIManual doc 57 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 EAT SanitelRepository SanitelServices PartyOverviewExportSchema L E Eet PartyOverviewExport E Party Party A User string A SecurityToken string A ReturnCode string A ReturnMessage string Sanitel EAI Manual v1 30
64. R DTE CDE BOV ANTP CDE ANSB CDE VCALF ANSB CDE ANCO CDE DEAD ANCO Party CDE DLR NPTP CDE lt CDE gt BE03313736 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 Facility gt lt NFTP_CDE gt DST lt NFTP_CDE gt lt CDE gt BE 3313736 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 Arrival at Rendac Simple Sanitel EAI Manual v1 30 EAIManual doc 92 Registering an Export Movement xml version 1 0 encoding utf 8 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 OCR DTE 2011 11 05T13 19 28 OCR DTE DOC NBR INTRA BE 2008 0029632 V1 DOC 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
65. Sanilux naming and the be suffix needs to be changed to lu Le http qas sanitrace be int QAS Sanitel ExtInterfacingSvcs GenericXMLHandler ashx will become http qas sanitrace lu int QAS Sanilux ExtInterfacingSvcs GenericX MLHandler ashx http qas sanitrace lu int QAS Sanilux ExtInterfacingSvcs GenericXMLHandler ashx Schema definition like http Sanitel EAV SanitelRepository SanitelServices RiskNotificationlmportSchema are unchanged Sanitel EAI Manual v1 30 EAIManual doc 128 Production URLs All URLs specified contain the word QAS at 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 L http prd sanitrace be int PRD_Sanitel ExtInterfacingSvcs GenericXMLHandler ashx or for Luxembourg http prd sanitrace lu int PRD_Sanilux_ExtInterfacingSvcs GenericX MLHandler ashx Sanitel EAI Manual v1 30 EAIManual doc 129 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 f
66. Unit gt lt PRUN_REF_NBR gt 10179333123 lt PRUN_REF_NBR gt lt PRUN_IDX gt 1 lt PRUN_IDX gt lt PRC_REF_NBR gt lt PRC_REF_NBR gt lt PRC_NAM gt 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 Sanitel EAI Manual v1 30 EAIManual doc 97 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 ProductionUnitNotification gt lt ProductionUnitNotification gt OCR DTE 2011 01 30T17 46 29 OCR DTE REF NBR 10179333 REF NBR SNUN CDE BE10179333 0101 SNUN lt ProductionUnit gt lt ProductionUnitNotification gt 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 e No PRUN e No animals attached 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 thePRUNS of SNUN ABC e PRUN XXX might have been updated but retains all its ani
67. Y long M10 ME QTY long E M11 MLP QTY long E M12 QTY long E vu ASG NER long E WaterManureAnimalAllocation WaterManureAnimalAllocation http Sanitel EAT SanitelRepository SanitelServices ExportWaterManureAllocationOverviewExportSchema It 15 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 30 EAIManual doc 78 Interface IMAN ImportAnimalNotification Direction Import Purpose Submit births or import records Layout Documentation http qas sanitrace be int QAS Sanitel ExtInterfacingSvcs SanitelServices asmx op ImportAnimalNotification Input Schema AnimalNotificationimport TAnimalNotficationi E NOTP_CDE E NOKD_CDE E OCRDTE E RCV_DTE Dsiecesneerescoctieoliarms Nosfestorinod E REF E AnimalNotification AnimalNotification E DOC A User string E ANTP_CDE A SecurityToken string E ANM CNT OnBehalfRole string B EANCO_CDE A OnBehalfEntity string E CRF NER Userlanguage string E uc E CTRY_CDE_FRM E CTRY CDE TO E CMN E Party E Facility E Animal string string dateTime dateTime string string string int string string string string string string Party Facility Animal E E CDE string CDE string DE Faciity mmmm NFTP_CDE string CDE string REF NER sting
68. acilities Sanitel EAI Manual v1 30 EAIManual doc 35 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 Pigs for fattening unit MXDC Mixed unit PETC Pet pig unit Poultry unit BIRCY Bird unit Sheep unit GTCY Goat unit DRCY Deer unit WPGCY Wild pig unit FISH Fish unit MLSC Mollusc unit CRTSC Crustaceae unit 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 Treatment Item Type 1st Vaccination 2nd Vaccination Last Vaccination Repeated Vaccination Prime Vaccination Treatment Aftercare Treatment Level Group TMTP Individual Treatment T Sanitel EAI Manual v1 30 EAIManual doc 36 SCINJ SC injection IDINJ ID injection IMINJ IM injection ININJ IN injection IVINJ IV injection IMMIJ IMM injection IPINJ IP injection ORALW Oral use water ORALF Oral use feed POUR Pour on methode BOLUS _ Bolus WASH Wash spray dip INFUS Infuus vochttherapie UND Undefined TUBR SANR
69. al v1 30 EAIManual doc 5 Interface IMPST ImportStatusUpdateNotification i 107 irs ete iter asolo 105 Interface IMFCI ImportFoodChainNotification esee 111 Working On Bell Or ee 119 Eocalized Error Messages nee 119 Interfaces Technical Usage aaa Earl 120 Web Application pd Dp i 120 Channel 1 upload download via secured web service ss 121 Channels kee Eeer ei 124 Channel 2 upload download via secured streaming page 126 Channel 3 upload download via unsecured streaming page 126 Channel 4 upload download via web page esseeessseseessssessssessrrstseresessrestsreesrsseesreseesresesse 127 URL Summary E 128 The Lux mbours URLS aee prr E E EE E Re 128 Production URLS sau a aan 129 WebService Security ie die A RR ini ni ilo 130 QUOSHOD EE 134 Lola 141 Sanitel EAI Manual v1 30 EAIManual doc 6 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 Form
70. al SOAP 1 web services XML Streaming and manual XML uploads The Web Services are meant to complement other usage of the Sanitel Net application 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 30 EAIManual doc 7 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 Name ExportAnimal Allows an external application to Retrieve a detailed insight of an animal All characteristics risk status history Retrieve an overview of movements of a certain EXAMN ExportAnimalMovementNotificationOverview animal from to a certain facility Retrieve an overview of animals and their key ExportAnimalOverview characteristics Retrieve an overview of changes to a Facility a EXCNO ExportChangeNotificationOverview Sanitary Unit or Animal characteristics Retrieve a general overview of facilities name address infor reference numbers liable EXFAO ExportFacilityOverview party details Retrieve a detailed insight in a move
71. 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 xml version 1 0 encoding utf 8 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 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 xml version 1 0 encoding utf 8 ProductionUnitExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices ProductionUnitExportRequestSchema User TESTXML SecurityToken N A ResultIndex 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 Sanitel EAI Manual v1 30 EAIManual doc 64 DTE TO 2007 11 30T23 59 59 DTE TO ProductionUnit lt ProductionUnitExportRequest gt Example EXPU 3 Retrieve all production unit details
72. angeNotificationOverviewRequest schema35 ExportFacilityOverviewRequest schema38 ExportMovementNotificationOverviewRequest schema41 ExportMovementNotificationRequest schema44 ExportPartyOverviewRequest schema47 ExportProductionUnitOverviewRequest schema50 ExportSanitaryUnitOverviewRequest schema53 ExportSanitaryUnitRequest schema37 FacilityOverviewExport schema9 InventoryNotificationlmport schema43 MovementNotificationExport schema12 MovementNotificationlImport schema40 MovementNotificationOverviewExport schema46 PartyOverviewExport schema15 PopulationNotificationImport schema18 ProductionUnitNotificationImport schema49 ProductionUnitOverviewExport schema21 RiskNotificationImport Sanitel EAI Manual v1 30 EAIManual doc 123 The zip file underneath gives a Net example on how to make calls to the Web Service ex E Package Since Microsoft Patch 928365 the behavior of the XSD tool is definitively prohibiting the use of anonymous types System Xml Serialization XmlTypeAttribute AnonymousType true The effect is the following stub generation strategy WSDL SOAP Envelope lt xml version 1 0 encoding uct 5 gt lt scap Envelope xmlns xsi http www v3 0rg 2001 XMLSchema instance xmlns xsd http vww w3 0rg 2001 XMLSc ap Bod 2 hrtp Sanitrace EAI SanitcaceRepository Sanitrace3ervices Export Animal Request te ques sc User string SecurityToken string gt ulns h
73. anitel EAl SanitelRepository 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 lt ID gt 101329496607 lt ID gt lt Movement gt lt Movement gt lt ID gt 101329496608 lt ID gt lt Movement gt lt MovementNotificationExportRequest gt Sanitel EAI Manual v1 30 EAIManual doc 55 Output Schema MovementNotificationExport Party Party E NPTP_CDE string E CDE string E NAM string E REF NER string E EXT REF NBR string E au string E AL2 string E STR string E NBR string E BOX string E ap string E cy string Deen Movement E MCP string Em long E CTRY_CDE string E NOTP CDE string E TPH string SanitaryUnit San E NOKD_CDE string E string E NOST_CDE string E CDE string EL Kom J o a E REF re Ste E string a EXT_REF_NBR string E EXT_REF NBR string SIE SERI SUD CDE stg Elks MovementNotiticationtxport MovementNotifi ionExport ETANIP DE string E ANSB_CDE BAG string E Movement Movement am E REF NER string E RDC NER string A User string Elan Gir EXT_REF_NBR string E BLST_CDE string A SecurityToken string F Brem
74. ation 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 Types ADPR_CDE string Animal Departure C VRV_IDN_CRD_FLG true See Valid codes Reason All animal Types VRV_IDN_CRD_FLG Boolean VRV O True or False Identification card All animal Types CMN string Comment O Any Alphanumeric All animal Types text 250 char DTH_FLG Boolean Death O True or False All animal Types except Poultry DIS FLG Boolean Disease O 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 O 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 Any Alphanumeric Poultry Only text 30 char
75. aughtering Earmark BOVM marking series allocated to a certain sanitary unit 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 Output Schema MarkingSeriesOverviewExport UA cingseries MarkingSeries UPD_DTE dateTime OISN CDE string string OILB CDE string CTRY string ORIM CDE string REF NBR string E ANTP CDE string E SEQ BEG string E SEQ END string E MACT CDE string E MARK NBR string E CNT string E SNUN CDE string MarkingSeriesOverviewExport MarkingSeriesOverviewExport E NAM string E MarkingSeries MarkingSeries E STR string A User string E NBR string A SecurityToken string E E ZIP string A ReturnCode string E CTY string A ReturnMessage string E MCP string E ALC_DTE dateTime E E E E E E E http Sanitel EAT SanitelRepository SanitelServices ExportMarkingSeriesOverviewExportSchema Sanitel EAI Manual v1 30 EAIManual doc 74 Interface EXRNO ExportRetaggingNotificationOverview Direction Export Purpose Export Retagging Notification Overview Layout Documentation http qas sanitrace be int QAS Sanitel ExtInterfacingS vcs SanitelServ
76. butes see ImportChangeNotification Layout Documentation http gas sanitrace be int QAS_Sanitel ExtInterfacingSvcs SanitelServices asmx op ExportChangeNotificat ionOverview Input Schema ChangeNotificationOverviewExportRequest E NOTF ID long E NOTP CDE string E NOKD CDE string e E NOST string i g E OCR_DTE_FRM dateTime E ChangeNotification ChangeNotification 1 E OCR DTE TO dateTime i A User string E REF_NBR string i A SecurityToken string E CDE string A Resultindex int B E ZIP string A OnBehalfRole string E NORS_CDE string i OnBehalfEntity string E PATY_CDE string ZA UserLanguage string i E FCLT CDE string i i E SNUN_CDE string E ANML CDE siia E ATRB CDE string E DTE FRM dateTime E DTE TO dateTime http Sanitel EAT SanitelRepository SanitelServices ChangeNotificationOverviewExportRequestSchema XML Example s Example EXCNO 1 Retrieve all changes on animals bovines 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 gt lt ChangeNotification gt lt NOTP_CDE gt CHANM lt NOTP_CDE gt DTE FRM 2008 09 25T00 00 00 DTE FRM DTE TO 2008 09 25T23 59 59 DTE TO ChangeNotification lt C
77. der Item Label OISN Order Item Serie Numbering OITP Order Item Type PATP Party Type PBRS SanitaryUnitPassportBlockingReason PBST SanitaryUnitPassportBlockingStatus PPPR PassportPrintReason PPPU Passport Print Urgency PRQU Production Quality PRWA Production Ware PUTP ProductionUnitType Sanitel EAI Manual v1 30 EAIManual doc 14 RIIT RiskltemType RIOG RiskOrigin RIQR RiskQualificationReason RIQU RiskQualification RIST RiskStatus RITP RiskType RSST RiskCondition SPTP SanitaryUnitPartyType SUHS Sanitary Unit Housing SUKD SanitaryUnitKind SUTP SanitaryUnitType TMLV Treatment Notification Group level TMTP Type of treatment e g Oral Inoculation TITP Type of treatment item e g 1 2 TUBR BlockingReason TUST TrackingUnitStatus UNIT Unit VATP VLMAnimalType VEOR Veterinary Organization 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 PATY Party PRUN ProductionUnit RIIM Riskltem SNUN SanitaryUnit TRGR TrackingGroup VIST Visit ORIM Order Items e g Retagging Earmarks Sanitel EAI Manual v1 30 EAIManual doc 15
78. des 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 Abondance Tyrol Gre AN Angus AU Aubrac AY Ayrshire BB Belgian Blue BD Blonde d Aquitaine Sanitel EAI Manual v1 30 EAIManual doc 20 Beefmaster BO Braford BR Brahman BN Brangus BS Brown Swiss BF Buffalo Bubalis bubalis BIS Bison CA Chianina CH Charolais DR Dexter European Red Dairy Breed East Flanders White Red West Flanders Red Galloway Guernsey Gelbvieh Hereford horned Hereford polled Highland Cattle Holstein Holstein Red and White Holstein Red Dairy Breed Jersey Limousin Maine Anjou Murray Grey Montb liard Marchigiana Normandy Norwegian Red Piedmont Pinzgau Romagnola Salers Santa Gertrudis South Devon SH Shorthorn SM Simmental SCT Speck cattle SW Sahiwal SR Swedish Red amp White Sanitel EAI Manual v1 30 EAIManual doc 21 Tarentaise WB Welsh Black AnimalRaceType AnimalSubtype Vealcalf Bovine Bison Buffalo Dwarf Bovine Sheep Dwarfsheep Goat Dwarfgoat Horse Donkey Pigs for breeding Pigs for fat
79. doc 99 Output Schema Interaction Result See definition Interaction Result Schema Sanitel EAI Manual v1 30 EAIManual doc 100 Interface IMRSN ImportRiskNotification Direction Import Purpose Submit risk notifications Layout Documentation http gas sanitrace be int QAS_Sanitel ExtInterfacingSvcs SanitelServices asmx op ImportRiskNotification Input Schema RiskNotificationImport L EE RiskNotification E NOTP_CDE string E OCR_DTE dateTime E RCV_DTE dateTime E REF_NBR string E DOC_NBR string E ANTP_CDE string EDER skNotificationimport RiskNotificationImport E FCLT CDE string A User string E SNUN REF NBR string A SecurityToken string j E ANML_REF_NBR string A OnBehalfRole string E E RIOG_CDE string A OnBehalfEntity string 5 E NRCR_CDE string A UserLanguage string E DES string Le E VIST ID string E LBO REF NBR string E LMS REF NBR string E SMP REF NBR BAG string E CMN string E Party Party E Riskltem Riskltem D Party E NPTP_CDE string E CDE string Riskltem E RITP CDE string E RIT CDE string E RIM CDE string E RIST CDE string E RSST CDE string E RSST CDE APT string E RIST CDE APT string http Sanitel EAI SanitelRepository SanitelServices RiskNotificationImportSchema XML Example s lt xml version 1 0 encoding utf 8 gt lt RiskNotificationImport xmlns http Sanitel EAI SanitelRepository SanitelServices RiskNotificationImportSchema User TESTXML
80. e definition Interaction Result Schema Sanitel EAI Manual v1 30 EAIManual doc 87 Interface IMMWN ImportManureWaterNotification Direction Import or Export or both Purpose Submit water manure consumption statistics corrections Retrieve calculated water manure consumption statistics Layout Documentation http qas sanitrace be in QAS Sanitel ExtInterfacingS vcs SanitelServices asmx op ImportManureWaterNotification Input Schema ManureWaterNotificationlmport http Sanitel EAl SanitelRepository SanitelServices ManureW aterNotificationImportSchema XML Example s Output Schema Interaction Result See definition Interaction Result Schema Sanitel EAI Manual v1 30 EAIManual doc 88 Interface IMMVN ImportMovementNotification Direction Import Purpose Submit a movement e g Mobile App Layout Documentation http qas sanitrace be in QAS Sanitel ExtInterfacingSvcs SanitelServices asmx op ImportMovementNotification Input Schema MovementNotificationimport E NOTP CDE string Hv m E NOKD string E NPTP CDE string E OCR DTE dateTime E CDE string E RCV DTE dateTime E REF NBR string E DOC NBR string EXMoyementNotficationmpor MovementNotificationImport E ANTP_CDE string DB Facility E MovementNotification MovementNotification E ANSE DE m E NEIP_CDE string A User EES E ANM_CNT decimal E CDE string A SecurityToken string E ANCO CDE string E FALO REF NBR string E E CRENBR string
81. eat Caviar Honey Fur PUTP ProductionUnitType DFLT Default RIIT RiskltemType DISS Disease HRMN Hormone Pig Contaminates BDIS Bovine Diseases PDIS Pig Diseases PBDIS Poultry Diseases BHRM Bovine Hormones PHRM Pig Hormones DDIS Deer Diseases GDIS Goat Diseases SDIS Sheep Diseases FDIS Fish Diseases MDIS Mollusc Diseases CDIS Crustaceae Diseases OHRM Hormones Other Animals BCTM Bovine Contaminates CNTM Contaminate RES Residue Sanitel EAI Manual v1 30 EAIManual doc 33 BRES Bovine Residue PRES Pig Residue ORES Residue Other Animals OCTM Contaminates Other 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 Lagging Payments OTH Other RIQU RiskQualification C01 002 C03 N 4 5 6 7 8 ce RiskStatus Normal Suspicion Suspension Under Supervision Cancelled With vaccincation Without vaccina
82. ection Export Purpose Retrieve an overview of animals and their key characteristics DEB Animal EIS rimaloverviewexportRequest AnimalOverviewExportRequest E CDE string E Animal Animal E ANTP_CDE string A User string E PRUN REF NBR string A SecurityToken string E FCLT CDE string A ResultIndex int EI E SNUN CDE string A OnBehalfRole string E UPD DTE FRM dateTime A OnBehalfEntity string E UPD DTE TO dateTime A UserLanguage string E TRGR CDE string E CDE MHR string Layout Documentation http qas sanitrace be int QAS Sanitel ExtInterfacingSvcs SanitelServices asmx op ExportAnimalOverview Input Schema AnimalOverviewExportRequest http Sanitel EAI SanitelRepository SanitelServices AnimalOverviewExportRequestSchema XML Example s Example EXANO 1 Retrieve all bovines in a certain Sanitary Unit xml version 1 0 encoding utf 8 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 xml version 1 0 encoding utf 8 AnimalOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices AnimalOverviewExportRequestSchema U
83. ent Date To C NFTT_CDE ADD OR MED Any valid Date All Animal Types WAL 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 EAIManual doc 117 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 Diseases 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 30 EAIManual doc 118 Working On Behalf Of To support party services we added work on behalf functionality The principle is quite simple Besides passing user security token you know pass two additional information elements OnBehalfRole The application role of the entity you are working on behalf of e g FARM 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 A User string A SecurityToken string
84. erface 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 Eg ANTP CDE denotes a code from the coding schema ANTP Animal Type E g FCLT_CDE refers to the code id main reference number of a Facility o Rest3 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 YYYY 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 Si
85. ertain party xml version 1 0 encoding utf 8 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 16 lt xml version 1 0 encoding utf 8 gt lt AgreementOverviewExportRequest Sanitel EAI Manual v1 30 EAIManual doc 71 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 AgreementOverviewExportRequest 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 Agreement SNUN CDE BE50060010 0101 SNUN CDE AGTP CDE VETA AGTP Agreement
86. erview of movements on movement level and not on Layout Documentation http qas sanitrace be in QAS Sanitel ExtInterfacingSvcs SanitelServices asmx op ExportMovementNotificationOverview Input Schema MovementNotificationOverviewExportRequest E NOTF ID long E NOTP CDE string E NOKD CDE string E NOST CDE string E a EXMcyementNotificationOverviewExportRequest MovementNotificationOverviewExportRequest E eg Rs E MovementNotification MovementNotification e AU tri E REF_NBR string ini E DOC NBR string A SecurityToken string S a E LIC PLT string A Resultindex int Er E ANTP_CDE string A OnBehalfRole string A OnBehalfEntity strin E ANSB_CDE ma names y 3 E PATY CDE TRS string Ser anguage smg E FCLT_CDE string E ZIP string E ANML_REF_NBR string E UPD_DTE_FRM dateTime E UPD DTE TO dateTime E SNUN CDE string http Sanitel EAV SanitelRepository SanitelServices MovementNotificationOverviewExportRequestSchema XML Example s Example EXMNO 1 Retrieve all movements of a certain animal in a certain period xml version 1 0 encoding utf 8 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
87. fication Import Lable Liabilities License Live Last Male Sanitel EAI Manual v1 30 RCV RDC REF RLM RGS ROS RSK POP PPT PUR QAL Receive Rendac Reference Realm Register Request Risk Population Passport Purchase Qualifications EAIManual doc 17 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 Animal Allocation T 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 DG 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 30 EAIManual doc 18 GE18 18 Months or Older SHP GOAT DEER
88. g 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 0000000000 0 0 Slaughtering Module only Sanitel EAI Manual v1 30 EAIManual doc 137 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 difficult 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 Count
89. gt lt REF_NBR gt 10179333 lt REF_NBR gt lt SNUN_CDE gt BE10179333 0501 lt SNUN_CDE gt lt ProductionUnit gt lt PRUN_REF_NBR gt 10179333123 lt PRUN_REF_NBR gt lt PRUN_IDX gt 1 lt PRUN_IDX gt lt PRC_REF_NBR gt lt PRC_REF_NBR gt PRC NAM CHARLETS JOSEPH PRC NAM PRC STR GRAND CHEMIN DE MESSINES 100 PRC STR PRC ZIP 7780 PRC ZIP PRC CTY COMINES PRC CTY lt PRODUCTIONUNITANIMAL gt lt ANML_REF_NBR gt BE12345678 lt ANML_REF_NBR gt lt PRODUCTIONUNITANIMAL gt lt PRODUCTIONUNITANIMAL gt ANML REF NBR BE87654321 ANML REF NBR lt PRODUCTIONUNITANIMAL gt lt ProductionUnit gt lt ProductionUnit gt lt PRUN_REF_NBR gt 10179333123 lt PRUN_REF_NBR gt Sanitel EAI Manual v1 30 EAIManual doc 96 lt PRUN_IDX gt 2 lt PRUN_IDX gt lt PRC_REF_NBR gt lt PRC_REF_NBR gt PRC NAM CHARLETS JOSEPH PRC NAM PRC STR GRAND CHEMIN DE MESSINES 100 PRC STR PRC ZIP 7780 PRC ZIP PRC CTY COMINES PRC CTY lt PRODUCTIONUNITANIMAL gt lt ANML_REF_NBR gt BE43218765 lt ANML_REF_NBR gt lt PRODUCTIONUNITANIMAL gt lt ProductionUnit gt lt ProductionUnitNotification gt lt ProductionUnitNotification gt lt OCR_DTE gt 2008 01 30T17 46 29 lt OCR_DTE gt lt REF_NBR gt 10179333 lt REF_NBR gt lt SNUN_CDE gt BE10179333 0101 lt SNUN_CDE gt lt ProductionUnit gt lt PRUN_REF_NBR gt 10179333123 lt PRUN_REF_NBR gt lt PRUN_IDX gt 3 lt PRUN_IDX gt lt PRC_REF_NBR gt
90. h 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 FAV V 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 and 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 30 EAIManual doc 135 14 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 15 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 Sanitar
91. hangeNotificationOverviewExportRequest gt Example EXCNO 2 Retrieve all changes on sheep facilities over a certain month xml version 1 0 encoding utf 8 ChangeNotificationOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices ChangeNotificationOverviewExportRequestSchema Sanitel EAI Manual v1 30 EAIManual doc 49 User TESTXML SecurityToken N A ResultIndex 0 gt 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 Output Schema ChangeNotificationOverviewExport IONE changeNotification ChangeNotification E NOTF ID long E NOTP CDE string E NOKD CDE string E NOST CDE string hangeNotificationOverviewExport ChangeNotificationOverviewExport E E ChangeNotification ChangeNotification E ANTP CDE A User string Ezp string A SecurityToken string RP E NORS CDE string A ReturnCode string E PATY CDE string A ReturnMessage string E FCLT CDE string E SNUN CDE string E ANML CDE string E ATRB CDE string E VAL OLD string E VAL NEW string http Sanitel EAV SanitelRepository SanitelServices ChangeNotificationOverviewExportSchema Sanitel EAI Manual v1 30 EAIManual doc 50 Interface EXFAO ExportFacilityOverview Directio
92. ht be organizational or juridical reasons for not doing it see items in italic E g an animal can not have it s 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 DTE Birth Date HRTP CDE Hairtype Code GNDR_CDE Gender Code ANRT_CDE Animal Race Type 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_CDE 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 CDE BAG Animal Meat Quality Sanitel EAI Manual v1 30 EAIManual doc 84 AVRV Animal VRV ADR Address VEN VEN Information FCEND Facility End SUEND Sanitary Unit End GNOTC General Notice Sani
93. ices asmx op ExportRetaggingNotificationOverview Input Schema RetaggingNotificationOverviewExportRequest E NOTF ID long E NOTP CDE string RetaggingNotificationOverviewExportRequest RetaggingNotificationOverviewExportRequest E NOKD CDE string E RetaggingNotification RetaggingNotification E NOST CDE string A User string E OCH DTE dateTime A SecurityToken string E OCR DTE TO dateTime A Resultindex int EH E REF NBR string A OnBehalfRole string E PATY_CDE string A OnBehalfEntity string E FCLT_CDE string A UserLanguage string E SNUN_CDE string E ANML_CDE string E DTE_FRM dateTime E DTE TO dateTime http Sanitel EAT SanitelRepository SanitelServices ExportRetaggingNotificationOverviewExportRequestSchema XML Example s Example EXRNO 1 Retrieve all retaggings of the last 3 days xml version 1 0 encoding utf 8 RetaggingNotificationOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices RetaggingNotificationOverviewExportRequestSche ma User TESTXML SecurityToken N A gt lt RetaggingNotification gt lt NOTP_CDE gt RETAG lt NOTP_CDE gt lt OCR_DTE_FRM gt 2008 10 27T00 00 00 lt OCR_DTE_FRM gt OCR DTE TO 2008 10 28T00 00 00 OCR DTE TO RetaggingNotification RetaggingNotificationOverviewExportRequest Example EXRNO 2 Retrieve all retags a certain sanitary unit did in the last year xml version 1 0 encoding utf 8 RetaggingNotifica
94. in Notification for Bovines lt xml version 1 0 encoding UTF 8 gt lt FoodChainNotificationImport User TESTXML xmlns http Sanitrace EAI SanitraceRepository SanitraceServices 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 02 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 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 lt SEU_DTE gt 2010 07 12T00 00 00 02 00 SEU DTE lt DTH_FLG gt true lt DTH_FLG gt lt DIS_FLG gt true lt DIS_FLG gt lt DTH_CMT gt Death Origin should be added here lt DTH_CMT gt lt DIS_CMT gt Disease Origin should be added here lt DIS_CMT gt lt NRV_FLG gt true lt NRV_FLG gt lt NRV_CMT gt Nervous symptoms origin should be added here lt NRV_CMT gt lt ISP_FLG gt true lt ISP_FLG gt lt Party gt 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
95. inventoryNotification Submit marking inventory results InventoryNotificationImport Interaction Result IMMWN ImportManure WaterNotification Submit water manure consumption statistics corrections ManureWaterNotificationImport Interaction Result IMMVN ImportMovementNotification Submit a movement e g Mobile App MovementNotificationImport Interaction Result IMPPN ImportPopulationNotification Submit population inventory results PopulationNotificationImport Interaction Result Submit assignments of production units exploitation units IMPUN ImportProductionUnitNotification to Sanitary Units ProductionUnitNotificationImport Interaction Result IMRSN ImportRiskNotification Submit risk notifications laboratory results RiskNotificationImport Interaction Result Import 5 20 IMRSN ImportreatmentNotification Submit a treatment RiskNotificationImport Interaction Result 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 30 EAIManual doc 9 Sanitel EAI Manual v1 30 EAIManual doc 10 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 int
96. ion TMT SHP GOAT DEER NCD NCD vaccination TMT AI 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 Foot and mouth treatment TMT PGFVR Pig Fever treatment TMT Animal Characteristics CHANM ANMB Animal Birth CHANM ANRT Animal Identification CHANM ADNA Animal DNA CHANM AVRV VRV CHANM ANME Animal Movement Export CHANM 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 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 AC
97. istory Information Layout Documentation http qas sanitrace be int QAS_Sanitel_ExtInterfacingSvcs SanitelServices asmx op ExportSanitary Unit Input Schema SanitaryUnitExportRequest EIS anitaryunitesportRequest SanitaryUnitExportRequest E SanitaryUnit SanitaryUnit A User string A SecurityToken string SanitaryUnit A ResultIndex int EI E CDE string A OnBehalfRole string A OnBehalfEntity string A UserLanguage string http Sanitel EAT SanitelRepository SanitelServices SanitaryUnitExportRequestSchema XML Example s Example EXSU 1 Retrieve detailed information of a sanitary unit xml version 1 0 encoding utf 8 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 Sanitel EAI Manual v1 30 EAIManual doc 66 Output Schema SanitaryUnitExport E SanitaryUnit A User A SecurityToken A RetumCode A ReturnMessage SanitaryUnitExport SanitaryUnit string string string string Le EST SanitaryUnit SUTP_CDE CDE NAM REF_NBR EXT_REF_NBR ANTP_CDE ANSB_CDE_BAG PBST_CDE PBRS_CDE SUKD CDE PRQU CDE BAG PRWA CDE BAG SUHS CDE BAG POP CNT UPD DTE FRM UPD DTE TO FCLT CDE FCLT NAM FCLT REF MER CDE REF NBR ALI
98. ll characteristics risk status history Layout Documentation http qas sanitrace be int QAS Sanitel ExtInterfacingSvcs SanitelServices asmx op ExportAnimal Input Schema AnimalExportRequest ESA rimalExportRequest AnimalExportRequest E Animal Animal SE H ad A User string nimal Animal H 4 A SecurityToken string B 4 E ANTP string H 4 A OnBehalfRole string E CDE string e H 4 A OnBehalfEntity string Bees A UserLanguage string http Sanitel EAT 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 0 encoding utf 8 AnimalExportRequest xmlnsz 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 Sanitel EAI Manual v1 30 EAIManual doc 39 lt AnimalExportRequest gt Output Schema AnimalExport E ANTP_CDE string E CDE string E MACT_CDE string E MRK CDG string E string E FCLT CDE string E SNUN_CDE string E CDE MHR string E CDE MHR GTC string E BLST CDE string E TUBR CDE string E BLO_STA_CMN string
99. lt PRC_REF_NBR gt PRC NAM CHARLETS JOSEPH PRC NAM PRC STR GRAND CHEMIN DE MESSINES 100 PRC STR PRC ZIP 7780 PRC ZIP PRC CTY COMINES PRC CTY lt PRODUCTIONUNITANIMAL gt lt ANML_REF_NBR gt BE12348765 lt ANML_REF_NBR gt lt PRODUCTIONUNITANIMAL gt lt ProductionUnit gt lt ProductionUnitNotification gt lt ProductionUnitNotificationImport gt 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 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 Production
100. mals attached to it Use this scenario to add a new PRUN to the SNUN 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 PRUN YYY added 9 Noanimals have a PRUN Reference It is unlikely that this scenario is used a lot but it could define a new situation Scenario 4 XML is processed that defines a Production Unit YYY only with all animals attached to XXX now attached to Y Y Y Impact e PRUN XXX is deleted from SNUN ABC e PRUN YYY added e and al animals from PRUN XXX are now attached to YYY Use this scenario to do a change of production units Output Schema Interaction Result See definition Interaction Result Schema Sanitel EAI Manual v1 30 EAIManual doc 98 Interface IMRTN ImportRetaggingNotification Direction Import Purpose Submit Retagging notifications into the system Layout Documentation http qas sanitrace be int QAS_Sanitel_ExtInterfacingS vcs SanitelServices asmx op ImportRetaggingNotifi cation Input Schema RetaggingNotificationImport IA 90ingNotification RetaggingNotification E NOTP CDE string DS Party E NOKD CDE string E CDE string RetaggingNotificationImport RetaggingNotificationImport E OCR DTE dateTime E CDE string E RetaggingNotification RetaggingNotification E RCV DTE dateTime A User string E REF NBR string A SecurityToken string E DOC NBR string RS A OnBehalfRole stri
101. ment involved parties involved facilities involved EXMVN ExportMovementNotification animals Retrieve an overview of movements of a certain EXMV ExportMovementNotificationOverview animal from to a certain facility Retrieve a general overview of Parties Name Address Reference Numbers Contact EXPAO ExportPartyOverview Data Retrieve a general overview of which exploitation EXPUO ExportProductionUnitOverview units are used at which facilities sanitary units Retrieve detailed info about a sanitary unit Location Address Sanitary Characteristics Involved Parties Production Unit Info Marking Inventory Capacity Population Inventory Risk Export S 10 EXSU ExportSanitaryUnit Information History Information Retrieve a general overview of sanitary units and Export S 11 EXSUO ExportSanitaryUnitOverview their key characteristics Export S 12 EXSLO ExportSlaughteringOverview Retrieve summary statistics of slaughtered animals IMANN ImportAnimalNotification Submit births or import records Submit changes on an Animal a Facility a IMCHN ImportChangeNotification Sanitary Unit or even a Party IMINN ImportInventoryNotification Submit marking inventory results Submit water manure consumption statistics IMMWN ImportManureWaterNotification corrections IMMVN ImportMovementNotification Submit a movement e g Mobile App IMPPN ImportPopulationNotification Submit population inventory results Submit assignments of
102. mport 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 30 EAIManual doc 4 Table of Contents D oc ment Historyssa ren ee Si BALANCE OL CO TEE y anb ep T7 Interface OVET MEOS 8 Schema ONION india ea asia 9 GEELEN Eege SEA 11 Schema Definitions 2 pq ecce lia 13 CEET ege eege Eeer 14 Main Entity OV ELV IC leleine 15 Ee Rm 16 Coding schema s Content sn ea 18 E ice 39 Interface EXAN Anal sea 39 Interface EXAMN ExportAnimalMovementNotificationOverview 4 Interface EXANO ExportAnimalOverview siii 44 Interface EXCNO ExportChangeNotificationOverview ss 49 Interface EXEAO ExportFacilityOverviewa unse yes 51 Interface EXMN
103. n Export Purpose Retrieve a general overview of facilities name address infor reference numbers liable party details Layout Documentation http qas sanitrace be int QAS Sanitel ExtInterfacingS vcs SanitelServices asmx op ExportFacilityOverview Input Schema FacilityOverviewExportRequest Dus Facility E string E CDE string FacilityOverviewExportRequest FacilityOverviewExportRequest E NAM string E Facility Facility E REF_NBR string A User string E EXT_REF_NBR string A SecurityToken string E STR string A Resultindex int E E ZIP string A OnBehalfRole string E CTRY_CDE string A OnBehalfEntity string E PRUN_REF_NBR string A UserLanguage string E ANTP_CDE string E UPD DTE dateTime E UPD DTE TO dateTime E PATY CDE LIA string http Sanitel EAT SanitelRepository SanitelServices FacilityOverviewExportRequestSchema XML Example s Example EXFAO 1 Retrieve all sheep owners in Brugge xml version 1 0 encoding utf 8 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 xml version 1 0 e
104. n for stock Free Allocation automatically 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 Source Destination Origin 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 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 BREG Bovine Register RGPOP BOV PGCNT Pig Count RGPOP PIG C1512 SGD 15 12 Count RGPOP SHP GOAT DEER Sanitel EAI Manual v1 30 EAIManual doc 26 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 Q fever vaccinat
105. ncoding utf 8 gt lt FacilityOverviewExportRequest Sanitel EAI Manual v1 30 EAIManual doc 51 xmlns http Sanitel EAI SanitelRepository SanitelServices FacilityOverviewExportRequestSchema User TESTXML SecurityToken N A ResultIndex 0 gt lt Facility gt UPD DTE FRM 2007 11 15T00 00 00 UPD DTE FRM UPD DTE TO 2007 11 15T23 59 59 UPD DTE TO Facility lt FacilityOverviewExportRequest gt Output Schema FacilityOverviewExport DE Facility LIA_STR string LIA_NBR string UPD_DTE dateTime GEO_LAT decimal GEO_LON decimal GEO_X decimal GEO_Y decimal GXYS_CDE string GEO_STR_LTH decimal GEO_PLG_DEF string GIS_REF string BEG_DTE dateTime END_DTE dateTime E FATP_CDE string E CDE string E NAM string E REF NBR string E EXT_REF_NBR string E ALI string E AL2 string E STR string E NBR string E BOX string EZI string E CIY string E MCP string 0 EXT aciltyOverviewExport FacilityOverviewExport z pem Ss eg mg E LIA CDE string A z 2 E LIA NAM strin A SecurityToken SEN 2 E LIA REF Old EET string E LIA EXT REF string 4 A ReturnMessage string E UA ALT i sing E LIA AL2 string E E E E E E E E E E E E E http Sanitel EAV SanitelRepository SanitelServices FacilityOverviewExportSchema Sanitel EAI Manual v1 30 EAIManual doc 52 Interface EXMNO ExportMovementNotificationOverview Direction Export Purpose Retrieve an ov
106. ng E ANTP_CDE string daRetaggingline RetaggingLine A OnBehalfEntity string E FCLT_CDE string E ORIM CDE string A UserLanguage string E SNUN_CDE string i E ANML CDE string 1 E CMN string 4 E MRKVRS string E Party Party E TWO MRKFLG boolean H E RetaggingLine RetaggingLine http Sanitel EAI SanitelRepository SanitelServices RetqggingNotificationImportSchema XML Example s xml version 1 0 encoding utf 8 RetaggingNotificationImport xmlns http Sanitel EAI SanitelRepository SanitelServices RetaggingNotificationImportSchema User TESTXML SecurityToken N A gt lt RetaggingNotification gt lt NOTP_CDE gt RETAG lt NOTP_CDE gt OCR DTE 2012 07 01T10 43 51 OCR DTE RCV DTE 2012 07 01T10 43 51 RCV DTE 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 SNUN CDE BE25002391 0101 SNUN CDE Party CDE ORDR NPTP CDE 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 30 EAIManual
107. ngle Line Search Criteria gt but all criteria freely combinable Result list result o Standardized Header Info Headers Sanitel EAI Manual v1 30 EAIManual doc 11 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 register 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 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
108. nimal Types DTE dateTime Notification Date M Any valid Date All animal Types RCV DTE dateTime Date O 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 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 CDE string DES string Description O Any Alphanumeric text 50char VIST_ID string Visit id O Existing visit id LBO_REF_NBR string O Not used LMS_REF_NBR string O Not used SMP_REF_NBR_BAG string O Not used CMN string Comment o Any Alphanumeric All animal Types text 800 char p 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 CDE string Risk item type RIIM_CDE string Risk item RIST_CDE string Current risk EAIManual doc 102 RSST_CDE string Current risk status RSST_CDE_APT string New risk status RIST_CDE_APT string New risk condition Sanitel EAI Manual v1 30 EAIManual doc 103 Interface IMTMN ImportTreatmentNotification Direction
109. nimalMovementNotificationOverviewExportRequest gt Example EXAMN 3 Retrieve all animal movements by a certain Transporter party over the past week xml version 1 0 encoding utf 8 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 CDE BOV ANTP lt PATY_CDE_TRS gt BE123456789 lt 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 30 EAIManual doc 42 E ANML EXT REF E BTH DTE E HRTP_CDE E GNDR CDE E ANRC_CDE E ANRT_CDE E CDE MHR E ADPR CDE E SNUN CDE DST string decimal string string string string string string string string string dateTime string string string string string string string http Sanitel EAI SanitelRepository SanitelServices AnimalMovementNotificationOverviewExportSchema Sanitel EAI Manual v1 30 EAIManual doc 43 Interface EXANO ExportAnimalOverview Dir
110. 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 you need to send your XML messages Sanitel EAI Manual v1 30 EAIManual doc 130 vi TokenKeyHashed e fi Ge5YO nScSTYNZUGKI E 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 The 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 30 EAIManual doc 131 XML Security Token Type This setting defines which Security strategy is followed in the XML messages i e i
111. oding utf 8 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 30 EAIManual doc 59 Output Schema LiablePartyOverviewExport 1 sbiePartyOverviewexport LiablePartyOverviewExport E LiableParty A User A SecurityToken A ReturnCode A ReturnMessage LiableParty string string string string ES mm mm mm mm mm mm mmm mm mm mm mm mm m CDE string NAM string NAM_LST string NAM FRT string REF NBR string EXT REF NBR string UPD DTE dateTime AL1 string AL2 string STR string NBR string BOX string ZIP string string MCP string CTRY_CDE string LNGE_CDE string VEOR_CDE string ORD_NBR string EMA string TPH string GSM string FAX string RLM_RGS_NBR string VAT NBR string BNK NBR string http Sanitel EAT SanitelRepository SanitelServices LiablePartyOverviewExportSchema Sanitel EAI Manual v1 30 EAIManual doc 60 Interface EXPUO ExportProductionUnitOverview Direction Export Purpose Retrieve a general overview of which exploitation units are used at which facilities sanitary units Layout Documentation http gas sanitrace be int QAS_Sanitel ExtIn
112. of Sanitary Unit R2 Import R3 premium R4 Change Status R5 Qualification R6 Loss R7 replacement schetskaar R8 exclusive number H9 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 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 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 Sanitel EAI Manual v1 30 EAIManual doc 31 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 Par
113. 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 xml version 1 0 encoding utf 8 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 ProductionUnitExportRequest Output Schema ProductionUnitExport http Sanitel EAV SanitelRepository SanitelServices ProductionUnitExportSchema ISF oductionuUnit ProductionUnit CSP roductionUnitexport ProductionUnitExport E PRUN_REF_NBR string E ProductionUnit ProductionUnit E SNUN CDE string A User string E FCLT CDE string A SecurityToken string EE E ANML_REF_NBR string A ReturnCode string E dateTime A ReturnMessage string E DTE_OUT dateTime E PRUN_IDX long Sanitel EAI Manual v1 30 EAIManual doc 65 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 H
114. 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 Item Type ID1ST Earmarks for first identification MRKP Earmarks PDCC Personalised Document PRMOB Prime Earmarks for newborn Calfs PDCB Personalised Document LE Full List available on demand PATP 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 Federation SERV Services CITY Municipality MEAT Meat Dealer AGCY Agency SPVSR Supervisor CTRL Control point OTH Other QUAL Qualified person REGA Regional Authority Sanitel EAI Manual v1 30 EAIManual doc 30 DRVR Driver PBRS SanitaryUnitPassportBlockingReason UPLC Unpaid License BADCO PBST NRM Bad Cooperation SanitaryUnitPassportBlockingStatus Normal BLCK PPPR Blocked PassportPrintReason RO Reason unknown RI Change
115. or 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 a change 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 security 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
116. p qas sanitrace be int QAS Sanitel ExtInterfacingSvcs SanitelServices asmx This site is secured you need to enter the following credentials User XMLASNTRC Password ed5R CK5 This provides the list of both import and export Web Methods as shown underneath Sanitrace_SanitraceServices Sanitrace Services The following operations are supported For a formal definition please review the Service Description e ExportAnimal e ExportAnimalMovementNotificationOverview e ExportAnimalOverview e ExportChangeNotificationOverview e ExportFacilityOverview e ExportMovementNotification e ExportMovementNotificationOverview e ExportPartyOverview e ExportProductionUnitOverview e ExportSanitaryUnit e ExportSanitaryUnitOverview e ImportAnimalNotification e ImportChangeNotification e ImportInventoryNotification e ImportMovementNotification e ImportPopulationNotification e ImportProductionUnitNotification e ImportRiskNotification Modern development environments such as Net or Java can reference the asmx file and generate WebService stubs in your development environment After that you can code using direct access of the XML structures Sanitel EAI Manual v1 30 EAIManual doc 121 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
117. pe 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 Unit Code animals that require a sanitary unit Unit Code All Animal Types ould be used D Bo Field Type Description Allowed Values REF_NBR string Animal Reference M for Bovines Origin Code is Local P_FLG is true or animal Existing Animal Code Origin Code is not Local Any valid animal number Sanitel EAI Manual v1 30 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 Poultry Any or Inspection AIl Animal Types Alphanumeric Report Reference text 50 char Number in case of Others Any Poultry Alphanumeric text 200 char DTE dateTime Inspection Date Any valid Date All Animal Types Field Type Description Allowed Values NFTT_CDE string Notification M if treatment tag is defined in the See Valid codes Treatment Type xml All Animal Types MEDC_ID string Medicine ID M if treatment tag is defined in the Existing Medicine ID xml All Animal Types TMT_DTE_FRM dateTime Treatment Date C NFTT_CDE ADD OR MED Any valid Date From All Animal Types TMT_DTE_TO dateTime Treatm
118. port xmlns http Sanitel EAI SanitelRepository SanitelServices MovementNotificationImportSchema User TESTXML SecurityToken N A gt lt MovementNotification gt 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 DTE 2012 07 03T09 50 53 RCV DTE REF NBR 1424266 REF NBR CDE BOV ANTP CDE 5 CDE BOV ANSB CDE ANM CNT 1 ANM CNT ANCO CDE ALIVE ANCO CDE Party CDE RSP NPTP CDE lt CDE gt BE900144243 lt CDE gt lt Party gt lt Party gt lt NPTP_CDE gt DLR lt NPTP_CDE gt lt CDE gt BE92700028 lt CDE gt lt Party gt lt Facility gt lt NFTP_CDE gt SRC lt NFTP_CDE gt lt CDE gt BE90016911 lt CDE gt lt SNUN_CDE gt BE90016911 0101 lt SNUN_CDE gt lt Facility gt lt Animal gt lt REF_NBR gt BE92248083 lt REF_NBR gt lt PPT_VRS_NBR gt 3 lt PPT_VRS_NBR gt lt SLG_VGN_NBR gt BE90016911 010120154625 lt SLG VGN Animal Sanitel EAI Manual v1 30 EAIManual doc 91 lt MovementNotification gt lt MovementNotificationImport gt Departure from a farm to Rendac 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 MMDPD lt NOTP_CDE gt OCR DTE 2012 06 04T00 00 00 OC
119. production units IMPUN ImportProductionUnitNotification exploitation units to Sanitary Units IMRSN ImportRiskNotification Submit risk notifications laboratory results Sanitel EAI Manual v1 30 EAIManual doc 8 IMRSN ImportTreatmentNotification Submit a treatment IMPST ImportStatusUpdateNotification Submit a status update notification currently limited to treatments but extendable to other notifications EXAGR ExportAgreementOverview To test if certain parties have certain active agreements with certain other parties IMRTN ImportRetaggingNotification To import a retagging notification EXLPO ExportLiablePartyOverview To export information about veterinaries and other liable parties This interface has limited access only because of privacy concerns IMPMS ImportMarkingSeries Submit a marking series allocation EXRNO ExportMarkingSeriesOverview To retrieve an overview of Marking Series Marking Series Allocations ExportRetaggingNotificationOverview To retrieve an overview of Retagging Notifications EXPU ExportProductionUnit To retrieve all Animal allocations to any old or current production unit of a certain facility including the from and the to of these allocations Schema Overview ExportWaterManureAllocation To retrieve all WaterManureAnimalAllocations to do a correct calculation of Water Manure consumption
120. r name and password Sanitel EAI Manual v1 30 EAIManual doc 126 Channel 4 upload download via web page After selecting the menu option Upload XML Or by entering the URL http gas sanitrace 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 O pack x OSearch Faoite O 3 B Address http jlocalhost 201 1 FFA Sanitel WebjPages CommonjUploadxMLPage aspx J Links gt 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 EAI Manual v1 30 EAIManual doc 127 URL Summary For testing in the ongoing development environment e http gas sanitrace be int QAS_Sanitel ExtInterfacingSvcs GenericX MLHandler ashx e http gas sanitrace be int QAS_Sanitel ExtInterfacingSvcs SanitelServices asmx e http qas sanitrace be web QAS_Sanitel_Web Pages Common UploadXMLPage aspx The Luxembourg URLs In addition all interface URLs and definitions will be standardized on the
121. ry Code 4 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 i 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 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 Iin 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 IECFCHOO09X BE30041613 0101 IEDCMV0020K BE30041613 0
122. seCase 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 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 Summary 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 Record not found in table 0 for search criterium 1 with value 2 lt Pattern gt lt ArgumentsCSV gt ANIMAL Country MarkingNumber BE 00004461 lt ArgumentsCSV gt Sanitel EAI Manual v1 30 EAIManual doc 108 Or when requested with user language NL Sanitel EAI Manual v1 30 EAIManual doc 109 Interface IMPSP ImportAnimalPassport Direction Import Purpose Submit Animal Passport Layout
123. ser 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 Sanitel EAI Manual v1 30 EAIManual doc 44 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 Sanitel EAI Manual v1 30 EAIManual doc 45 Output Schema AnimalOverviewExport Sanitel EAI Manual v1 30 EAIManual doc 46 string string string string string string string string string string string string string string string string string dateTime dateTime string string string string string string string boolean boolean int string boolean string string string boolean string string boolean string string string decimal dateTime string Sanitel EAI Manual v1 30 EAIManual doc 47 http Sanitel EAV SanitelRepository SanitelServices AnimalOverviewExportSchema Sanitel EAI Manual v1 30 EAIManual doc 48 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 attri
124. so it should not be part of a special context element Sanitel EAI Manual v1 30 EAIManual doc 12 Schema Definitions The attached zip file contains a collection of all schema s Schemas zip XSD Schema s When discussing channel 1 we also explain how one can retrieve the XSD Schema s online Sanitel EAI Manual v1 30 EAIManual doc 13 Coding Schema s Overview The following coding schema s have been used in the XML definition AAST AnimalAllocationStatus AATP AnimalAllocationType ABFY Beefiness ABSP AnimalBirthSpecifics ADPR AnimalDepartureReason ADSP AnimalDeliverySpecifics AGEC AgeCategory AMQL AnimalMeatQualityLabel ANCO AnimalCondition ANCP AnimalConception ANDT AnimalDisposalType ANPR AnimalPremiumCodes ANRC AnimalRace ANRT AnimalRaceType ANSB AnimalSubtype ANTP AnimalType ANVN Animal VRV name ANVS Animal VRV specification ASRV AnimalSurvival BLST BlockingStatus CITY CleaningFacilityType CTRY Country DNAQ DNA Quality Code FATP Facility Type FLTP FacilityLocationType GNDR Gender HRTP Hairtype LNGE Language MSAL Marking Series Allocation NFTP NotificationFacility Type NOKD NotificationKind NORS NotificationReason Reserved for later usage NOST NotificationStatus NOTP NotificationType NPTP NotificationPartyType NRCR NotificationRiskChangeReason OILB Or
125. t 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 BTH WGH 23 BTH WGH DNA SMP FLG false DNA SMP FLG BTH FLG false MLT FLG RCE PUR FLG false RCE PUR FLG Animal AnimalNotification lt AnimalNotificationImport gt Dead born calf notification not marked xml version 1 0 encoding utf 8 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 CDE BOV ANTP CDE ANM CNT 1 ANM CNT ANCO CDE DDNOT ANCO CDE Party CDE RSP NPTP CDE CDE BE400223090 CDE Party Facility CDE DST NFTP CDE lt CDE gt BE40096025 lt CDE gt lt SNUN_CDE gt BE40096025 0101 lt SNUN_CDE gt lt Facility gt lt Animal gt lt ANML_REF_NBR_MHR gt BE43281842 lt ANML_REF_NBR_MHR gt Sanitel EAI Manual v1 30 EAIManual doc 80 lt ANSB_CDE gt BOV lt ANSB_CDE gt lt BTH_DTE gt 2008 10 29T00 00 00 lt BTH_DTE gt lt DTH_DTE gt 2008 10 29T00 00 00 lt DTH_DTE gt lt PPPU_CDE gt NO lt PPPU_CDE gt lt VRV_FLG gt false lt VRV_FLG gt lt VRV_IDN_CRD_FLG gt false lt VRV_IDN_CRD_FLG gt lt NRS_MHR_FLG gt true lt NRS_MHR_FLG gt lt ANVS_CDE gt NONE lt ANVS_CD
126. t defines what is being passed in the security token The options are 1 FARI 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 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 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 03En 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 hNvdH6haYJAWAdMY Jx9vF 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 bvVn9ub3lj1yOKKedP21024ftc Security Token security token is 210 hashed with the SHA1 SomeSecret v KoBSaBWHAqMCDVzXGnJi3ejDQ algorithm 7 AES Encrypted A lt USERIXML da
127. te SomeSecretAESSaltValue TESTXMLI2008 11 12T12 00 00 Date Time Value time now gt value encrypted encrypted using AES Sn1Qn6B6bUakN2kjztRMjQU7jfwXor0Jg WTp22lrjibwiR 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 installed a special certificate on the PC of this user Sanitel EAI Manual v1 30 EAIManual doc 132 The AES example is based on an EAS encryptor initialized based on the following settings passPhrase PassPhraseToGenerateAnAESPasswor d SaltValue SomeSecretSalt Val ue hashAl gortithm 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 Sanitel EAI Manual v1 30 EAIManual doc 133 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
128. tel EAI Manual v1 30 ADSP_CDE ABFY_CDE BTH_WGH ASRV_CDE VRV_IDN_CRD_FLG ANVS_CDE ANVN_CDE VRV_NAM ADPR_CDE MCP CTRY_CDE TPH FCLT_REF_NBR CMNT END_DTE CMNT END_DTE CMNT NCTP_CDE NOTC SBJ NOTC MSG NOTC ANS NOTC ATA Delivery Beefability Birth Weight Survival Identification Card VRV VRV Specifics Naming Choice Name Animal Departure Reason Address Line 1 Address Line 2 Street Number Box Zip City Municipal Country Telephone VEN Number Comment End Date Comment End Date Comment Notice Type Subject Message Reaction Answer Attachments EAIManual doc 85 Interface IMINN ImportinventoryNotification Direction Import Purpose Submit marking inventory results Layout Documentation http gas sanitrace be int QAS_Sanitel ExtInterfacingS vcs SanitelServices asmx op ImportInventoryNotification Input Schema InventoryNotificationImport inventoryNotification InventoryNotification E NOTP CDE string ET Party E MOK CDE E NPTP_CDE string ventoryNotificationimport InventoryNotificationImport S E CDE string j E InventoryNotification InventoryNotification 1 E REF NBR string User sting DOC NBR string A SecurityToken string B ANTP CDE string EH Ming Marking A OnBehalfRole string i E ANTP CDE ALT string E MACT_CDE string A OnBehalfEntity string 1 E FCLT CDE x string E NBR string A UserLanguage string
129. tening Piglet Pet pig Deer Wild Pig Other breeded land mammal Ostrich Emu Nandu Cassowary Chicken Pheasant Guinea Fowl Partridge Frychicken Soupchicken Chick RSTR Rooster TRK Turkey SWN Swane QL Quail GSE Goose Sanitel EAI Manual v1 30 EAIManual doc 22 PGN Pigeon DUCK Duck RBT Rabbit HARE Hare RDT Rodent FURB Furbearer MSL Mussel OYS Oyster BOAR Wild Boar ROE Roe Even toed Wild Ungulate 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 Small Game Animal VRV name Sanitel EAI Manual v1 30 EAIManual doc 23 Automatic G No Name N Fill in name R Random Name Animal VRV specification 0 None 1 Premature birth 2 Postmature birth 3 Multiple Birth 4 Hereditary handicap 9 Several specifications AnimalSurvival Alive Stillborn Deceased first day Deceased after first da BlockingStatus Normal Blocked Free FRSLG Free to Slaughter CTRY
130. teraction Result See definition Interaction Result Schema Sanitel EAI Manual v1 30 EAIManual doc 95 Interface IMPUN ImportProductionUnitNotification Direction Import Purpose Submit assignments of production units exploitation units to Sanitary Units Layout Documentation http qas sanitrace be int QAS_Sanitel_ExtInterfacingSvcs SanitelServices asmx op ImportProductionUnit Notification Input Schema ProductionUnitNotificationImport strmimpert JP Not UCTIONUNIT ANIMAL 7 RONUNITANEMA http Sanitel EAV SanitelRepository SanitelServices ProductionUnitNotificationlmportSchema XML Example s Explicitly specified XML import with Animals After processing this XML the Sanitary Unit BE10179333 0501 will have two Production units and the 3 animals are assigned to the corresponding production units Equally Sanitary Unit BE10179333 0101 will have 1 production unit with 1 animal assigned to this Produnction Unit If more animals exist on these SanitaryUnits they are NOT assigned to any ProductionUnit even if they previously were defined as belonging to that ProductionUnit xml version 1 0 encoding utf 8 ProductionUnitNotificationImport xmlns http Sanitel EAI SanitelRepository SanitelServices ProductionUnitNotificationImportSchema User TESTXML SecurityToken N A gt lt ProductionUnitNotification gt lt OCR_DTE gt 2008 01 30T17 46 29 lt OCR_DTE
131. terfacingS vcs SanitelServices asmx op ExportProductionUnitOverview Input Schema ProductionUnitOverviewExportRequest CSP roductionunit ProductionUnit E REF_NBR string E PRC_REF_NBR string GSP roductionUnitOverviewExportRequest ProductionUnitOverviewExportRequest E PUTP_CDE string E ProductionUnit ProductionUnit E FCLT_CDE string A User string E FCLT_NAM string A SecurityToken string E FCLT_REF_NBR string A ResultIndex int E FCLT EXT REF string A OnBehalfRole string E FCLT ZIP string A OnBehalfEntity string E ANTP CDE string A UserLanguage string E UPD DTE FRM dateTime E UPD DTE TO dateTime E PATY CDE RSP string E PRUN IDX long http Sanitel EAl SanitelRepository SanitelServices ProductionUnitOverviewExportRequestSchema XML Example s Example EXPUO 1 Retrieve all production units of a certain facility xml version 1 0 encoding utf 8 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 Example EXPUO 2 Retrieve the info about a certain production unit xml version 1 0 encoding utf 8 gt lt ProductionUnitOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices ProductionUnitOverviewE
132. 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 arguments 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 30 EAIManual doc 139 InteractionResult xmins http Sanitrace EAI SanitraceReposi lt StatusCode gt Error lt StatusCode gt Summary gt Import ImportAnimalNotificationUseCase erroneot information lt Summary gt Reference gt Details 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 EAI Manual v1 30 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
133. tion Partial vaccination RiskCondition 0 Center Sanitel EAI Manual v1 30 EAIManual doc 34 1 Antecedents unknown 2 Antecedents known 3 Disease free 4 Officially disease free POS Positive NI Not interpretable NEG Negative H00 H99 Hormone free Hormone status R00 R99 Residue free Residue status C00 C99 Contaminate free Contaminate status SPTP RSP SanitaryUnitPartyType Sanitary responsible FIN Financial responsible CSPSR Controlling supervisor FDRSP FundsResponsible PRMA Premium Authority ENVA Environmental Authority 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 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 purification center MLBRZ Mollusc breeding zone IDFCL Research f
134. tionOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices RetaggingNotificationOverviewExportRequestSche ma User TESTXML SecurityToken N A gt lt RetaggingNotification gt Sanitel EAI Manual v1 30 EAIManual doc 75 lt NOTP_CDE gt RETAG lt NOTP_CDE gt OCR DTE FRM 2008 01 01T00 00 00 OCR DTE FRM OCR DTE TO 2008 10 29T00 00 00 OCR DTE TO SNUN CDE BE40078272 0101 SNUN CDE RetaggingNotification RetaggingNotificationOverviewExportRequest Output Schema RetaggingNotificationOverviewExport RetaggingNotification RetaggingNotification NOTF ID long NOTP CDE string NOKD CDE string NOST CDE string OCR DTE dateTime REF NBR string ANTP CDE string PATY CDE string FCLT CDE string SNUN CDE string ANML CDE string ORIM CDE string OITP CDE string OILB CDE string MRK VRS NBR string TWO MRK FLG boolean PATY CDE DLV string PATY CDE FAC string RetaggingNotificationOverviewExport RetaggingNotificationOverviewExport NAM string E RetaggingNotification RetaggingNotification STR string A User string NBR string A SecurityToken string ZIP string A ReturnCode string CTY string A ReturnMessage string MCP string NAM_DLV string STR_DLV string NBR_DLV string ZIP_DLV string CTY DLV string MCP DLV string NAM FAC string STR FAC string NBR FAC string ZIP FAC string CTY FAC string MCP FAC string CTRY string CTRY DLV string CTRY FAC string MACT CDE string ANM
135. trin OLE SCH Ska y 9 E SNUN_CDE string string serLanguage string E CMN sig EE E Party Party string E PopulationCount PopulationCount http Sanitel EAV SanitelRepository SanitelServices PopulationNotificationlmportSchema XML Example s Example for sheep goat deer lt xml version 1 0 encoding utf 8 gt lt PopulationNotificationImport xmlns http Sanitel EAI SanitelRepository SanitelServices PopulationNotificationImportSchema User TESTXML SecurityToken N A gt PopulationNotification NOKD CDE C1512 NOKD CDE OCR DTE 2012 06 04T00 00 00 OCR DTE RCV DTE 2012 06 08T15 49 51 RCV DTE lt REF_NBR gt 1375585 lt REF_NBR gt 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 ANSB CDE SHP ANSB CDE POP CNT 2 POP ONT ACCA CDE OTH ACCA CDE 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 Sanitel EAI Manual v1 30 EAIManual doc 94 N lt PopulationNotification gt lt PopulationNotificationImport gt Output Schema In
136. tring E NOST CDE string E OCR DTE dateTime E REF NBR string pP RE Movementnot cationOverviewExport MovementNotificationOverviewExport A AEDE string d E ANSB_CDE string E MovementNotificationOverview MovementNotificationOverview H e H E ANCO_CDE string M ur Sie f E ANM_CNT decimal GD SecurityToken string gt z 2 E DOC string A ReturnCode string x A ReturnMessage strin SAUER CUE sting f 9 9 i E LICPLT string a a AAE EE A A A EAE A AAA AA ALE A E E E A E E ZIP string E PATY_CDE_TRS string E FCLT_CDE_SRC string E FCLT_CDE_DST string E SNUN_CDE string E ANML_REF_NBR string E SNUN_CDE_DST string http Sanitel EAI SanitelRepository SanitelServices MovementNotificationOverviewExportSchema Sanitel EAI Manual v1 30 EAIManual doc 54 Interface EXMVN ExportMovementNotification Direction Export Purpose Retrieve a detailed insight in a movement involved parties involved facilities involved animals Layout Documentation http qas sanitrace be int QAS Sanitel ExtInterfacingSvcs SanitelServices asmx op ExportMovementNotification Input Schema MovementNotificationExportRequest DXSiucvementNotificationEsportRequest MovementNotificationExportRequest E Movement Movement a Movement Movement A SecurityToken string E ID long A OnBehalfRole string A OnBehalfEntity string A UserLanguage string http S
137. ttp Sanitrace EA Sanitrace Repositcry Sanit raceServices AnimalExport Request Schema User vzxSpx SecarityToken N A gt ANTP CDE BOV ANTP CDE lt IDE gt BE60600246 CDE lt f nimal gt lt ANTP_CDE gt BOV ANTP_CDE gt COE BE606002 47 CDE gt lt fAnimal gt lt fAninalExportRecuest gt XML Structure lt ExportAn lt soap Body gt soap Envelope Web Service WSDL Definition Sanitrace SanitraceSe Wices 1 xy new SanitracsServi 7 iprace SanitraceServices ExportAnimalAnimalExpor new SanitraceServices Exrortinimall nimalExportRequest lRequest User vzx5 x lRequest Animal new SanltraceServices JExport ninal nimalfxportReqgues anima 11 lRequest Animal 0 new SanitraceServices EXPOrt AN ira if Il imall lRequest nimal 0 ANTP CDE BOV lRequest nimal 0 CDz BES AnimalExport lResult lProxy B43 sana lRequest 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 to 4 Sanitel EAI Manual v1 30 EAIManual doc 124 The examples given in this document actually where slightly altered for better readability i e the xmlns directive should be without spaces linebreaks The XML as such should look like EXPA 2
138. ty Address Change R52 Change Address Main Location R53 Address Change R54 Bovine died after delivery before registration R55 Change ePP towards pPP PPPU Passport Print Urgency Printing not urgent Printing urgent No printing Production Quality STD Standard BIO Biological Facility LBL Label PDGRE Pedigree Selection PVL1 001 Belki PVL2 002 Hendrix 3 003 Quartes 004 PVLOO5 PVLOO6 PVL007 008 009 PVL010 Mechelse Koekoek PVL011 Coprobel PVLO12 Val Dieu PVL013 P Hesbaye PVL014 Coprosain 015 Coq Ard PVL016 PVL017 PVL018 PVL019 Sanitel EAI Manual v1 30 EAIManual doc 32 PRWA Production Ware MEAT Meat production AISM Artificial insemination MILK Milkproduction NOCSP No consumption objective MIX Mixed production PGLET Piglet breed establishment MGOAT Goat Meat production CELAY Consumption eggs lay establishment HERL Hatching egg reproduction la 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 m
139. xportRequestSchema User TESTXML SecurityToken N A ResultIndex gt lt ProductionUnit gt lt REF_NBR gt 7102607960 lt REF_NBR gt lt ProductionUnit gt lt ProductionUnitOverviewExportRequest gt Sanitel EAI Manual v1 30 EAIManual doc 61 Example EXPUO 3 Retrieve the info about all production units changed over a certain period xml version 1 0 encoding utf 8 ProductionUnitOverviewExportRequest xmlns http Sanitel EAI SanitelRepository SanitelServices ProductionUnitOverviewExportRequestSchema User TESTXML SecurityToken N A ResultIndex 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 ProductionUnitOverviewExportRequest Sanitel EAI Manual v1 30 EAIManual doc 62 Output Schema ProductionUnitOverviewExport ProductionUnit ProductionUnit E REF NBR string E PRC REF NBR string E PRC NAM string E PRC STR string E PRC string E PRC ZIP string E PRC_CTY string E SUTP CDE string E SNUN CDE string E SNUN REF NBR string E FCLT_CDE string E FCLT NAM string E FCLT REF NBR string E FLTP CDE string E FALO REF NBR string E AL1 string Ge roductionUnitOverviewExport ProductionUnitOverviewExport E AL2 string E ProductionUnit ProductionUnit E STR string E NBR string A User string Elan A SecurityToken string a A ReturnCode string ZIP
140. y units of a certain facility xml version 1 0 encoding utf 8 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 30 EAIManual doc 68 Output Schema SanitaryUnitOverviewExport Sanitel EAI Manual v1 30 EAIManual doc 69 E SUTP_CDE string E CDE string E NAM string E REF NER string E EXT REF string E ANTP string E ANSB CDE BAG string E PBST CDE string E PBRS CDE string E SUKD CDE string E PRQU CDE BAG string E PRWA CDE BAG string E sues CDE BAG string E POP decimal E UPD DTE dateTime E FCLT CDE string E FCLT NAM string E FCLT REF NER string E FCLT EXT REF NER string E FLTP_CDE string E FALO REF NER string E ALL string E AL2 string E STR string E NBR string o c mmm SantanUntOveniewExpon E string E SanitaryUnit SanitaryUnit E 7 string User string E CTY string A SecurityToken string E mc string A ReturnCode string E CTRY ce string RetumMessage string E TPH string E RSP CDE string E RSP NAM string E RSP REF NER string E RSP EXT REF NER string E RSP_ALI string E RSP_AL2 string E RSP_STR string E NER string E Sep BOX string E RSP_ZIP string E RSP CTY string
141. yunit gt lt sanitaryunit gt or lt SANITARYUNIT gt The same applies to a namespace definition like xmlns http Sanitel EAI SanitelRepository SanitelServices PartyOverviewExportRequ estSchema 16 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 EAI SanitelRepository SanitelServices PartyOverview ExportRequestSchema But it actually is one string xmlns http Sanitel EAI SanitelRepository SanitelServices PartyOverviewExportRequestSchema 17 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 TA 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 18 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
Download Pdf Manuals
Related Search
Related Contents
取扱説明書 - デイトナ pond bio-filter bio-filtro para estanques biofiltre pour 4.4 Security StarTech.com 3m Cisco Compatible SFP+ 10-Gigabit Ethernet (10GbE) Passive Twinax Direct Attach Cable ROTAX MAX CHALLENGE 2011 - Kartódromo Granja Viana Copyright © All rights reserved.
Failed to retrieve file