PUT api/RPMDeviceProviders/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

RPMDeviceProvider
NameDescriptionTypeAdditional information
ID

integer

None.

NAME

string

None.

AUTHORIZATION

string

None.

DIV_ID

integer

None.

Devices

Collection of RPMDevice

None.

APIs

Collection of RPMProviderAPI

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "NAME": "sample string 2",
  "AUTHORIZATION": "sample string 3",
  "DIV_ID": 4,
  "Devices": [
    {
      "ID": 1,
      "NAME": "sample string 2",
      "CODE": "sample string 3",
      "PROVIDER_ID": 4,
      "DIV_ID": 5
    },
    {
      "ID": 1,
      "NAME": "sample string 2",
      "CODE": "sample string 3",
      "PROVIDER_ID": 4,
      "DIV_ID": 5
    }
  ],
  "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","AUTHORIZATION":"sample string 3","DIV_ID":4,"Devices":[{"ID":1,"NAME":"sample string 2","CODE":"sample string 3","PROVIDER_ID":4,"DIV_ID":5},{"ID":1,"NAME":"sample string 2","CODE":"sample string 3","PROVIDER_ID":4,"DIV_ID":5}],"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 'RPMDeviceProvider'.

Response Information

Resource Description

None.