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": "ea63c7d9-ca4d-41b7-a351-03947c52f14c",
"IntegrationId": "650f6bf3-59bc-4f7a-af07-334b14182e89",
"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. |