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
| Name | Description | Type | Additional information |
|---|---|---|---|
| IsImport | boolean |
Required |
Body Parameters
PlanIntegrationRequest| Name | Description | Type | Additional 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": "0cb6d14d-310f-4c5f-b178-ff044b067d34",
"IntegrationId": "afb979e8-4d68-4dd1-8388-59314bfe2386",
"ItemId": "sample string 3",
"ItemUrl": "sample string 4",
"IntegrationVersion": 5
}
Response Information
Resource Description
HttpResponseMessage| Name | 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. |