Back

Search

Search

Methods

Inventory

Orders

Macro /GetMacroConfigurations

Allows 150 calls per minute

Response: List<MacroRegister>



Get all the macro configurations for the user account

Parameters

NameTypeDescription
requestGetMacroConfigurationsRequest

Permissions

GlobalPermissions.Applications.MacroConfigurationNode

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/Macro/GetMacroConfigurations

Headers

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

Request Body

This is an example of the request structure. Results will vary depending on your data.

request={}

Response

This is an example of the response JSON. Results will vary depending on your data.

[
  {
    "MacroId": 1,
    "ApplicationName": "sample string 2",
    "MacroName": "sample string 3",
    "FriendlyName": "sample string 4",
    "Enabled": true,
    "Started": "2021-05-05T15:35:22.9346423+01:00",
    "Completed": "2021-05-05T15:35:22.9346423+01:00",
    "Executing": true,
    "CurrentState": "sample string 9",
    "Parameters": [
      {
        "MacroId": 1,
        "ParameterName": "sample string 2",
        "ParameterValue": "sample string 3"
      }
    ],
    "Specification": [
      {
        "Name": "sample string 1",
        "RepetitionType": 0,
        "OneTimeDate": "2021-05-05T15:35:22.9356398Z",
        "DailyFrequency": 0,
        "OccursFrequencyStartingDate": "2021-05-05T15:35:22.9356398Z",
        "OccursFrequencyEveryX": 1,
        "WeeklyDays": "sample string 2",
        "OccursFrequency": 0,
        "OccursOnceAtTime": "sample string 3",
        "OccursEveryHours": 1,
        "StartingTime": "sample string 4",
        "EndingTime": "sample string 5",
        "Enabled": true
      }
    ],
    "MacroType": "sample string 10"
  }
]