title: Performing SoapUI API Calls with Python
body: <p>I am trying to call a POST API that would schedule a recording for a TV channel. The call works on SoapUI, but I can't seem to replicate the success in python (I can check whether it succeeds or not by checking my TV if a recording is scheduled). Here is the call in SoapUI: <a href="https://i.stack.imgur.com/dwE0i.png" rel="nofollow noreferrer">1</a> <a href="https://i.stack.imgur.com/6pzC5.png" rel="nofollow noreferrer">2</a> <a href="https://i.stack.imgur.com/BfbPl.png" rel="nofollow noreferrer">3</a></p>
  
  <p>Here is the call in Python (using pydev):</p>
  
  <pre><code>print("Record")  
  url1 = "http://10.10.120.48:8080/api/CreateRecordSchedule"
  {
      "type": "SERIES_PROGRAM",
      "matchingID": "SH00000000131221",
      "channelID": 11,
      "padIn": 0,
      "padOut": 0,
      "persistedRecordings": 5,
       "hd": False,
      "rerun": True
  }
  rsp = s.post(url1)
  
  print (rsp.status_code)
  </code></pre>
  
  <p>Other api calls with the same server work fine, so I was wondering what I am doing wrong. Thank you!</p>