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": "d470b836-0827-4881-9e77-e282ab023c86",
"Category": 4,
"SubCategory": 5,
"Index": 6,
"Location": 1,
"ResourceMap": {
"3ecde621-83c6-442c-b6a8-856e9f834df6": "8cc080a8-ea09-4a72-b270-a2d3457b39bd",
"078d29bb-7f46-431f-ab19-e4af9edaac9e": "25835580-3a73-4b94-a789-5abb1c4d5d56"
},
"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. |