api : announcement

This commit is contained in:
lukman
2024-07-29 13:43:11 +08:00
parent 1a80ed184c
commit f265639355
9 changed files with 85 additions and 14 deletions

View File

@@ -164,3 +164,24 @@ Content-Type: application/json
"id": "clz6dq88e0001b3mlyl4vjaf8"
}
###
POST http://localhost:3000/api/announcement/post?path=create-announcement HTTP/1.1
Content-Type: application/json
{
"title": "cobaannouncement",
"desc": "coba announcement",
"idVillage": "121212",
"createBy": "111",
"groups": [
{
"idGroup": "1",
"idDivision": "1"
},
{
"idGroup": "1",
"idDivision": "2"
}
]
}