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": "0536ad6c-4179-4770-abbe-150e108f835f",
"IntegrationId": "660d839d-d55d-4eaf-ace0-ee7b45b9a8db",
"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. |