POST api/RPMDevices

Request Information

URI Parameters

None.

Body Parameters

RPMDevice
NameDescriptionTypeAdditional information
ID

integer

None.

NAME

string

None.

CODE

string

None.

PROVIDER_ID

integer

None.

DIV_ID

integer

None.

Provider

RPMDeviceProvider

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "NAME": "sample string 2",
  "CODE": "sample string 3",
  "PROVIDER_ID": 4,
  "DIV_ID": 5,
  "Provider": {
    "ID": 1,
    "NAME": "sample string 2",
    "AUTHORIZATION": "sample string 3",
    "DIV_ID": 4,
    "Devices": [],
    "APIs": [
      {
        "ID": 1,
        "SYSTEM_CODE": "sample string 2",
        "URL": "sample string 3",
        "PROVIDER_ID": 4
      },
      {
        "ID": 1,
        "SYSTEM_CODE": "sample string 2",
        "URL": "sample string 3",
        "PROVIDER_ID": 4
      }
    ]
  }
}

application/octet-stream

Sample:
{"ID":1,"NAME":"sample string 2","CODE":"sample string 3","PROVIDER_ID":4,"DIV_ID":5,"Provider":{"ID":1,"NAME":"sample string 2","AUTHORIZATION":"sample string 3","DIV_ID":4,"Devices":[],"APIs":[{"ID":1,"SYSTEM_CODE":"sample string 2","URL":"sample string 3","PROVIDER_ID":4},{"ID":1,"SYSTEM_CODE":"sample string 2","URL":"sample string 3","PROVIDER_ID":4}]}}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RPMDevice'.

Response Information

Resource Description

RPMDevice
NameDescriptionTypeAdditional information
ID

integer

None.

NAME

string

None.

CODE

string

None.

PROVIDER_ID

integer

None.

DIV_ID

integer

None.

Provider

RPMDeviceProvider

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "NAME": "sample string 2",
  "CODE": "sample string 3",
  "PROVIDER_ID": 4,
  "DIV_ID": 5,
  "Provider": {
    "ID": 1,
    "NAME": "sample string 2",
    "AUTHORIZATION": "sample string 3",
    "DIV_ID": 4,
    "Devices": [],
    "APIs": [
      {
        "ID": 1,
        "SYSTEM_CODE": "sample string 2",
        "URL": "sample string 3",
        "PROVIDER_ID": 4
      },
      {
        "ID": 1,
        "SYSTEM_CODE": "sample string 2",
        "URL": "sample string 3",
        "PROVIDER_ID": 4
      }
    ]
  }
}

application/octet-stream

Sample:
{"ID":1,"NAME":"sample string 2","CODE":"sample string 3","PROVIDER_ID":4,"DIV_ID":5,"Provider":{"ID":1,"NAME":"sample string 2","AUTHORIZATION":"sample string 3","DIV_ID":4,"Devices":[],"APIs":[{"ID":1,"SYSTEM_CODE":"sample string 2","URL":"sample string 3","PROVIDER_ID":4},{"ID":1,"SYSTEM_CODE":"sample string 2","URL":"sample string 3","PROVIDER_ID":4}]}}