getKeys
サンプル値でターゲットテーブルをクエリし、カンマ区切りの sys_id リストを返します。
入力フィールド
ターゲットテーブルの任意のフィールド値。
出力フィールド
一意のレコード識別子 (sys_id) 値のカンマ区切りリストを含む SOAP 応答要素sys_id。
サンプル SOAP メッセージ
サンプル SOAP 要求
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:inc="http://www.service-now.com/incident">
<soapenv:Header/>
<soapenv:Body>
<inc:getKeys>
<category>hardware</category>
</inc:getKeys>
</soapenv:Body>
</soapenv:Envelope>サンプル SOAP 応答
<soapenv:Envelope xmlns:inc="http://www.service-now.com/incident" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<getKeysResponse>
<sys_id>46e18c0fa9fe19810066a0083f76bd56,46e57642a9fe1981000b96a5dca501ff,46f1784ba9fe19810018aa27fbb23482</sys_id>
<count>7</count>
</getKeysResponse>
</soapenv:Body>
</soapenv:Envelope>言語固有のサンプルメッセージ
言語固有の getKeys のサンプルについては、次のトピックを参照してください。