feat : update announcement
This commit is contained in:
12
api.http
12
api.http
@@ -175,17 +175,13 @@ Content-Type: application/json
|
||||
|
||||
"title": "cobaannouncement1 dsdsd",
|
||||
"desc": "coba announcement sdsdsd",
|
||||
"idVillage": "121212",
|
||||
"createBy": "111",
|
||||
"idVillage": "desa1",
|
||||
"createBy": "superAdminLukman",
|
||||
"groups": [
|
||||
{
|
||||
"idGroup": "1",
|
||||
"idGroup": "group1",
|
||||
"idDivision": "1"
|
||||
},
|
||||
{
|
||||
"idGroup": "1",
|
||||
"idDivision": "2"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -196,7 +192,7 @@ GET http://localhost:3000/api/announcement/get?path=get-all-announcement HTTP/1.
|
||||
GET http://localhost:3000/api/announcement/get?path=get-all-announcement&divisionI=1 HTTP/1.1
|
||||
|
||||
###
|
||||
GET http://localhost:3000/api/announcement/get?path=get-one-announcement&announcementId=clz6kqzvt000eb3mle1nyz6fd HTTP/1.1
|
||||
GET http://localhost:3000/api/announcement/get?path=get-one-announcement&announcementId=1 HTTP/1.1
|
||||
|
||||
###
|
||||
POST http://localhost:3000/api/announcement/post?path=update-announcement HTTP/1.1
|
||||
|
||||
Reference in New Issue
Block a user