| POST | /{Workspace}/ScheduleRequestList |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Workspace | path | string | No | |
| ScheduleRequests | body | List<ScheduleRequest> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Workspace | form | string | No | |
| ObjectId | form | string | No | |
| VersionId | form | string | No | |
| Users | form | List<string> | No | |
| Teams | form | List<string> | No | |
| UnassignUsers | form | bool | No | |
| UnassignTeams | form | bool | No | |
| Unschedule | form | bool | No | |
| DeleteTask | form | bool | No | |
| Status | form | string | No | |
| Type | form | string | No | |
| TaskType | form | string | No | |
| DueDate | form | string | No | |
| SetPriority | form | bool | No | |
| Priority | form | int | No | |
| Schedules | form | List<Schedule> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Workspace | form | string | No | |
| ObjectId | form | string | No | |
| VersionId | form | string | No | |
| BasedOn | form | string | No | |
| Start | form | string | No | |
| End | form | string | No | |
| TimeZone | form | string | No | |
| Users | form | List<string> | No | |
| Teams | form | List<string> | No | |
| Data | form | Dictionary<string, Object> | 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.
POST /{Workspace}/ScheduleRequestList HTTP/1.1
Host: dev.fieldsquared.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Workspace: String,
ScheduleRequests:
[
{
Workspace: String,
ObjectId: String,
VersionId: String,
Users:
[
String
],
Teams:
[
String
],
UnassignUsers: False,
UnassignTeams: False,
Unschedule: False,
DeleteTask: False,
Status: String,
Type: String,
TaskType: String,
DueDate: String,
SetPriority: False,
Priority: 0,
Schedules:
[
{
Workspace: String,
ObjectId: String,
VersionId: String,
BasedOn: String,
Start: String,
End: String,
TimeZone: String,
Users:
[
String
],
Teams:
[
String
],
Data:
{
String: {}
}
}
]
}
]
}