PATCH api/admin/UpdateDeviceConfiguration

Request Information

URI Parameters

None.

Body Parameters

NepsDeviceConfigurationDTO
NameDescriptionTypeAdditional information
MAC

string

None.

NewMAC

string

None.

DeviceModel

string

None.

LocationAccountNumber

string

None.

VlanId

integer

None.

TransportProtocol

string

None.

Fqdn

string

None.

IsVideoEnabled

boolean

None.

UseLineKeysForBLFList

boolean

None.

EncryptedAudio

boolean

None.

Ports

Collection of NepsDeviceConfigurationLineDTO

None.

IsSwapOperation

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "MAC": "sample string 1",
  "NewMAC": "sample string 2",
  "DeviceModel": "sample string 3",
  "LocationAccountNumber": "sample string 4",
  "VlanId": 1,
  "TransportProtocol": "sample string 5",
  "Fqdn": "sample string 6",
  "IsVideoEnabled": true,
  "UseLineKeysForBLFList": true,
  "EncryptedAudio": true,
  "Ports": [
    {
      "PortNumber": 1,
      "UserId": "sample string 2",
      "DisplayName": "sample string 3",
      "PhoneNumber": "sample string 4",
      "Extension": "sample string 5",
      "Blf": true,
      "Sca": true,
      "Mwi": true,
      "Lk": true,
      "Cc": true,
      "Span": 1,
      "IsDelete": true
    },
    {
      "PortNumber": 1,
      "UserId": "sample string 2",
      "DisplayName": "sample string 3",
      "PhoneNumber": "sample string 4",
      "Extension": "sample string 5",
      "Blf": true,
      "Sca": true,
      "Mwi": true,
      "Lk": true,
      "Cc": true,
      "Span": 1,
      "IsDelete": true
    }
  ],
  "IsSwapOperation": true
}

application/xml, text/xml

Sample:
<NepsDeviceConfigurationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO">
  <DeviceModel>sample string 3</DeviceModel>
  <EncryptedAudio>true</EncryptedAudio>
  <Fqdn>sample string 6</Fqdn>
  <IsSwapOperation>true</IsSwapOperation>
  <IsVideoEnabled>true</IsVideoEnabled>
  <LocationAccountNumber>sample string 4</LocationAccountNumber>
  <MAC>sample string 1</MAC>
  <NewMAC>sample string 2</NewMAC>
  <Ports>
    <NepsDeviceConfigurationLineDTO>
      <Blf>true</Blf>
      <Cc>true</Cc>
      <DisplayName>sample string 3</DisplayName>
      <Extension>sample string 5</Extension>
      <IsDelete>true</IsDelete>
      <Lk>true</Lk>
      <Mwi>true</Mwi>
      <PhoneNumber>sample string 4</PhoneNumber>
      <PortNumber>1</PortNumber>
      <Sca>true</Sca>
      <Span>1</Span>
      <UserId>sample string 2</UserId>
    </NepsDeviceConfigurationLineDTO>
    <NepsDeviceConfigurationLineDTO>
      <Blf>true</Blf>
      <Cc>true</Cc>
      <DisplayName>sample string 3</DisplayName>
      <Extension>sample string 5</Extension>
      <IsDelete>true</IsDelete>
      <Lk>true</Lk>
      <Mwi>true</Mwi>
      <PhoneNumber>sample string 4</PhoneNumber>
      <PortNumber>1</PortNumber>
      <Sca>true</Sca>
      <Span>1</Span>
      <UserId>sample string 2</UserId>
    </NepsDeviceConfigurationLineDTO>
  </Ports>
  <TransportProtocol>sample string 5</TransportProtocol>
  <UseLineKeysForBLFList>true</UseLineKeysForBLFList>
  <VlanId>1</VlanId>
</NepsDeviceConfigurationDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.