{
"code": "1112",
"postcode": 1,
"locationCode": 11,
"riskLevel": 1,
"name": "test",
"name_pt": "1",
"name_tet": "1",
"district": "10003",
"createdBy": {
"id": "6678e728d36e087f98bef59d",
"name": "MAIBT",
"phone": "70001234",
"client": "officer",
"roles": [
"ester",
"root",
"op"
]
},
"createdAt": "2024-10-15T02:47:55.510Z",
"updatedAt": "2024-10-15T02:47:55.510Z",
"updatedBy": null,
"id": "670dd7db18ae627536f71e4e",
"objDistrict": {
"id": "669e6b901f97eb023ec28c5a",
"code": "10003",
"name": "UATO-LARI",
"province": "10"
}
}curl --location --request POST '/admin/township/updateTownship' \
--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 '{
"code": "1112",
"postcode": 1,
"locationCode": 11,
"riskLevel": 1,
"name": "test",
"name_pt": "1",
"name_tet": "1",
"district": "10003",
"createdBy": {
"id": "6678e728d36e087f98bef59d",
"name": "MAIBT",
"phone": "70001234",
"client": "officer",
"roles": [
"ester",
"root",
"op"
]
},
"createdAt": "2024-10-15T02:47:55.510Z",
"updatedAt": "2024-10-15T02:47:55.510Z",
"updatedBy": null,
"id": "670dd7db18ae627536f71e4e",
"objDistrict": {
"id": "669e6b901f97eb023ec28c5a",
"code": "10003",
"name": "UATO-LARI",
"province": "10"
}
}'