Returns a list of all groups in all workflows for all locations. The returned value does not contain group action and group conditions
Name | Type | Description |
---|---|---|
request | GetGroupListRequest |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/OrderWorkflow/GetGroupList
Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE
This is an example of the request structure. Results will vary depending on your data.
request={}
This is an example of the response JSON. Results will vary depending on your data.
{
"GroupList": [
{
"GroupId": 1,
"LocationId": "f229ed55-4046-4e26-bf82-4d1bbea35d0b",
"Name": "sample string 3",
"Prefix": "sam",
"Seed": 5,
"MaxOrderCount": 6,
"Prevalence": 7,
"JobCount": 8,
"OrderCount": 9,
"AttachmentCount": 10,
"Condition": {
"Where": "sample string 1",
"Inner": "sample string 2",
"Sort": "sample string 3"
},
"Action": {
"Actions": [
"sample string 1"
]
},
"HasAction": true
}
]
}