Jump to content

Archived

This topic is now archived and is closed to further replies.

tranL

Set Client Trigger

Recommended Posts

I am trying to perform on-demand scans using the API. I create the clientTask request and the clientTrigger request. I have trouble setting the trigger request to set the targets.

I have the following JSON,

{
   "Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcSetClientTriggerTargetsRequest":{
      "clientTriggerStaticObjectIdentification":{
         "uuid":{
            "uuid":"00000000-0000-0000-0000-000000000000"
         },
         "versionGuard":"123456"
      },
      "targetUuids":[
         "computer_name"
      ]
   }
}

For "clientTriggerStaticObjectIdentification", I am using the "clientTriggerStaticObjectIdentification" properties from the response of the CreateClientTriggerRequest.

 

I get the following response,

Response is: {"Era.ServerApi.SimpleResponse": {"result":false,"error":"Can not parse protobuf from message. Json message is

 

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...