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": "90e44f8e-1b4c-4ecc-8e14-0f5d7bbb1d31", "Category": 4, "SubCategory": 5, "Index": 6, "Location": 1, "ResourceMap": { "8c9b0e89-e08e-4244-9a0d-206c5c445744": "23e5f38b-875d-4e39-81b1-2dcb27b662b4", "c1d48095-cc0a-4728-92c2-120ae329042f": "e4285889-fc42-4b3a-a566-e4abf0bec622" }, "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. |