POST api/Device/DevicePhoneInsert

Request Information

URI Parameters

None.

Body Parameters

DevicePhoneDetailRequest
NameDescriptionTypeAdditional information
SeqNum

integer

None.

Phone

string

None.

Comment

string

None.

KeyNum

integer

None.

SessionNum

integer

None.

SessionPassword

Collection of byte

None.

ApplicationCode

string

None.

StagesURL

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SeqNum": 1,
  "Phone": "sample string 1",
  "Comment": "sample string 2",
  "KeyNum": 1,
  "SessionNum": 3,
  "SessionPassword": "QEA=",
  "ApplicationCode": "sample string 4",
  "StagesURL": "sample string 5"
}

application/xml, text/xml

Sample:
<DevicePhoneDetailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RapidAPI.Models">
  <StagesURL>sample string 5</StagesURL>
  <ApplicationCode>sample string 4</ApplicationCode>
  <SessionNum>3</SessionNum>
  <SessionPassword>QEA=</SessionPassword>
  <KeyNum>1</KeyNum>
  <Comment>sample string 2</Comment>
  <Phone>sample string 1</Phone>
  <SeqNum>1</SeqNum>
</DevicePhoneDetailRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DevicePhoneInsertQueryResult
NameDescriptionTypeAdditional information
ExcludeColumnList

Collection of string

None.

ResultSet

Collection of DevicePhoneInsertResult

None.

Success

boolean

None.

UserErrorMessage

string

None.

ErrorTypeNum

integer

None.

SqlConnectionLost

boolean

None.

ClientVersion

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ExcludeColumnList": [
    "sample string 1",
    "sample string 2"
  ],
  "ResultSet": [
    {
      "Comment": "sample string 1",
      "DataChangeNotifyFlag": true,
      "KeyNum": 1,
      "Phone": "sample string 2",
      "SeqNum": 1,
      "SitePhoneFlag": true,
      "ActionAutoEvalDescription": "sample string 3",
      "ActionAutoEvalNum": 1,
      "ConfirmedAlarmFlag": true,
      "AutoNotifyFlag": true,
      "DayTimeFlag": true,
      "Extension": "sample string 4",
      "PhoneType": "sample string 5",
      "PhoneTypeDescription": "sample string 6",
      "RefreshContactListsFlag": true
    },
    {
      "Comment": "sample string 1",
      "DataChangeNotifyFlag": true,
      "KeyNum": 1,
      "Phone": "sample string 2",
      "SeqNum": 1,
      "SitePhoneFlag": true,
      "ActionAutoEvalDescription": "sample string 3",
      "ActionAutoEvalNum": 1,
      "ConfirmedAlarmFlag": true,
      "AutoNotifyFlag": true,
      "DayTimeFlag": true,
      "Extension": "sample string 4",
      "PhoneType": "sample string 5",
      "PhoneTypeDescription": "sample string 6",
      "RefreshContactListsFlag": true
    }
  ],
  "Success": true,
  "UserErrorMessage": "sample string 2",
  "ErrorTypeNum": 3,
  "SqlConnectionLost": true,
  "ClientVersion": "sample string 5"
}

application/xml, text/xml

Sample:
<DevicePhoneInsertQueryResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Stages">
  <ClientVersion>sample string 5</ClientVersion>
  <ErrorTypeNum>3</ErrorTypeNum>
  <SqlConnectionLost>true</SqlConnectionLost>
  <Success>true</Success>
  <UserErrorMessage>sample string 2</UserErrorMessage>
  <ExcludeColumnList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ExcludeColumnList>
  <ResultSet>
    <DevicePhoneInsertResult>
      <ActionAutoEvalDescription>sample string 3</ActionAutoEvalDescription>
      <ActionAutoEvalNum>1</ActionAutoEvalNum>
      <AutoNotifyFlag>true</AutoNotifyFlag>
      <Comment>sample string 1</Comment>
      <ConfirmedAlarmFlag>true</ConfirmedAlarmFlag>
      <DataChangeNotifyFlag>true</DataChangeNotifyFlag>
      <DayTimeFlag>true</DayTimeFlag>
      <Extension>sample string 4</Extension>
      <KeyNum>1</KeyNum>
      <Phone>sample string 2</Phone>
      <PhoneType>sample string 5</PhoneType>
      <PhoneTypeDescription>sample string 6</PhoneTypeDescription>
      <RefreshContactListsFlag>true</RefreshContactListsFlag>
      <SeqNum>1</SeqNum>
      <SitePhoneFlag>true</SitePhoneFlag>
    </DevicePhoneInsertResult>
    <DevicePhoneInsertResult>
      <ActionAutoEvalDescription>sample string 3</ActionAutoEvalDescription>
      <ActionAutoEvalNum>1</ActionAutoEvalNum>
      <AutoNotifyFlag>true</AutoNotifyFlag>
      <Comment>sample string 1</Comment>
      <ConfirmedAlarmFlag>true</ConfirmedAlarmFlag>
      <DataChangeNotifyFlag>true</DataChangeNotifyFlag>
      <DayTimeFlag>true</DayTimeFlag>
      <Extension>sample string 4</Extension>
      <KeyNum>1</KeyNum>
      <Phone>sample string 2</Phone>
      <PhoneType>sample string 5</PhoneType>
      <PhoneTypeDescription>sample string 6</PhoneTypeDescription>
      <RefreshContactListsFlag>true</RefreshContactListsFlag>
      <SeqNum>1</SeqNum>
      <SitePhoneFlag>true</SitePhoneFlag>
    </DevicePhoneInsertResult>
  </ResultSet>
</DevicePhoneInsertQueryResult>