9.2.17. Deploy Action With Params Against Windows Computers¶
Deploy an action using the package ‘Custom Tagging - Add Tags’ with parameter $1 set to ‘tag_should_be_added’ and parameter $2 set to ‘tag_should_be_ignore’ to all computers that pass the filter Operating System, that contains Windows, wait for result data to be complete, and then get result data
9.2.17.1. Step 1 - Authenticate to the SOAP API via /auth¶
- URL: https://10.0.1.240:443/auth
- HTTP Method: GET
- Elapsed Time: 0:00:00.017249
- Step 1 Request Body
- Step 1 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 | {
"Accept": "*/*",
"Accept-Encoding": "gzip, deflate",
"Connection": "keep-alive",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"password": "VGFuaXVtMjAxNSE=",
"username": "QWRtaW5pc3RyYXRvcg=="
}
|
- Response Headers:
1 2 3 4 5 | {
"connection": "keep-alive",
"content-length": "134",
"content-type": "text/plain; charset=us-ascii"
}
|
9.2.17.2. Step 2 - Get the server version via /info.json¶
- URL: https://10.0.1.240:443/info.json
- HTTP Method: GET
- Elapsed Time: 0:00:00.014662
- Step 2 Request Body
- Step 2 Response Body
- Request Headers:
1 2 3 4 5 6 7 | {
"Accept": "*/*",
"Accept-Encoding": "gzip, deflate",
"Connection": "keep-alive",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 | {
"connection": "keep-alive",
"content-length": "19290",
"content-type": "application/json"
}
|
9.2.17.3. Step 3 - Issue a GetObject to get the full object of a package for inclusion in an action¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.040737
- Step 3 Request Body
- Step 3 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "570",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.4. Step 4 - Issue a GetObject to get the full object of a sensor for inclusion in a Group for an Action¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.004751
- Step 4 Request Body
- Step 4 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "568",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.5. Step 5 - Issue an AddObject to add a list of SavedActions (6.5 logic)¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.066885
- Step 5 Request Body
- Step 5 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "2644",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.6. Step 6 - Issue a GetObject on the recently added object in order to get the full object¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.032146
- Step 6 Request Body
- Step 6 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "1448",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.7. Step 7 - Issue a GetObject to get the last action created for a SavedAction¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.007240
- Step 7 Request Body
- Step 7 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "558",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.8. Step 8 - Issue a GetObject to get the package for an Action¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.003480
- Step 8 Request Body
- Step 8 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "618",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.9. Step 9 - Issue a GetResultInfo on an Action to have the Server create a question that tracks the results for a Deployed Action¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.270437
- Step 9 Request Body
- Step 9 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "540",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.10. Step 10 - Issue a GetObject on the package for an action to get the full object¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.003796
- Step 10 Request Body
- Step 10 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "618",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.11. Step 11 - Issue a GetObject on the target_group for an action to get the full Group object¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.017676
- Step 11 Request Body
- Step 11 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "506",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.12. Step 12 - ID 82: Issuing an AddObject of a Question object with no Selects and the same Group used by the Action object. The number of systems that should successfully run the Action will be taken from result_info.passed_count for the Question asked when all answers for the question have reported in.¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.022956
- Step 12 Request Body
- Step 12 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "1144",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 | {
"connection": "keep-alive",
"content-length": "766",
"content-type": "text/xml;charset=UTF-8"
}
|
9.2.17.13. Step 13 - Issue a GetObject on the recently added object in order to get the full object¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.043548
- Step 13 Request Body
- Step 13 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "492",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.14. Step 14 - Issue a GetResultInfo for a Question to check the current progress of answers¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.003913
- Step 14 Request Body
- Step 14 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "496",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.15. Step 15 - Issue a GetResultInfo for a Question to check the current progress of answers¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.112043
- Step 15 Request Body
- Step 15 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "496",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.16. Step 16 - Issue a GetObject for an Action in order to have access to the latest values for stopped_flag and status¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.045500
- Step 16 Request Body
- Step 16 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "1440",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.17. Step 17 - Issue a GetResultInfo for an Action to ensure fresh data is available for a GetResultData call¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.033540
- Step 17 Request Body
- Step 17 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "540",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.18. Step 18 - Issue a GetResultData with the aggregate option set to True.This will return row counts of machines that have answered instead of all the data¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.005351
- Step 18 Request Body
- Step 18 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "614",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.19. Step 19 - Issue a GetObject for an Action in order to have access to the latest values for stopped_flag and status¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.141804
- Step 19 Request Body
- Step 19 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "1440",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.20. Step 20 - Issue a GetResultInfo for an Action to ensure fresh data is available for a GetResultData call¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.012278
- Step 20 Request Body
- Step 20 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "540",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.21. Step 21 - Issue a GetResultData with the aggregate option set to True.This will return row counts of machines that have answered instead of all the data¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.004534
- Step 21 Request Body
- Step 21 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "614",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.22. Step 22 - Issue a GetObject for an Action in order to have access to the latest values for stopped_flag and status¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.205111
- Step 22 Request Body
- Step 22 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "1440",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.23. Step 23 - Issue a GetResultInfo for an Action to ensure fresh data is available for a GetResultData call¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.005830
- Step 23 Request Body
- Step 23 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "540",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.24. Step 24 - Issue a GetResultData with the aggregate option set to True.This will return row counts of machines that have answered instead of all the data¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.005095
- Step 24 Request Body
- Step 24 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "614",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.25. Step 25 - Issue a GetObject for an Action in order to have access to the latest values for stopped_flag and status¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.211727
- Step 25 Request Body
- Step 25 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "1440",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.26. Step 26 - Issue a GetResultInfo for an Action to ensure fresh data is available for a GetResultData call¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.006229
- Step 26 Request Body
- Step 26 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "540",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.27. Step 27 - Issue a GetResultData with the aggregate option set to True.This will return row counts of machines that have answered instead of all the data¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.033959
- Step 27 Request Body
- Step 27 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "614",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.28. Step 28 - Issue a GetObject for an Action in order to have access to the latest values for stopped_flag and status¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.003956
- Step 28 Request Body
- Step 28 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "1440",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.29. Step 29 - Issue a GetResultInfo for an Action to ensure fresh data is available for a GetResultData call¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.003375
- Step 29 Request Body
- Step 29 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "540",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
9.2.17.30. Step 30 - Issue a GetResultData for an Action with the aggregate option set to False. This will return all of the Action Statuses for each computer that have run this Action¶
- URL: https://10.0.1.240:443/soap
- HTTP Method: POST
- Elapsed Time: 0:00:00.003426
- Step 30 Request Body
- Step 30 Response Body
- Request Headers:
1 2 3 4 5 6 7 8 9 | {
"Accept": "*/*",
"Accept-Encoding": "gzip",
"Connection": "keep-alive",
"Content-Length": "568",
"Content-Type": "text/xml; charset=utf-8",
"User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
"session": "1-623-bd9f4ea333ba6f18289ee21afe20dd92e3b59f007651dbdc059dee4599af628861263483bcdd59c33e507e1f5f251bfe85446828e44154a85f11b9090ba3fa25"
}
|
- Response Headers:
1 2 3 4 5 6 | {
"connection": "keep-alive",
"content-encoding": "gzip",
"content-type": "text/xml;charset=UTF-8",
"transfer-encoding": "chunked"
}
|
Footnotes
[1] | this file automatically created by BUILD/build_api_examples.py |