Hi,
Struggling to find a suitable API endpoint and payload to register the client after installing the file system agent via decoupled installation. Meaning agent successfuly installed from the client and I only need to perform decoupled registration using API call. Below is my code snippet i tried but unlucky.
TOKEN =”this_is_a_dumy_token_to_illustrate"
url = "https://dkcdctestcs1.vestas.net/commandcenter/api/InstallClient"
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json',
'Authtoken': TOKEN
}
payload = json.dumps(
{
"rebootClient": false,
"createPseudoClientRequest": {
"registerClient": true,
"clientInfo": {
"clientType": 0,
"plan": {
"planId": 1
},
"subclientInfo": {
"fsSubClientProp": {
"useGlobalFilters": "USE_CELL_LEVEL_POLICY",
"backupSystemState": true
},
"useLocalContent": true,
"contentOperationType": 1,
"content": [
{
"path": "\\"
}
]
}
}
},
"packages": [
{
"packageId": 702,
"packageName": "File System"
}
],
"entities": [
{
"clientId": 30,
"clientName": "my_server_name",
"hostName": "my_server_name.domain.net"
}
]
}
)
response = requests.request("POST", url, headers=headers, data=payload, verify=False)
