Employee Identity (EIAM)

Update Todo Task Status

API

# Permissions {/examples/}

The Identity Management API is authorized at the application level. Before calling the API, you need to set API permissions for different applications. For details, please refer to API Permissions.

Permission Code Description
app_todo_msg Application-side task and todo management permission
all Full API read-write permission

# Request Description {/examples/}

PUT https://{your_domain}/api/v2/tenant/todo/task/{todo_id}/todoStatus

# Request Headers {/examples/}

Parameter Chinese Name Required Type Description
Authorization Authorization Yes String Format: Bearer {access_token}
Content-Type Content-Type Yes String Fixed value: application/json; charset=utf-8

# Request Example {/examples/}

{
    "deal": true
}
1
2
3

# Request Parameters {/examples/}

Parameter Chinese Name Required Type Description
todo_id Todo ID Yes String Todo ID
deal Process Status Yes boolean Process Status

# Return Example

Success Example:
HTTP/1.1 200 OK
Content-Type: application/json
{
    "todo_id": "20220802114729370-7B34-AA8F63671"
}


Error Example:
HTTP/1.1 400 Bad Request
{
  "error_code": "TODOTASK.0001",
  "error_msg": "Todo does not exist"
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14

# Return Parameters

Parameter Name Chinese Name Type Description
todo_id Todo Task ID String

# Error Codes

Status Code Error Code Error Message Handling Measures
402 TODOTASK.0001 Todo does not exist Please check if the corresponding todo exists
Todo does not exist