GET api/Images/List/{ID}/{Group}?PermissionSet={PermissionSet}&DefaultImage={DefaultImage}

Request a list with ID's of images or pictures

For each ID in the result list
You should make a call to the Images API and use as parameter for Groups the text 'ID'
For example: https://atrlayer.transmissies.nl/api/Images/98765

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Group

For example for products the group is 'ArtikelDetails'

string

Default value is ArtikelDetails

ID

If the requested image is about products, then this parameter should be the ProductID
If the requested image is about product types, then this parameter should be the ProductTypeID

integer

Default value is 0

PermissionSet

The permission set that the current login user has

integer

Default value is 0

DefaultImage

Should the API return the ID of a default image if no results are found?
If DefaultImage is false the API will return a list with only 0 (zero) in it.

boolean

Default value is True

Body Parameters

None.

Response Information

Resource Description

a list with ID's of images or pictures

Collection of integer

Response Formats

application/json, text/json

Sample:
[
  1,
  2
]

application/xml, text/xml

Sample:
<ArrayOflong xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <long>1</long>
  <long>2</long>
</ArrayOflong>