The Trigger Job API is used to pull data from a customer's ServiceNow instance, and process those data through sRTMS.
https://<hostname>:<port>/job-rest-service/service-now/job
<hostname>: Azure hostname
<port>: Azure port
Content-Type: application/json
Accept: application/json
X-MS-VERSION: v0.1.1
X-AD-Authorization: <azureToken>
Content-Type: application/xml
Accept: application/xml
X-MS-VERSION: v0.1.1
X-AD-Authorization: <azureToken>
{
"jobName":"<jobName>",
"userName":"<snowLogin>",
"password":"<snowPwd>"
}
<jobName>: Use an exist Job Name's or create a new one
<snowLogin>: ServiceNow instance's username
<snowPwd>: ServiceNow instance's password
<JobArgs>
<jobName>[jobName]</jobName>
<userName>[snowLogin]</userName>
<password>[snowPwd]</password>
</JobArgs>
[jobName]: Use an exist Job Name's or create a new one
[snowLogin]: ServiceNow instance's username
[snowPwd]: ServiceNow instance's password
This request will return the Job ID session key "jobID". Please save this Job ID and use it in the Job Status API call.
if you have questions or issues using the API, please contact us as support@fatstacks.tech