Platform | Assignment
Service to manage entities of type 'Assignment'.
Overview
| URL | api/{tenantKey}/{orgKey}/corePatterns/assignments | 
| Methods Supported | GET, POST, PUT, DELETE | 
All Operations
This service includes the following operations:
- 
                        GET:
                        
- GET Assignments
 - GET Assignments (paged)
 - GET Assignment by identifier
 - GET Assignment by key
 - GET Print Assignment by identifier
 - GET Print Assignment by key
 - GET Original Print AssignmentOriginal by identifier
 - GET Original Print Assignment by key
 - GET Get Assignments Between Dates
 - GET Get Assignments Due Today
 
 - POST:
 - 
                        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
 
 - DELETE:
 
All Resources
This service uses the following resources:
- ApiAssignmentAssignmentStepsResource
 - ApiAssignmentResource
 - AssignmentResource
 - AssignmentStepResource
 
All Enumerations
This service uses the following enumerations:
GET Assignments
Returns the list of all the entity records available.
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 Assignments (paged)
Returns a page of the list of all the entity records available.
The following elements are optional:
| page | (int) The index of the page of the list that should be returned. This is a query string parameter. | 
| pageSize | (int) The number of page elements that should be returned (max. is 1000). This is a query string parameter. | 
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 Print Assignment by identifier
Prints the specified entity record.
The following elements are required:
| id | (string) The record identifier. | 
The following elements are optional:
| template | (string) The report template that should be used. This is a query string parameter. | 
Response:
| When successful, the response body contains a stream with the printed file. | 
Response status codes:
| 200 | OK. The operation was completed successfully. | 
| 404 | NotFound. The specified resord does not exist. | 
Resource URL:
GET Print Assignment by key
Prints the specified entity record.
The following elements are required:
| assignmentKey | (int) Assignment. | 
The following elements are optional:
| template | (string) The report template that should be used. This is a query string parameter. | 
Response:
| When successful, the response body contains a stream with the printed file. | 
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 Original Print AssignmentOriginal by identifier
Prints the specified entity record.
The following elements are required:
| id | (string) The record identifier. | 
The following elements are optional:
| template | (string) The report template that should be used. This is a query string parameter. | 
Response:
| When successful, the response body contains a stream with the printed file. | 
Response status codes:
| 200 | OK. The operation was completed successfully. | 
| 404 | NotFound. The specified resord does not exist. | 
Resource URL:
GET Original Print Assignment by key
Prints the specified entity record.
The following elements are required:
| assignmentKey | (int) Assignment. | 
The following elements are optional:
| template | (string) The report template that should be used. This is a query string parameter. | 
Response:
| When successful, the response body contains a stream with the printed file. | 
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 Assignments
Creates a new entity record.
The following elements are required:
| assignmentResource | (ApiAssignmentResource) The request body should contain the entity record that should be created. See ApiAssignmentResource.  | 
                            
Response:
| When successful, the response body contains the new entity record identifier. The resource header location property contains the URL for the new entity record. See ApiAssignmentResource. | 
Response status codes:
| 201 | Created. The operation was completed successfully. | 
| 400 | BadRequest. The request parameters are invalid. | 
Resource URL:
POST Assignment
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:
DELETE Assignment by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
| id | (string) The record identifier. | 
Response:
| When successful, the response body is empty. | 
Response status codes:
| 204 | Deleted. The operation was completed successfully. | 
| 400 | BadRequest. The request parameters are invalid. | 
| 404 | NotFound. The specified record does not exist. | 
Resource URL:
DELETE Assignment by key
Deletes the entity record that matches the specified key.
The following elements are required:
| assignmentKey | (int) Assignment. | 
Response:
| When successful, the response body is empty. | 
Response status codes:
| 204 | Deleted. 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. |