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": "34827784-83b4-4a12-be50-04194400afca",
"Category": 4,
"SubCategory": 5,
"Index": 6,
"Location": 1,
"ResourceMap": {
"50e8c0eb-65af-49e1-8733-5d3f6546c2f3": "700e01ec-bc8b-4539-94ba-87f481610024",
"1685bab7-18e0-44f2-87da-ae157475648f": "a61f4683-1d97-4cb2-a1bf-2e509d6eec87"
},
"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. |