Request parameters

Request parameters (sysparms in ServiceNow) are key-values passed in the query string for GET requests. Default parameters can be set on both the pysnow.Client and the pysnow.Resource using the parameters property. Parameters set on Client are automatically inherited by Resource, but can of course be overridden.

Please see the API documentation for more info on this.

Client object parameters

client = pysnow.Client(instance=instance,

client.parameters.display_value = False
client.parameters.exclude_reference_link  = True
client.parameters.add_custom({'foo': 'bar'})

Resource object parameters

incident = client.resource(api_path='/custom/api')
incident.parameters.add_custom({'foo': 'bar'})