Framework | Assignment
Service to manage entities of type 'Assignment'.
Overview
URL | api/{tenantKey}/{orgKey}/corePatterns/assignments |
Methods Supported | GET, PUT, POST, DELETE |
All Operations
This service includes the following operations:
- GET:
-
PUT:
- PUT Set IsActive Assignment
- PUT Set Title Assignment
- PUT Set AssignedTo Assignment
- PUT Set DueDate Assignment
- PUT Set Reminder Assignment
- PUT Set Notes Assignment
- PUT Set Url Assignment
- PUT Set AssignmentState Assignment
- PUT Set StartDate Assignment
- PUT Set AssignedToDescription Assignment
- PUT Set AssignedToKey Assignment
- PUT Set Title AssignmentStep
- PUT Set AssignedTo AssignmentStep
- PUT Set DueDate AssignmentStep
- PUT Set Reminder AssignmentStep
- PUT Set Url AssignmentStep
- PUT Set Completed AssignmentStep
- PUT Set AssignmentState AssignmentStep
- PUT Set AssignedToDescription AssignmentStep
- PUT Set AssignedToKey AssignmentStep
- POST:
- DELETE:
All Resources
This service uses the following resources:
- ApiAssignmentAssignmentStepsResource
- ApiAssignmentResource
- AssignmentResource
- AssignmentStepResource
All Enumerations
This service uses the following enumerations:
GET Assignments (odata)
Returns a page of the list of all the entity records available.
The following elements are optional:
opts | (ODataQueryOptions) OData query option. |
Response:
When successful, the response body contains the list of records available. See AssignmentResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET Assignment by identifier
Returns the entity record that matches the specified identifier.
The following elements are required:
id | (string) The record identifier. |
Response:
When successful, the response body contains the entity record. See AssignmentResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
GET Assignment by key
Returns the entity record that matches the specified key.
The following elements are required:
assignmentKey | (int) Assignment. |
Response:
When successful, the response body contains the entity record. See AssignmentResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
GET Get Assignments Between Dates
Custom operation 'GetAssignmentsBetweenDates'.
The following elements are required:
startDate | (DateTimeOffset) StartDate. |
endDate | (DateTimeOffset) EndDate. |
Response:
When successful, the response body contains a list of resources of type 'AssignmentResource'. See AssignmentResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET Get Assignments Due Today
Custom operation 'GetAssignmentsDueToday'.
Response:
When successful, the response body contains a list of resources of type 'AssignmentResource'. See AssignmentResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
POST Assignment Step
Inserts a new 'Assignment Step' in the 'Assignment'.
The following elements are required:
assignmentKey | (int) Assignment. |
value | (ApiAssignmentAssignmentStepsResource) The ApiAssignmentAssignmentStepsResource instance. See ApiAssignmentAssignmentStepsResource. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | NoContent. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set AssignedTo Assignment
Updates the value of attribute 'AssignedTo' in the specified entity record.
The following elements are required:
assignmentKey | (int) Assignment. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set AssignedTo AssignmentStep
Updates the value of attribute 'AssignedTo' in the specified entity record.
The following elements are required:
assignmentKey | (int) Assignment. |
lineId | (string) The detail identifier. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set AssignedToDescription Assignment
Updates the value of attribute 'AssignedToDescription' in the specified entity record.
The following elements are required:
assignmentKey | (int) Assignment. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set AssignedToDescription AssignmentStep
Updates the value of attribute 'AssignedToDescription' in the specified entity record.
The following elements are required:
assignmentKey | (int) Assignment. |
lineId | (string) The detail identifier. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set AssignedToKey Assignment
Updates the value of attribute 'AssignedToKey' in the specified entity record.
The following elements are required:
assignmentKey | (int) Assignment. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set AssignedToKey AssignmentStep
Updates the value of attribute 'AssignedToKey' in the specified entity record.
The following elements are required:
assignmentKey | (int) Assignment. |
lineId | (string) The detail identifier. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set AssignmentState Assignment
Updates the value of attribute 'AssignmentState' in the specified entity record.
The following elements are required:
assignmentKey | (int) Assignment. |
value | (enum AssignmentState) The request body should contain the new value for the attribute. See AssignmentState. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set AssignmentState AssignmentStep
Updates the value of attribute 'AssignmentState' in the specified entity record.
The following elements are required:
assignmentKey | (int) Assignment. |
lineId | (string) The detail identifier. |
value | (enum AssignmentState) The request body should contain the new value for the attribute. See AssignmentState. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Completed AssignmentStep
Updates the value of attribute 'Completed' in the specified entity record.
The following elements are required:
assignmentKey | (int) Assignment. |
lineId | (string) The detail identifier. |
value | (bool) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set DueDate Assignment
Updates the value of attribute 'DueDate' in the specified entity record.
The following elements are required:
assignmentKey | (int) Assignment. |
value | (DateTimeOffset) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set DueDate AssignmentStep
Updates the value of attribute 'DueDate' in the specified entity record.
The following elements are required:
assignmentKey | (int) Assignment. |
lineId | (string) The detail identifier. |
value | (DateTimeOffset) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set IsActive Assignment
Updates the value of attribute 'IsActive' in the specified entity record.
The following elements are required:
assignmentKey | (int) Assignment. |
value | (bool) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
PUT Set Notes Assignment
Updates the value of attribute 'Notes' in the specified entity record.
The following elements are required:
assignmentKey | (int) Assignment. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Reminder Assignment
Updates the value of attribute 'Reminder' in the specified entity record.
The following elements are required:
assignmentKey | (int) Assignment. |
value | (DateTimeOffset) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Reminder AssignmentStep
Updates the value of attribute 'Reminder' in the specified entity record.
The following elements are required:
assignmentKey | (int) Assignment. |
lineId | (string) The detail identifier. |
value | (DateTimeOffset) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set StartDate Assignment
Updates the value of attribute 'StartDate' in the specified entity record.
The following elements are required:
assignmentKey | (int) Assignment. |
value | (DateTimeOffset) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Title Assignment
Updates the value of attribute 'Title' in the specified entity record.
The following elements are required:
assignmentKey | (int) Assignment. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Title AssignmentStep
Updates the value of attribute 'Title' in the specified entity record.
The following elements are required:
assignmentKey | (int) Assignment. |
lineId | (string) The detail identifier. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Url Assignment
Updates the value of attribute 'Url' in the specified entity record.
The following elements are required:
assignmentKey | (int) Assignment. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Url AssignmentStep
Updates the value of attribute 'Url' in the specified entity record.
The following elements are required:
assignmentKey | (int) Assignment. |
lineId | (string) The detail identifier. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
DELETE Assignment Step by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
assignmentKey | (int) Assignment. |
lineId | (string) The line identifier. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | NoContent. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
Resources
ApiAssignmentAssignmentStepsResource
The following elements are required:
title | (string) Title. |
assignedTo | (string) Assigned To. |
dueDate | (DateTimeOffset) Due Date. |
completed | (bool) Completed. |
assignmentState | (enum AssignmentState) Step State.
See AssignmentState. |
The following elements are optional:
reminder | (DateTimeOffset) Reminder. |
url | (string) Url. |
assignedToDescription | (string) Assigned To. |
assignedToKey | (string) Assigned To. |
ApiAssignmentResource
The following elements are required:
title | (string) Title. |
assignedTo | (string) Assigned To. |
dueDate | (DateTimeOffset) Due Date. |
assignmentState | (enum AssignmentState) Assignment State.
See AssignmentState. |
The following elements are optional:
reminder | (DateTimeOffset) Reminder. |
notes | (string) Notes. |
url | (string) Url. |
assignmentSteps | (List of ApiAssignmentAssignmentStepsResource) Assignment Steps.
See ApiAssignmentAssignmentStepsResource. |
startDate | (DateTimeOffset) Start Date. |
assignedToDescription | (string) Assigned To. |
assignedToKey | (string) Assigned To. |
AssignmentResource
The following elements are required:
assignmentKey | (int) Assignment. |
title | (string) Title. |
assignedTo | (string) Assigned To. |
dueDate | (DateTimeOffset) Due Date. |
assignmentState | (enum AssignmentState) Assignment State.
See AssignmentState. |
The following elements are optional:
reminder | (DateTimeOffset) Reminder. |
notes | (string) Notes. |
url | (string) Url. |
assignmentSteps | (List of AssignmentStepResource) Assignment Steps.
See AssignmentStepResource. |
startDate | (DateTimeOffset) Start Date. |
assignedToDescription | (string) Assigned To. |
assignedToKey | (string) Assigned To. |
AssignmentStepResource
The following elements are required:
title | (string) Title. |
assignedTo | (string) Assigned To. |
dueDate | (DateTimeOffset) Due Date. |
completed | (bool) Completed. |
assignmentState | (enum AssignmentState) Step State.
See AssignmentState. |
The following elements are optional:
reminder | (DateTimeOffset) Reminder. |
url | (string) Url. |
assignedToDescription | (string) Assigned To. |
assignedToKey | (string) Assigned To. |