POST api/SDserviceMaster/SendTextMessage/{accountId}/{companyId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountId

integer

Required

companyId

string

Required

Body Parameters

TextMessageEventArgs
NameDescriptionTypeAdditional information
AccountId

integer

None.

CompanyId

string

None.

SDCallMasterId

string

None.

ARCustomerMasterId

string

None.

SDServiceMasterId

string

None.

PhoneNumber

string

None.

MessageText

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": 1,
  "CompanyId": "sample string 2",
  "SDCallMasterId": "sample string 3",
  "ARCustomerMasterId": "sample string 4",
  "SDServiceMasterId": "sample string 5",
  "PhoneNumber": "sample string 6",
  "MessageText": "sample string 7"
}

application/xml, text/xml

Sample:
<TextMessageEventArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.ServiceModule.Event.TextMessage">
  <ARCustomerMasterId>sample string 4</ARCustomerMasterId>
  <AccountId>1</AccountId>
  <CompanyId>sample string 2</CompanyId>
  <MessageText>sample string 7</MessageText>
  <PhoneNumber>sample string 6</PhoneNumber>
  <SDCallMasterId>sample string 3</SDCallMasterId>
  <SDServiceMasterId>sample string 5</SDServiceMasterId>
</TextMessageEventArgs>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />