AnsweredAssumed Answered

API: how to use truncation_limit=0

Question asked by Max Max on Oct 27, 2015

Hi there,

 

can anybody suggest me where I am wrong using the "truncation_limit=0"? I am using this instruction on PowerShell and I tried several times changing position, but it doesn't work and I can activate only 100 instances

 

 

cmd /c 'curl -u "ID:Password" -H "content-type: text/xml" -X "POST" --data-binary @- "https://qualysapi.qualys.eu/qps/rest/2.0/activate/am/asset?module=QWEB_V/truncation_limit=0" <file.xml >output.xml'

 

cmd /c 'curl -u "ID:Password" -H "content-type: text/xml" -X "POST" --data-binary @- "https://qualysapi.qualys.eu/qps/rest/2.0/activate/am/asset?module=QWEB_V/?action=list&truncation_limit=0" <file.xml >output.xml'

 

cmd /c 'curl -u "ID:Password" -H "content-type: text/xml" -X "POST" --data-binary @- "https://qualysapi.qualys.eu/qps/rest/2.0/activate/am/asset?module=QWEB_V" <file.xml >output.xml'

 

cmd /c 'curl -u "ID:Password" -H "content-type: text/xml" -X "POST" -d "truncation_limit=0" --data-binary @- "https://qualysapi.qualys.eu/qps/rest/2.0/activate/am/asset?module=QWEB_V/?action=list" <file.xml >output.xml'

Outcomes