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": "a4218ca9-eb91-4a5f-85a8-d2c7e32ff16c",
"IntegrationId": "44a3af3e-9bf7-4c17-bd6d-ee8cb5df6e7c",
"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. |