MedPoint Management
Fetch portal context
Read the current IPA and IPA choices captured at the last sign-in.
POSThttps://api.ontross.com/api/integrations/medpoint/fetch-portal-context
Request Fields
auth_id
string
requiredSaved connection to run this operation through, from the Authentication page. It decides which practice and login the call uses.
Example
"00000000-0000-4000-8000-000000000000"Output Fields
active_ipa
object
Physician association currently selected in the portal session.
active_ipa.ipa_key
string
Portal identifier for the assigned independent physician association.
Example
"900123"active_ipa.ipa_name
string
Display text for the assigned independent physician association.
Example
"Example Valley Medical Group"available_ipas
array
Choices captured at the most recent sign-in, subject to portal authorization on use.
available_ipas[].value
string
Portal identifier used to select an authorized physician association.
Example
"900123"available_ipas[].label
string
Display text for a physician association choice.
Example
"Example Valley Medical Group"available_ipas[].disabled
boolean
Whether the portal marks this choice as unavailable.
Example
falsechoices_available
boolean
False for older saved sessions without captured choices; reconnect to populate them.
Example
trueCode
curl --request POST \
--url https://api.ontross.com/api/integrations/medpoint/fetch-portal-context \
--header 'X-API-Key: REPLACE_KEY_VALUE' \
--header 'content-type: application/json' \
--data '{"input":{},"auth_id":"auth_uuid_here"}'Request BODY
{
"input": {},
"auth_id": "auth_uuid_here"
}Response BODY
{
"id": "string",
"workflow_id": "string",
"auth_id": "string",
"status": "string",
"input": {},
"output": {
"active_ipa": {
"ipa_key": "900123",
"ipa_name": "Example Valley Medical Group"
},
"available_ipas": [
{
"value": "900123",
"label": "Example Valley Medical Group",
"disabled": false
}
],
"choices_available": true
},
"files": null,
"created_at": "2019-08-24T14:15:22Z",
"started_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z"
}