api.jobs.note.create
POST /job/{jobDisplayId}/note— ACPortal
Python
api.jobs.note.create(job_display_id: int, *, data: JobNoteCreateRequest | dict) -> JobNote
CLI
ab jobs note create <job_display_id> [--data ...]
Create a note (POST /job/{jobDisplayId}/note).
Args:
job_display_id: Job display ID.
data: :class:JobNoteCreateRequest instance or a dict.
Request model: :class:JobNoteCreateRequest.
Request body — JobNoteCreateRequest
Field |
Type |
Required |
Description |
|---|---|---|---|
|
|
yes |
Note content (max 8000 chars) |
|
|
yes |
Associated timeline task code |
|
|
no |
Flag as important |
|
|
no |
Notify assigned users |
|
|
no |
Due date |
Response
Returns JobNote.
Field |
Type |
Required |
Description |
|---|---|---|---|
|
|
no |
Creation timestamp |
|
|
no |
Last modification timestamp |
|
|
no |
Creator identifier |
|
|
no |
Last modifier identifier |
|
|
no |
Note ID |
|
|
no |
Note content |
|
|
no |
Flagged as important |
|
|
no |
Completion status |
|
|
no |
Author name |
|
|
no |
Last modified (API typo preserved) |
|
|
no |
Associated timeline task |