POST api/integration/updateplanintegration?IsImport={IsImport}

Update plan integration information On Import: (Happens when a plan is updated from an external integrated system) - Stamp the import date time - Save the external item id and item url On Export: (Happens when a plan is fetch from OnePlan) - Only set the export date time

Request Information

URI Parameters

NameDescriptionTypeAdditional information
IsImport

boolean

Required

Body Parameters

PlanIntegrationRequest
NameDescriptionTypeAdditional information
PlanId

globally unique identifier

None.

IntegrationId

globally unique identifier

None.

ItemId

string

None.

ItemUrl

string

None.

IntegrationVersion

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PlanId": "4ca4a9c1-5de9-4354-af3f-901bc93a7e3c",
  "IntegrationId": "20e60267-4203-4c4d-ae15-cd70a35ea508",
  "ItemId": "sample string 3",
  "ItemUrl": "sample string 4",
  "IntegrationVersion": 5
}

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.