---
# System prepended metadata

title: Untitled

---




## การส่ง PushMessage บนแอพ Bplus Notify

    Method : POST
    Url : https://onesignal.com/api/v1/notifications
    Header
        Authorization:Basic NDY2ZmNjMzQtZjYyYi00NjQ0LTg0MmEtMTNhZmFjNWUwMTMw
        Content-Type:application/json
    Body 
      
    
          {
                "app_id" : "c89e3c26-963f-4cd0-87c8-42875eb7e61b",
                  "filters": [
                    {"field": "tag", "key": "UserID", "relation": "=", "value": "cdaa9350-cb32-416e-a85b-6ecedd81ebdf-66940759080"}
                ],
                 "data": {"foo": "bar"},
                 "contents": {"en": "ทดสอบ"},
           }

## การส่ง PushMessage บนแอพ HRM-CONNTECT

    Method : POST
    Url : https://onesignal.com/api/v1/notifications
    Header
        Authorization:Basic ZjYyZGRmMzktZGFkYS00MThkLWFhNDQtZWViNjgzMDdhNjEx
        Content-Type:application/json
    Body 
    
        {
            "app_id" : "03d6a5ad-f9ac-4753-b3a4-9eb7499fe430",
              "filters": [
                {"field": "tag", "key": "UserID", "relation": "=", "value": "cdaa9350-cb32-416e-a85b-6ecedd81ebdf-66940759080"}
             ],
             "data": {"foo": "bar"},
             "contents": {"en": "ทดสอบ"},
        }



## สรุป ความแตกต่าง

| App | app_id  |REST API KEY  ที่ Header |
|--|--|--|
| BplusNotify | c89e3c26-963f-4cd0-87c8-42875eb7e61b | NDY2ZmNjMzQtZjYyYi00NjQ0LTg0MmEtMTNhZmFjNWUwMTMw |
| HRM-Connect | 03d6a5ad-f9ac-4753-b3a4-9eb7499fe430 | ZjYyZGRmMzktZGFkYS00MThkLWFhNDQtZWViNjgzMDdhNjEx |

