diff --git a/configurations/README.md b/configurations/README.md new file mode 100644 index 0000000..ac30f4f --- /dev/null +++ b/configurations/README.md @@ -0,0 +1,5 @@ +You can add folders here for certain synchronizations flows. + +These json files are meant to be copy/pasted into a Postman request that creates that specific type of object. + +Reminder to always leave out sensitive information like authorization keys et cetera. \ No newline at end of file diff --git a/configurations/sharepoint-woo/mappings/sharepoint-woo-verzoek-to-publications.json b/configurations/sharepoint-woo/mappings/sharepoint-woo-verzoek-to-publications.json new file mode 100644 index 0000000..b678dea --- /dev/null +++ b/configurations/sharepoint-woo/mappings/sharepoint-woo-verzoek-to-publications.json @@ -0,0 +1,11 @@ +{ + "name": "Sharepoint Woo verzoek to Publication", + "description": "", + "version": "0.0.1", + "mapping": { + "title": "Name" + }, + "unset": [], + "cast": [], + "passThrough": false +} \ No newline at end of file diff --git a/configurations/sharepoint-woo/sources/sharepoint.json b/configurations/sharepoint-woo/sources/sharepoint.json new file mode 100644 index 0000000..ddfcdbd --- /dev/null +++ b/configurations/sharepoint-woo/sources/sharepoint.json @@ -0,0 +1,34 @@ +{ + "name": "Sharepoint Woo API", + "description": "Sharepoint Woo API", + "reference": null, + "version": "0.0.1", + "location": "", + "isEnabled": true, + "type": "api", + "authorizationHeader": "Authorization", + "auth": "none", + "authorizationPassthroughMethod": "header", + "authenticationConfig": [], + "configuration": { + "headers": { + "Authorization": "Bearer {{ oauthToken(source) }}", + "Accept": "application/json;odata=verbose" + }, + "authentication": { + "grant_type": "", + "scope": "", + "authentication": "body", + "client_id": "", + "client_secret": "", + "client_assertion_type": "", + "private_key": "", + "x5t": "", + "payload": "", + "tokenUrl": "" + } + }, + "logRetention": 3600, + "errorRetention": 86400, + "test": false +} \ No newline at end of file diff --git a/configurations/sharepoint-woo/synchronizations/sharepoint-convenanten-to-publications.json b/configurations/sharepoint-woo/synchronizations/sharepoint-convenanten-to-publications.json new file mode 100644 index 0000000..e39deb8 --- /dev/null +++ b/configurations/sharepoint-woo/synchronizations/sharepoint-convenanten-to-publications.json @@ -0,0 +1,18 @@ +{ + "name": "Sharepoint Convenanten to Publications", + "description": "", + "version": "0.0.1", + "sourceId": "1", + "sourceType": "api", + "sourceHash": "", + "sourceTargetMapping": "1", + "sourceConfig": { + "idPosition": "UniqueId", + "resultsPosition": "d.results", + "endpoint": "/Web/GetFolderByServerRelativePath(decodedurl='/WOO/Convenanten')/folders", + "headers": [], + "query": [] + }, + "targetId": "1/1", + "targetType": "register/schema" +} \ No newline at end of file diff --git a/configurations/sharepoint-woo/synchronizations/sharepoint-woo-verzoeken-to-publications.json b/configurations/sharepoint-woo/synchronizations/sharepoint-woo-verzoeken-to-publications.json new file mode 100644 index 0000000..7aa6512 --- /dev/null +++ b/configurations/sharepoint-woo/synchronizations/sharepoint-woo-verzoeken-to-publications.json @@ -0,0 +1,18 @@ +{ + "name": "Sharepoint Woo-verzoeken en -besluiten to Publications", + "description": "", + "version": "0.0.1", + "sourceId": "1", + "sourceType": "api", + "sourceHash": "", + "sourceTargetMapping": "1", + "sourceConfig": { + "idPosition": "UniqueId", + "resultsPosition": "d.results", + "endpoint": "/Web/GetFolderByServerRelativePath(decodedurl='/WOO/Woo-verzoeken en -besluiten')/folders", + "headers": [], + "query": [] + }, + "targetId": "1/1", + "targetType": "register/schema" +} \ No newline at end of file