Skip to content

Conversation

@aretokas
Copy link

@aretokas aretokas commented May 8, 2025

Halo API documentation has comma separated ids listed for all query string parameters where you might want multiple values for the /Asset endpoint.

Added the -CommaSeparatedArrays switch to the cmdlet after testing (quickly) myself.

Without this, attempting to use the -AssetTypes and -AssetGroupTypes (and possibly others) fails to build the parameters:

Exception calling "Add" with "2" argument(s): "Item has already been added. Key in dictionary: 'assettypes'  Key being added: 'assettypes'"

Utilise  -CommaSeparatedArrays to correct query string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant