One of our users is asking if it’s possible to pass the following JSON Payload in HTTP job as parameters?
{
"CustomServiceRequest": {
"accountCodeSource": "1234V123",
"reportingPeriod": "Weekly",
"effectiveDate": null,
"templateName": "Stress-123"
},
"BackupServiceRequest": {
"accountCodeSource": "1234V123",
"reportingPeriod": "Weekly",
"effectiveDate": null,
"templateName": "Stres23Wky"
},
"templateName": "Template-stress-wkly"
}
Release : 12.0
Component : Workload Automation System Agent
Add the parameters to the JIL after adding the media_type attribute with the blob_input.
media_type: application/json
blob_input: <auto_blobt>{"CustomServiceRequest": {
"accountCodeSource": "1234V123",
"reportingPeriod": "Weekly",
"effectiveDate": null,
"templateName": "Stress-123"
},
"BackupServiceRequest": {
"accountCodeSource": "1234V123",
"reportingPeriod": "Weekly",
"effectiveDate": null,
"templateName": "Stres23Wky"
},
"templateName": "Template-stress-wkly"}</auto_blobt>