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": "84af3d41-cd86-49fe-9e83-ecc8c1d4dc4f", "Category": 4, "SubCategory": 5, "Index": 6, "Location": 1, "ResourceMap": { "948150d7-f249-4911-a9d9-c74eee1b8644": "b4b24abe-60da-446c-8da5-f33c205d9366", "38702784-7f66-4126-9a84-e9f270f8f1f7": "1a1cf3af-84b5-42ad-af49-9fd0f5e831af" }, "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. |