{
"no": "1",
"name": "1231212",
"name_pt": "123",
"name_tet": "12345",
"address": "a",
"phone": "123",
"faxNo": "123",
"images": "",
"lat": 19,
"long": 20,
"openHoursType": "customHour",
"openHours": [
{
"day": "Monday",
"status": 1,
"openHours": {
"timeFrom": "09:00 AM",
"timeTo": "09:00 PM"
}
},
{
"day": "Tuesday",
"status": 1,
"openHours": {
"timeFrom": "09:00 AM",
"timeTo": "09:00 PM"
}
},
{
"day": "Wednesday",
"status": 1,
"openHours": {
"timeFrom": "09:00 AM",
"timeTo": "09:00 PM"
}
},
{
"day": "Thursday",
"status": 1,
"openHours": {
"timeFrom": "09:00 AM",
"timeTo": "09:00 PM"
}
},
{
"day": "Friday",
"status": 1,
"openHours": {
"timeFrom": "09:00 AM",
"timeTo": "09:00 PM"
}
},
{
"day": "Saturday",
"status": 0,
"openHours": {
"timeFrom": "-",
"timeTo": "-"
}
},
{
"day": "Sunday",
"status": 0,
"openHours": {
"timeFrom": "-",
"timeTo": "-"
}
}
],
"createdBy": {
"id": "64edb3fde65ee58241cce1d5",
"name": "SYSTEM USER 08",
"roles": [
"root",
"a"
],
"client": "officer"
},
"country": "TL",
"province": "7",
"district": "7004",
"township": "7004005",
"createdAt": "2024-09-23T11:08:12.432Z",
"updatedAt": "2024-09-23T11:08:12.432Z",
"terminalID": "",
"manager": null,
"status": "active",
"lockedBy": {},
"activatedBy": {},
"statusChangedAt": null,
"updatedBy": null,
"openClosed": "8h30-3h30",
"divisions": "",
"zones": "",
"locationCategories": "",
"sites": "",
"ATMModels": "",
"replenishedBy": "",
"cashFillAmount": "",
"systemDate": null,
"id": "66f14c1c8cff551848a4d434",
"bId": "66f14c1c8cff551848a4d434"
}curl --location --request POST '/admin/branch/updateBranch' \
--header 'Authorization: Bearer f41e8fd7-3221-4b36-8dc3-623890b2c078' \
--header 'Accept: application/json' \
--header 'User-Agent: Mozilla/5.0' \
--header 'Referer: https://wallet-admin-vpay-dev2.vinsmartfuture.tech/' \
--header 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{
"no": "1",
"name": "1231212",
"name_pt": "123",
"name_tet": "12345",
"address": "a",
"phone": "123",
"faxNo": "123",
"images": "",
"lat": 19,
"long": 20,
"openHoursType": "customHour",
"openHours": [
{
"day": "Monday",
"status": 1,
"openHours": {
"timeFrom": "09:00 AM",
"timeTo": "09:00 PM"
}
},
{
"day": "Tuesday",
"status": 1,
"openHours": {
"timeFrom": "09:00 AM",
"timeTo": "09:00 PM"
}
},
{
"day": "Wednesday",
"status": 1,
"openHours": {
"timeFrom": "09:00 AM",
"timeTo": "09:00 PM"
}
},
{
"day": "Thursday",
"status": 1,
"openHours": {
"timeFrom": "09:00 AM",
"timeTo": "09:00 PM"
}
},
{
"day": "Friday",
"status": 1,
"openHours": {
"timeFrom": "09:00 AM",
"timeTo": "09:00 PM"
}
},
{
"day": "Saturday",
"status": 0,
"openHours": {
"timeFrom": "-",
"timeTo": "-"
}
},
{
"day": "Sunday",
"status": 0,
"openHours": {
"timeFrom": "-",
"timeTo": "-"
}
}
],
"createdBy": {
"id": "64edb3fde65ee58241cce1d5",
"name": "SYSTEM USER 08",
"roles": [
"root",
"a"
],
"client": "officer"
},
"country": "TL",
"province": "7",
"district": "7004",
"township": "7004005",
"createdAt": "2024-09-23T11:08:12.432Z",
"updatedAt": "2024-09-23T11:08:12.432Z",
"terminalID": "",
"manager": null,
"status": "active",
"lockedBy": {},
"activatedBy": {},
"statusChangedAt": null,
"updatedBy": null,
"openClosed": "8h30-3h30",
"divisions": "",
"zones": "",
"locationCategories": "",
"sites": "",
"ATMModels": "",
"replenishedBy": "",
"cashFillAmount": "",
"systemDate": null,
"id": "66f14c1c8cff551848a4d434",
"bId": "66f14c1c8cff551848a4d434"
}'