50 lines
1.1 KiB
SQL
50 lines
1.1 KiB
SQL
|
|
|
|
-- bestand om de koppeling tussen AAFM en CSUN te configureren
|
|
|
|
SET ECHO ON
|
|
SPOOL AANS#29914.lst
|
|
SET DEFINE OFF
|
|
|
|
|
|
|
|
-- Algemeen AAFM
|
|
|
|
-- API aanmaken
|
|
INSERT INTO fac_api (fac_api_name, fac_api_omschrijving, fac_api_filepath)
|
|
VALUES ('MLD2OPDR',
|
|
'API om statuswijzigingen bij opdrachten aan te brengen',
|
|
'appl/api/api_opdrsoap.asp');
|
|
|
|
-- zorg dat de opmerking ook in de melding wordt doorgevoerd.
|
|
update fac_api set fac_api_options_json = '[{"appendRemark":1}]' where fac_api_name = 'MLD2OPDR';
|
|
|
|
|
|
-- Specifiek AANS
|
|
|
|
-- Opdract adres bij CSUN aanpassen:
|
|
-- Opdrachten
|
|
-- Adres: https://csun.facilitor.nl/default.asp?fac_id=CSUN&API=AAFM2CSUN&APIKEY=YYliBTtxBSwasFbNPnjcLYUNEALIrOaJ
|
|
-- http://sgf12/branch542/default.asp?fac_id=CSUN&API=AAFM2CSUN&APIKEY=YYliBTtxBSwasFbNPnjcLYUNEALIrOaJ
|
|
-- Ordermode: 13
|
|
-- XSL template: ../aaxx/xsl/csun.xsl
|
|
-- Extension: cxml
|
|
|
|
|
|
|
|
-- pas bij de gebruiker CSU de apikey aan
|
|
UPDATE prs_perslid
|
|
SET prs_perslid_apikey = 'dcuFFzkNWZnIRrbnmFXhsLBDnvQhHKCd'
|
|
WHERE prs_perslid_key = 3161;
|
|
|
|
|
|
|
|
|
|
BEGIN adm.systrackscriptid('$Id$'); END;
|
|
/
|
|
|
|
|
|
COMMIT;
|
|
|
|
SPOOL OFF
|