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": "0e51756b-9be7-40f2-b2e2-ba850e8514fc",
"Category": 4,
"SubCategory": 5,
"Index": 6,
"Location": 1,
"ResourceMap": {
"be844b5f-bbfc-48c2-b440-0f0ddfb93520": "8e0a2dcf-8f3e-477d-93c1-eb0d087a70e6",
"657cb774-5812-4c7f-bfa9-c99834efbf18": "2541cad1-198a-454c-9176-2f86a0d4e446"
},
"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. |