| GET | /assignment | List user's assignments |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| IsAssignedToMe | form | bool? | No | |
| IsDefaultAssignment | form | bool? | No | |
| IsDone | form | bool? | No | |
| DueDateFrom | form | DateTime? | No | |
| DueDateTo | form | DateTime? | No | |
| Status | form | List<int> | No | |
| Title | form | string | No | |
| Description | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| OrderBy | form | string | No | |
| SortType | form | string | No | |
| Pages | form | int | No | |
| Amount | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| MultipleResult | form | IList<T> | No | |
| Total | form | int | No | |
| Offset | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Result | form | T | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Title | form | string | No | |
| Description | form | string | No | |
| Status | form | int | No | |
| DueDate | form | DateTime | No | |
| AssignedTo | form | uint? | No | |
| RoleId | form | uint | No | |
| TemplateId | form | ulong? | No | |
| CompanyDbConfigId | form | uint | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CreatedById | form | uint | No | |
| ModifiedById | form | uint | No | |
| CreatedDate | form | DateTime | No | |
| ModifiedDate | form | DateTime | No | |
| Id | form | uint | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /assignment HTTP/1.1 Host: api.chmuradokumentow.pl Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
total: 0,
offset: 0,
result:
{
title: String,
description: String,
status: 0,
dueDate: 0001-01-01,
assignedTo: 0,
roleId: 0,
templateId: 0,
companyDbConfigId: 0,
createdById: 0,
modifiedById: 0,
createdDate: 0001-01-01,
modifiedDate: 0001-01-01,
id: 0
}
}