GET v1/Shops/{shopId}/Triggers
Get a list with all available Triggers for this shop.
Request Information
Requires Authorization!
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
shopId |
Shop identifier |
integer |
Required. |
Body Parameters
None.
Response Information
Resource Description
Triggers list
Collection of TriggerBasicInfo
Name | Description | Type | Additional information |
---|---|---|---|
Id |
Gets or sets the identifier. |
integer |
Required |
TriggerDefinitionId |
Gets or sets the trigger definition identifier. |
integer |
Required |
TriggerDefinitionName |
Gets or sets the trigger definition name. |
string |
None. |
Title |
Gets or sets the title. |
string |
Max length: 50 |
Enabled |
Indicates whether the Trigger is enabled. |
boolean |
Required |
ShopOwnerId |
Gets or sets the shop owner identifier. |
integer |
None. |
ShopId |
Gets or sets the shop identifier. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "TriggerDefinitionId": 2, "TriggerDefinitionName": "sample string 3", "Title": "sample string 4", "Enabled": true, "ShopOwnerId": 1, "ShopId": 1 }, { "Id": 1, "TriggerDefinitionId": 2, "TriggerDefinitionName": "sample string 3", "Title": "sample string 4", "Enabled": true, "ShopOwnerId": 1, "ShopId": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfTriggerBasicInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <TriggerBasicInfo> <Id>1</Id> <TriggerDefinitionId>2</TriggerDefinitionId> <TriggerDefinitionName>sample string 3</TriggerDefinitionName> <Title>sample string 4</Title> <Enabled>true</Enabled> <ShopOwnerId>1</ShopOwnerId> <ShopId>1</ShopId> </TriggerBasicInfo> <TriggerBasicInfo> <Id>1</Id> <TriggerDefinitionId>2</TriggerDefinitionId> <TriggerDefinitionName>sample string 3</TriggerDefinitionName> <Title>sample string 4</Title> <Enabled>true</Enabled> <ShopOwnerId>1</ShopOwnerId> <ShopId>1</ShopId> </TriggerBasicInfo> </ArrayOfTriggerBasicInfo>