Print Get PDF

Error

Parameters doctype and name required

{
  "doctype": "Salary"
}