---
# System prepended metadata

title: Req 133

---

# Req 133

### Gửi cho từng acc:

```json
{
    "type": "toIndividuals",
    "targetAuthTargetList": [
        {
            "authInfo": {
                "uid": "test@driver.com",
                "authRole": "driver",
                "driverAccountType": "bike"
            }
        },
        {
            "authInfo": {
                "uid": "test@driver2.com",
                "authRole": "driver",
                "driverAccountType": "bike"
            }
        }
    ],
    "targetRole": null,
    "title": "Tin tức mới",
    "description": "Tin nóng"
}
```

### Gửi theo role:

```json
{
    "type": "toRole",
    "targetAuthTargetList": null,
    "targetRole": "driver",
    "title": "Tin tức mới",
    "description": "Tin nóng"
}
```

- Values của `targetRole`:
```js
['driver', 'user', 'shopOwner']
```

- Thay đổi về schema

![](https://i.imgur.com/N5IwSWC.png)

