Retrieve a Custom Inventory Script
get
/api/v2/inventory_scripts/{id}/
Make GET request to this resource to retrieve a single custom inventory script record containing the following fields:
id
: Database ID for this custom inventory script. (integer)type
: Data type for this custom inventory script. (choice)url
: URL for this custom inventory script. (string)related
: Data structure with URLs of related resources. (object)summary_fields
: Data structure with name/description for related resources. The output for some objects may be limited for performance reasons. (object)created
: Timestamp when this custom inventory script was created. (datetime)modified
: Timestamp when this custom inventory script was last modified. (datetime)name
: Name of this custom inventory script. (string)description
: Optional description of this custom inventory script. (string)script
: (string)organization
: Organization owning this inventory script (id)
Request
Supported Media Types
- application/json
Path Parameters
Query Parameters
-
search(optional): string
A search term.