設定合約到期提醒
POST - /api/v1/task/createExpiredRemind
參數
{
"apiKey": "string",
"datas": [
{
"cc": [
{
"email": "string",
"name": "string"
}
],
"emailMessage": "string",
"emailSubject": "string",
"periodType": "DAY",
"periodValue": 0
}
],
"expiredDate": "2024-03-26T08:11:57.141Z",
"instanceId": "string"
}- apiKey - API 金鑰
- instanceId - 任務 Instance Id
- expiredDate - 合約到期日
- periodType -
提醒時間類型DAY-{periodValue}天前MONTH-{periodValue}月前
- periodValue -
提醒時間數值 - emailSubject - 提醒 Email 標題
- emailMessage - 提醒 Email 內容
- cc (陣列) - 副本收件人
- email - 副本收件人 email
- name - 副本收件人名稱
回傳
{
"body": {
"data": [
{
"uuid": "string",
"periodType": "string",
"periodValue": 1,
"emailSubject": "string",
"emailMessage": "string",
"cc": [
{
"email": "string",
"name": "string"
}
]
}
],
"expiredDate": "string",
"total": 0
},
"errorCode": 0,
"message": "string"
}- uuid - 合約提醒 UUID
- periodType -
提醒時間類型DAY-{periodValue}天前MONTH-{periodValue}月前
- periodValue -
提醒時間數值 - emailSubject - 提醒 Email 標題
- emailMessage - 提醒 Email 內容
- cc (陣列) - 副本收件人
- email - 副本收件人 email
- name - 副本收件人名稱
- expiredDate - 合約到期日
errorCode 錯誤代碼
請參考 錯誤碼和錯誤訊息 頁面
Table of Contents