POST api/workplan/{id}/insertfragment

Insert a fragment into a work plan

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

PostFragmentInfo
NameDescriptionTypeAdditional 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": "c2f0ba68-b4c2-4448-99b2-de4b3182c088",
  "Category": 4,
  "SubCategory": 5,
  "Index": 6,
  "Location": 1,
  "ResourceMap": {
    "d870379d-bf15-4e8d-91e4-91691a612dd9": "cd343976-54ac-4cd2-b167-8bd456ab04a8",
    "a8db78b9-c1d2-4f0b-be10-6b0a3dc27ccb": "1b8a0a37-d493-4161-b8e3-437030379907"
  },
  "FieldMap": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  }
}

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.