Back

Search

Search

Methods

Inventory

OrderPrintStatus
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

GET | 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": "2023-01-10T13:49:47.0268781+00:00",
    "Completed": "2023-01-10T13:49:47.0268781+00:00",
    "Executing": true,
    "CurrentState": "sample string 9",
    "Parameters": [
      {
        "MacroId": 1,
        "ParameterName": "sample string 2",
        "ParameterValue": "sample string 3",
        "IsSecure": true
      }
    ],
    "Specification": [
      {
        "Name": "sample string 1",
        "RepetitionType": 0,
        "OneTimeDate": "2023-01-10T13:49:47.0268781Z",
        "DailyFrequency": 0,
        "OccursFrequencyStartingDate": "2023-01-10T13:49:47.0279257Z",
        "OccursFrequencyEveryX": 1,
        "WeeklyDays": "sample string 2",
        "OccursFrequency": 0,
        "OccursOnceAtTime": "sample string 3",
        "OccursEveryHours": 1,
        "StartingTime": "sample string 4",
        "EndingTime": "sample string 5",
        "Enabled": true
      }
    ],
    "TimeZoneOffset": 10.1,
    "MacroType": "sample string 11",
    "Migrated": 64
  }
]