Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Field

Description

Required

Size

smdmModel

Device model name

Yes

1-32

smdmMetricProfile

RFU, always 0.

Yes

1

Response code

200: OKThe expected response code is 200.

Response data

The response data is a JSON object with the following structure:

{

Field

Description

“smdmId”: <new device model id>

New device model id.

}

...

Verb

GET

Resource

/api/datamanagement/v1/SMDeviceModels

Response code

The expected response code is 200

Response data

The response data is a JSON object with the following structure:

...

Verb

GET

Resource

/api/datamanagement/v1/SMDeviceModels[/{id}]

Response code

The expected response code is 200.

Response data

The response data is a JSON object with the following structure:

...

Verb

UPDATE

Resource

/api/datamanagement/v1/SMDeviceModels[/{id}]

Content type

application/json

Body

{

“smdmModel”: “<model name>”,

“smdmMetricProfile”: 0

}

Response code

The expected response data is a JSON object with the following structure:

...

code is 200.

Response data

N/A.

DELETE an existing device model

...

Verb

DELETE

Resource

/api/datamanagement/v1/SMDeviceModels/{id}

Response code

The expected response data is a JSON object with the following structure:code is 200.

Response data

N/A.