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
PostFragmentInfoName | 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": "7ca6ad30-f37c-4a1c-8f6a-8c69c1bd8984", "Category": 4, "SubCategory": 5, "Index": 6, "Location": 1, "ResourceMap": { "71ea1d94-0232-427e-b3d2-4ed2b7d33e39": "7d85644c-3ea0-4f09-8e0b-6f4667b4b030", "157e7220-3431-4110-99e9-73a00e26d0d8": "0bc25c6b-c386-4aca-853f-9a98b5ecbac1" }, "FieldMap": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } }
Response Information
Resource Description
HttpResponseMessageName | 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. |