Jobs

Fetch all job

This API helps to get all the job and its configuration (Both csv and xml job)

GET/sdpw/configuration/process
Query parameters None
Header None
Header/Parameter None
Body None
Returns List of all configured jobs
Required role None
Managed errors None

Example request

curl 'http://localhost:8080/sdpw/sdpw/configuration/process'

Example response

[
	{
		"id": "fac67fb6-6d7b-45a0-82d3-029580ac078c",
		"active": false,
		"name": "Parentheses test",
		"availableToDownload": true,
		"kbId": "12314182-dca5-46f7-95f2-49d3a3c501e9",
		"processDescription": {
		"inputDescription": "Simple CSV with only variable Aaaaaa",
		"transformationDescription": "Trivial logic with parentheses",
		"outputDescription": "CSV with variable name / value with parentheses"
		},
		"itemMappings": [
		{
		"nameInConsultation": "Aaaaaa",
		"nameInFile": "Aaaaaa",
		"instanceBaseName": null
		}
		],
		"valueSeparator": null,
		"instanceSeparator": null,
		"goalVariableName": "SDP parentheses",
		"modifiedOn": 1498731710574,
		"templateResultProcessors": [
		{
		"name": "Parentheses output",
		"filename": "Parentheses output.csv",
		"modifiedOn": 0,
		"accumulatedParameters": [],
		"postProcessorsIds": [],
		"templateId": "a8645f83-de79-45bb-86d9-f8bd88137f0d",
		"type": "FREE_TEXT",
		"resultFiles": "SINGLE"
		}
		],
		"pdfResultProcessors": [],
		"itemSeparator": ",",
		"instanceHeaders": []
	},
	{
		"id": "5fc015ac-81b2-442f-ba91-64bb9ecca74b",
		"active": false,
		"name": "testSergio",
		"availableToDownload": true,
		"kbId": "51a56987-1d03-42fe-b8f9-01d1139a6f6d",
		"processDescription": {
		"inputDescription": "io",
		"transformationDescription": "io",
		"outputDescription": "io"
		},
		"itemMappings": [
		{
		"nameInConsultation": "File source",
		"nameInFile": "Source",
		"instanceBaseName": null
		},
		{
		"nameInConsultation": "label",
		"nameInFile": "Label",
		"instanceBaseName": null
		},
		{
		"nameInConsultation": "polisnummer",
		"nameInFile": "Polisnummer",
		"instanceBaseName": null
		},
		{
		"nameInConsultation": "Soort renseigment",
		"nameInFile": "SoortJaarrenseignering",
		"instanceBaseName": null
		}
		],
		"valueSeparator": ",",
		"instanceSeparator": "|",
		"goalVariableName": "Renseigneren proces",
		"modifiedOn": 1498472736834,
		"templateResultProcessors": [
		{
		"name": "(#1)",
		"filename": "pdf1.pdf",
		"modifiedOn": 0,
		"accumulatedParameters": [],
		"postProcessorsIds": [
		"7a697439-8801-4d10-b22c-4b10c592b42d"
		],
		"templateId": "36b8434e-d316-48fd-b202-cfc2eec01f3a",
		"type": "FREE_TEXT",
		"resultFiles": "SINGLE"
		}
		],
		"pdfResultProcessors": [],
		"itemSeparator": ";",
		"instanceHeaders": []
	}
]