It's all about the answers!

Ask a question

RQM REST API 501 error on creating jobscheduler/execution schedule


MJ Ranji (173) | asked Oct 17 '23, 11:13 a.m.

Hi there, please help me on this issue

I have created executionsequence using rqm rest API, Now I want to create jobscheduler and  link  created executionsequence to it using post method but it returned error 501, which in documentation means not implemented but in the same doc in supported operation table it says jobscheduler support get,put post method so I am confuesd if it is not implemented or my xml body has problem or etc.

url to post against:


<?xml version="1.0" encoding="UTF-8"?>
<ns2:jobscheduler xmlns:ns2="http://jazz.net/xmlns/alm/qm/v0.1/" xmlns:ns1="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ns3="http://schema.ibm.com/vega/2008/" xmlns:ns4="http://purl.org/dc/elements/1.1/" xmlns:ns5="http://jazz.net/xmlns/prod/jazz/process/0.6/"
  xmlns:ns6="http://jazz.net/xmlns/alm/v0.1/" xmlns:ns7="http://purl.org/dc/terms/" xmlns:ns8="http://jazz.net/xmlns/alm/qm/v0.1/testscript/v0.1/" xmlns:ns9="http://jazz.net/xmlns/alm/qm/v0.1/executionworkitem/v0.1" xmlns:ns10="http://open-services.net/ns/core#"
  xmlns:ns11="http://open-services.net/ns/qm#" xmlns:ns12="http://jazz.net/xmlns/prod/jazz/rqm/process/1.0/" xmlns:ns13="http://www.w3.org/2002/07/owl#" xmlns:ns14="http://jazz.net/xmlns/alm/qm/qmadapter/v0.1" xmlns:ns15="http://jazz.net/xmlns/alm/qm/qmadapter/task/v0.1"
  xmlns:ns16="http://jazz.net/xmlns/alm/qm/v0.1/executionresult/v0.1" xmlns:ns17="http://jazz.net/xmlns/alm/qm/v0.1/catalog/v0.1" xmlns:ns18="http://jazz.net/xmlns/alm/qm/v0.1/tsl/v0.1/" xmlns:ns20="http://jazz.net/xmlns/alm/qm/styleinfo/v0.1/" xmlns:ns21="http://www.w3.org/1999/XSL/Transform">
  <ns2:projectArea href="https://localhost:9443/qm/resource/itemOid/com.ibm.team.process.ProjectArea/_Vt1tEUcDEe6Rc9ReI76vaw" alias="QmAutoTest+%28Quality+Management%29" />
  <ns4:identifier/>
  <ns2:webId/>
  <ns4:title>sched_111</ns4:title>
  <ns6:updated>2023-10-17T14:09:20.341Z</ns6:updated>
  <ns4:creator ns1:resource="https://localhost:9443/jts/resource/itemName/com.ibm.team.repository.Contributor/UserName">UserName</ns4:creator>
  <ns2:nextTriggerDate>2023-10-23T18:00:00.004Z</ns2:nextTriggerDate>
  <ns2:weeklyschedule>
    <ns2:activationDate>2023-10-17+02:00</ns2:activationDate>
    <ns2:expiryDate>2024-10-31+01:00</ns2:expiryDate>
    <ns2:triggerTime>20:00:00.000+02:00</ns2:triggerTime>
    <ns2:weekday>MON</ns2:weekday>
  </ns2:weeklyschedule>
  <ns2:scheduledjob>
    <ns2:operation>execute</ns2:operation>
    <ns2:executionSequence href="https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/_Vt1tEUcDEe6Rc9ReI76vaw/executionsequence/urn:com.ibm.rqm:executionsequence:16" /></ns2:scheduledjob>
</ns2:jobscheduler>

Be the first one to answer this question!


Register or to post your answer.