Could not trigger the job using postman for modern folder

Hi,

I have to select Machine, Process and user When i am triggering the job from orchestrator for modern folder. It’s working fine for me. Now I am using api call to trigger the job from postman, It’s is creating the job , but it’s not running in the machine, It’s in pending status for ever. Please find the below steps that I performed in postman.

Step1:
Post: https://account.uipath.com/oauth/token
Headers: Content Type : application/json , X-UIPATH-TenantName:xxxx
Getting Auth token
Body:
{ “grant_type”: “refresh_token”,
“client_id”: “XXX”,
“refresh_token”: “XX”
}
Step 2:
Get :{{url}}/odata/Folders
Authorization :Bearer Auth token
Headers: Content Type : application/json , X-UIPATH-TenantName:xxxx

Step 3: Get :{{url}}/odata/Releases
Authorization :Bearer Auth token
Headers: Content Type : application/json , X-UIPATH-TenantName:xxxx, X-UIPATH-OrganizationUnitId : {{folder id}}

Step 4: POST :{{url}}/odata/Jobs/UiPath.Server.Configuration.OData.StartJobs
Authorization :Bearer Auth token
Headers: Content Type : application/json , X-UIPATH-TenantName:xxxx, X-UIPATH-OrganizationUnitId : {{folder id}}
Body:
{
“startInfo”: {
“ReleaseKey”: “xxxxx”,
“JobsCount”: 1,
“JobPriority”: “Normal”,
“Strategy”: “ModernJobsCount”,
“RuntimeType”: “Unattended”,
“InputArguments”: “{“status”:“Sold”}”
}
}

After triggering the job from postman, job is created in orchestrator but it is not running in any machine. We could not find parameter i.e Machine, user in the API body as per the api documentation. is there any new API documentation for modern folders to trigger the job from postman?

Check first in the swagger then execute in the postman.
Also Pending means that smth is already running on your Machine - if not then kill process UiRobot and try to execute again.