# Avnet Command API

**Canonical:** https://apis.io/apis/avnet/avnet-command-api/  
**Provider:** Avnet — https://apis.io/providers/avnet/  
**Base URL:** https://apigw.avnet.com  
**Documentation:** https://apiportal.avnet.com/

Avnet Command API is one of 36 APIs that [Avnet](https://apis.io/providers/avnet/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Command. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and authentication docs.

Command Api List

## Operations (41)

| Method | Path | Summary |
|---|---|---|
| POST | `/api/v2.1/template-command` | Add new template command |
| PUT | `/api/v2.1/template-command/{commandGuid}` | Update template command |
| DELETE | `/api/v2.1/template-command/{commandGuid}` | Delete a command |
| GET | `/api/v2.1/template-command/{deviceTemplateGuid}` | Get device template command list |
| GET | `/api/v2.1/template-command/{deviceTemplateGuid}/lookup` | Get device template command lookup |
| POST | `/api/v2.1/template-command/device/{deviceGuid}/send` | Execute a command on device |
| POST | `/api/v2.1/template-command/send` | Execute a command on multiple devices |
| POST | `/api/v2.1/device-command/{uniqueId}/send` | Execute a command on device using device uniqueId |
| PUT | `/api/v2.1/template-command/CommandSchedule/{commandScheduleGuid}` | Update a scheduled command |
| DELETE | `/api/v2.1/template-command/CommandSchedule/{commandScheduleGuid}` | Delete a scheduled command |
| GET | `/api/v2.1/template-command/CommandSchedule/{CommandScheduleGuid}` | Get scheduled command detail |
| GET | `/api/v2.1/template-command/CommandSchedule` | Get scheduled command list |
| PUT | `/api/v2.1/template-command/CommandSchedule/{commandScheduleGuid}/status` | Update scheduled command Status |
| GET | `/api/v2.1/template-command/history` | Get device command history |
| POST | `/api/v2.1/template-command/history` | Get device command history |
| PUT | `/api/v2.1/template-command/{deviceGuid}/status` | Update command history status |
| PUT | `/api/v2.1/template-command/history/{commandHistoryGuid}/re-send` | Resend commands |
| GET | `/api/v2.1/template-command/batch/{batchGuid}` | Get executed command list by batch |
| DELETE | `/api/v2.1/template-command/Command-history/device/{deviceGuid}/from/{fromDate}/to/{toDate}` | Delete a command-history |
| DELETE | `/api/v2.1/template-command/Command-history/from/{fromDate}/to/{toDate}/Capability/{capability}` | Delete a command-history by company |
| POST | `/api/v2/template-command` | Add new template command |
| PUT | `/api/v2/template-command/{commandGuid}` | Update template command |
| DELETE | `/api/v2/template-command/{commandGuid}` | Delete a command |
| GET | `/api/v2/template-command/{deviceTemplateGuid}` | Get device template command list |
| GET | `/api/v2/template-command/{deviceTemplateGuid}/lookup` | Get device template command lookup |
| POST | `/api/v2/template-command/device/{deviceGuid}/send` | Execute a command on device |
| POST | `/api/v2/template-command/send` | Execute a command on multiple devices |
| PUT | `/api/v2/template-command/CommandSchedule/{commandScheduleGuid}` | Update a scheduled command |
| DELETE | `/api/v2/template-command/CommandSchedule/{commandScheduleGuid}` | Delete a scheduled command |
| GET | `/api/v2/template-command/CommandSchedule/{CommandScheduleGuid}` | Get scheduled command detail |
| GET | `/api/v2/template-command/CommandSchedule` | Get scheduled command list |
| PUT | `/api/v2/template-command/CommandSchedule/{commandScheduleGuid}/status` | Update scheduled command Status |
| GET | `/api/v2/template-command/history` | Get device active commands |
| POST | `/api/v2/template-command/history` | Get device command history |
| PUT | `/api/v2/template-command/{deviceGuid}/status` | Update command history status |
| PUT | `/api/v2/template-command/history/{commandHistoryGuid}/re-send` | Resend commands |
| GET | `/api/v2/template-command/batch/{batchGuid}` | Get executed command list by batch |
| DELETE | `/api/v2/template-command/Command-history/device/{deviceGuid}/from/{fromDate}/to/{toDate}` | Delete a command-history |
| DELETE | `/api/v2/template-command/Command-history/from/{fromDate}/to/{toDate}/Edge/{isEdgeSupport}/IotEdge/{iotEdgeEnable}/Gateway/{isGateway}/LowBandwidth/{isLowBandwidth}` | Delete a command-history |
| POST | `/api/v2/template-command/commandFeedback/{commandHistoryGuid}` | Get device command feedback |
| POST | `/api/v2/template-command/device/{deviceGuid}/history` | Get device command history combined for dashboard |

## Machine-readable artifacts (14)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/avnet/refs/heads/main/openapi/avnet-command-api-openapi.yml
- **Documentation** — https://docs.iotconnect.io/iotconnect/rest-api/master/?env=prod&pf=az
- **Authentication** — https://raw.githubusercontent.com/api-evangelist/avnet/refs/heads/main/authentication/avnet-authentication.yml
- **Conventions** — https://raw.githubusercontent.com/api-evangelist/avnet/refs/heads/main/conventions/avnet-conventions.yml
- **ErrorCatalog** — https://raw.githubusercontent.com/api-evangelist/avnet/refs/heads/main/errors/avnet-problem-types.yml
- **Documentation** — https://docs.iotconnect.io/iotconnect/rest-api/auth/?env=prod&pf=az
- **Documentation** — https://docs.iotconnect.io/iotconnect/rest-api/user/?env=prod&pf=az
- **Documentation** — https://docs.iotconnect.io/iotconnect/rest-api/device/?env=prod&pf=az
- **DataModel** — https://raw.githubusercontent.com/api-evangelist/avnet/refs/heads/main/data-model/avnet-data-model.yml
- **Documentation** — https://docs.iotconnect.io/iotconnect/rest-api/firmware/?env=prod&pf=az
- **Documentation** — https://docs.iotconnect.io/iotconnect/rest-api/event/?env=prod&pf=az
- **Webhooks** — https://raw.githubusercontent.com/api-evangelist/avnet/refs/heads/main/asyncapi/avnet-iotconnect-webhooks.yml
- **Documentation** — https://docs.iotconnect.io/iotconnect/rest-api/telemetry/?env=prod&pf=az
- **Documentation** — https://docs.iotconnect.io/iotconnect/rest-api/file/?env=prod&pf=az

## Other Avnet APIs (12)

- [Avnet API Portal (Procurement APIs)](https://apis.io/apis/avnet/avnet-api-portal-procurement-apis/)
- [Avnet ADU Group API](https://apis.io/apis/avnet/avnet-adugroup-api/)
- [Avnet Attribute API](https://apis.io/apis/avnet/avnet-attribute-api/)
- [Avnet Auth API](https://apis.io/apis/avnet/avnet-auth-api/)
- [Avnet Azure Sphere API](https://apis.io/apis/avnet/avnet-azuresphere-api/)
- [Avnet Certificate API](https://apis.io/apis/avnet/avnet-certificate-api/)
- [Avnet Cloud Template API](https://apis.io/apis/avnet/avnet-cloudtemplate-api/)
- [Avnet Deployment API](https://apis.io/apis/avnet/avnet-deployment-api/)
- [Avnet Device API](https://apis.io/apis/avnet/avnet-device-api/)
- [Avnet Device Operation API](https://apis.io/apis/avnet/avnet-deviceoperation-api/)
- [Avnet Device Update API](https://apis.io/apis/avnet/avnet-deviceupdate-api/)
- [Avnet Direct Method API](https://apis.io/apis/avnet/avnet-directmethod-api/)

## Tags

Command

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/avnet/avnet-command-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/avnet/.
