POST api/workplan/{id}/insertfragment
Insert a fragment into a work plan
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
PostFragmentInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| IsOnline | boolean |
None. |
|
| FragmentId | string |
None. |
|
| ParentTaskId | globally unique identifier |
None. |
|
| Category | integer |
None. |
|
| SubCategory | integer |
None. |
|
| Index | integer |
None. |
|
| Location | FragmentLocation |
None. |
|
| ResourceMap | Dictionary of globally unique identifier [key] and globally unique identifier [value] |
None. |
|
| FieldMap | Dictionary of string [key] and string [value] |
None. |
Request Formats
application/json, text/json
Sample:
{
"IsOnline": true,
"FragmentId": "sample string 2",
"ParentTaskId": "559f1f4c-c0e0-4806-bca4-7e90f9f442e3",
"Category": 4,
"SubCategory": 5,
"Index": 6,
"Location": 1,
"ResourceMap": {
"17cf4e89-56a8-4c5c-86b8-1a417bcdc06d": "f91e1ef7-b5c8-4e13-af38-1ae2e10658c3",
"f2a7559a-3db7-40b0-afda-5cc56d508406": "36d29afa-6f0c-4a1b-b89c-3bf1d8270df6"
},
"FieldMap": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
}
}
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |