POST api/sendZLNB

Request Information

URI Parameters

None.

Body Parameters

TinGiaoDich
NameDescriptionTypeAdditional information
recipient

Recipient

None.

message

Message

None.

Request Formats

application/json, text/json

Sample:
{
  "recipient": {
    "user_id": "sample string 1"
  },
  "message": {
    "attachment": {
      "type": "sample string 1",
      "payload": {
        "template_type": "sample string 1",
        "language": "sample string 2",
        "elements": [
          {
            "image_url": "sample string 1",
            "type": "sample string 2",
            "content": {},
            "align": "sample string 4"
          },
          {
            "image_url": "sample string 1",
            "type": "sample string 2",
            "content": {},
            "align": "sample string 4"
          }
        ],
        "buttons": [
          {
            "title": "sample string 1",
            "image_icon": "sample string 2",
            "type": "sample string 3",
            "payload": {}
          },
          {
            "title": "sample string 1",
            "image_icon": "sample string 2",
            "type": "sample string 3",
            "payload": {}
          }
        ]
      }
    }
  }
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TinGiaoDich'.

Response Information

Resource Description

None.