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": "b9601d2c-b7ff-4e2b-87ef-ed943e6dff35", "Category": 4, "SubCategory": 5, "Index": 6, "Location": 1, "ResourceMap": { "1c0e1504-f085-4893-bd87-9315589ce07b": "ee9622c1-4cc0-4b05-8bb8-f0e03d0d637b", "31ec1c6c-66f3-4dd9-a7d1-dc0814a7ea76": "2304621c-99c6-433c-9a82-0becc888a238" }, "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. |