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": "388ede59-d3ae-474e-bb58-82e33a0e1a24", "Category": 4, "SubCategory": 5, "Index": 6, "Location": 1, "ResourceMap": { "fca6e176-46cf-4fab-8e8e-00149be37388": "f0aedefe-5013-4c48-9c52-68ffbaea1849", "122ef7d8-9869-44b2-b437-ae44b0057ac3": "252a7e3e-2739-4d83-a24f-8255f3a6dbb8" }, "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. |