GET api/SAWINVoice/GetSMsByPhoneNumber/{accountId}/{companyId}/{callerNumber}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountId

integer

Required

companyId

string

Required

callerNumber

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SDServiceMasterForAgent
NameDescriptionTypeAdditional information
SDServiceMasterId

string

None.

ARCustomerMasterId

string

None.

SMName

string

None.

IsServerCall

boolean

None.

QueueName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "SDServiceMasterId": "sample string 1",
    "ARCustomerMasterId": "sample string 2",
    "SMName": "sample string 3",
    "IsServerCall": true,
    "QueueName": "sample string 5"
  },
  {
    "SDServiceMasterId": "sample string 1",
    "ARCustomerMasterId": "sample string 2",
    "SMName": "sample string 3",
    "IsServerCall": true,
    "QueueName": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSDServiceMasterForAgent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.SD">
  <SDServiceMasterForAgent>
    <ARCustomerMasterId>sample string 2</ARCustomerMasterId>
    <IsServerCall>true</IsServerCall>
    <QueueName>sample string 5</QueueName>
    <SDServiceMasterId>sample string 1</SDServiceMasterId>
    <SMName>sample string 3</SMName>
  </SDServiceMasterForAgent>
  <SDServiceMasterForAgent>
    <ARCustomerMasterId>sample string 2</ARCustomerMasterId>
    <IsServerCall>true</IsServerCall>
    <QueueName>sample string 5</QueueName>
    <SDServiceMasterId>sample string 1</SDServiceMasterId>
    <SMName>sample string 3</SMName>
  </SDServiceMasterForAgent>
</ArrayOfSDServiceMasterForAgent>