跳至主要内容

Get a Custom Device data parser

GET 

/api/v1/orgs/{orgId}/devices/{deviceId}/data-source/data-parser

Retrieve the data parser that extracts values from this custom device's raw payloads.

If the device exists but has no DataParser configured yet, returns 200 with a default-valued object instead of 404: dataParserId is 00000000-0000-0000-0000-000000000000 and every other field is null.

Parameters

  • orgId (string, required, path): Organization identifier.
  • deviceId (UUID, required, path): Custom device identifier.

Responses

  • 200 OK: Returns the data parser, or a default-valued object if none is configured yet (see above).
  • 404 Not Found: The device itself does not exist in this org.

Request​

Responses​

OK