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": "a5e10ae3-5f4c-453e-aa66-4a19c97a9355",
"Category": 4,
"SubCategory": 5,
"Index": 6,
"Location": 1,
"ResourceMap": {
"ca5ba092-dd43-4d4c-a0f9-05f068f0d060": "19cd3921-8323-45bb-96c4-6d302314ce48",
"11c85ffb-5698-4c1b-bc80-0edc0d1699b1": "ba81d7a5-b1f0-4912-8d8f-d62a07fd71cb"
},
"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. |