9.2.31. Get Saved Question By Name

Get saved question object by name

9.2.31.1. Step 1 - Authenticate to the SOAP API via /auth

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.31.2. Step 2 - Get the server version via /info.json

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-665-232a53a6aad360e2997f787cd4ef030884852b0c7e31e94e5144d8b33588ef755cdc773d16d947a810080095500e25c03164b51daa15c35c310ad177ca56b6fd"
}
  • Response Headers:
1
2
3
4
5
{
  "connection": "keep-alive",
  "content-length": "20904",
  "content-type": "application/json"
}

9.2.31.3. Step 3 - Issue a GetObject to find an object

1
2
3
4
5
6
7
8
9
{
  "Accept": "*/*",
  "Accept-Encoding": "gzip",
  "Connection": "keep-alive",
  "Content-Length": "527",
  "Content-Type": "text/xml; charset=utf-8",
  "User-Agent": "python-requests/2.7.0 CPython/2.7.10 Darwin/14.5.0",
  "session": "1-665-232a53a6aad360e2997f787cd4ef030884852b0c7e31e94e5144d8b33588ef755cdc773d16d947a810080095500e25c03164b51daa15c35c310ad177ca56b6fd"
}
  • 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