POST api/eztalk/general/msgbtn

Request Information

URI Parameters

None.

Body Parameters

TestModelOneBtn
NameDescriptionTypeAdditional information
template_code

string

None.

receiver_num

string

None.

message

string

None.

button1

EzTalkButton

None.

Request Formats

application/json, text/json

Sample:
{
  "template_code": "sample string 1",
  "receiver_num": "sample string 2",
  "message": "sample string 3",
  "button1": {
    "name": "sample string 1",
    "type": "sample string 2",
    "url_pc": "sample string 3",
    "url_mobile": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<EztalkController.TestModelOneBtn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Controllers">
  <button1>
    <name>sample string 1</name>
    <type>sample string 2</type>
    <url_mobile>sample string 4</url_mobile>
    <url_pc>sample string 3</url_pc>
  </button1>
  <message>sample string 3</message>
  <receiver_num>sample string 2</receiver_num>
  <template_code>sample string 1</template_code>
</EztalkController.TestModelOneBtn>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.