revit api – Autodesk Forge create activity with postman

I use this thread to post my question. I have to create an activity on Forge to compute some revit files with id = Owner.MyActivityName+label

So I call developer.api.autodesk.com/da/us-east/v3/activities with this body :

{
“id”: “Owner.MyActivityName+label”,
“commandLine”: [ “$(engine.path)\\revitcoreconsole.exe /i “$(args[rvtFile].path)” /al “$(appbundles[MyActivityName].path)”” ],
“parameters”: {
“rvtFile”: {
“zip”: false,
“ondemand”: false,
“verb”: “get”,
“description”: “Owner.MyActivityName”,
“required”: true,
“localName”: “$(rvtFile)”
},
“result”: {
“zip”: false,
“ondemand”: false,
“verb”: “put”,
“description”: “Results”,
“required”: true,
“localName”: “result.rvt”
}
},
“engine”: “Autodesk.Revit+2021”,
“appbundles”: [ “Owner.MyActivityName+label” ],
“description”: “Owner.MyActivityName+label.”
}

I have the following response :

{
“id”: [
“Invalid Owner specified: Owner (Parameter ‘id’)”
]
}

This owner is created on aps.autodesk.com and I don’t understand this case…

I have tried Forge tutorial aps.autodesk.com/en/docs/design-automation/v3/reference/http/activities-POST/

Read more here: Source link