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": "56bc38cc-fa45-4698-b85b-8b4ea884a830",
  "IntegrationId": "63a791bb-97ea-4004-8c1f-b7434f355ade",
  "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.