---
# System prepended metadata

title: 已處理和未處理api
tags: [交辦事項]

---

# 已處理和未處理api
*  交辦事項分為兩種，一種是部門一種是顧客的
*  用前端帶來的ci_ser是否為空來判斷，此交辦事項是部門還是顧客的
*  若是住客的交辦事項要帶 ci_ser，若不是則ci_ser為空
1. 已處理api 的 func_id是1020
2. 未處理api 的 func_id是1010
 ###### tags:  `交辦事項`
 ```jsonld=
 {
  "prg_id": "PMS0210071",
  "socket_id": "uAW3dsoeyF-kRoksAAAM",
  "athena_id": 1,
  "ins_usr": "cio",
  "session_id": 3284131,
  "func_id": "1020",
  "params": {},
  "locale": "zh_TW",
  "trans_log_id": "20200213083959413",
  "mac": "",
  "comp_cod": "ZZATHENA",
  "hotel_cod": "01",
  "server_ip": "",
  "reve_code": "PMS0210071",
  "client_ip": "",
  "upd_usr": "cio",
  "user": "cio",
  "table": {
    "hfd_todo_list" :
    [
      {
        "action_cod": "U",
        "ci_ser": "20191021000045",
        "upd_usr": "cio",
        "condition":[
         {
            "field" : "athena_id",
            "value" : "1",
            "operator" : "equal"
         },
         {
            "field" : "hotel_cod",
            "value" : "01",
            "operator" : "equal"
         },
         {
            "field" : "key_nos",
            "value" : "6",
            "operator" : "equal"
         }
        ]
      }
    ]
  },
  "event_time": "2020-02-13T08:39:59+08:00"
}
```