POST api/UserInstitution/GetUserInstitutionsByUser
Get all UserInstitutions created by the current Sophtron user account.
Request Information
URI Parameters
None.
Body Parameters
GetUserParams| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID |
Guid-type UserID is associated with a Sophtron account. UserID can be found under Developer Profile -> Direct Auth. |
globally unique identifier |
None. |
Request Formats
application/json, text/json
{
"UserID": "3e5dbb9c-e5c5-4753-924e-9375762047d4"
}
application/xml, text/xml
Coming soon.
Response Information
Resource Description
List of UserInstitutions created by the current Sophtron user account.
Collection of UserInstitutionInformation| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID |
Guid-type ID of current Sophtron user account. |
globally unique identifier |
None. |
| InstitutionID |
Guid-type ID of the Institution for the login account. |
globally unique identifier |
None. |
| UserInstitutionID |
Guid-type ID of the UserInstitution. |
globally unique identifier |
None. |
| UserName |
UserName of the UserInstitution(login account). |
string |
None. |
| CompanyID |
CompanyID of the UserInstitution(business login account). |
string |
None. |
| OwnerName |
Owner's name shown in the profile setting of the UserInstitution(login account). |
string |
None. |
| Address |
Owner's address shown in the profile setting of the UserInstitution(login account). |
string |
None. |
| Phone |
Owner's phone numbers shown in the profile setting of the UserInstitution(login account). Note: Phone string is a stringified array that may include multiple phone numbers, e.g. "['Primary: 425-000-1234', 'Secondary: 206-123-5678']". |
string |
None. |
|
Owner's email addresses shown in the profile setting of the UserInstitution(login account). Note: Email string is a stringified array that may include multiple email addresses, e.g. "['Work: xxxx@work.com', 'Home: xxxx@gmail.com']". |
string |
None. |
|
| LastModified |
Last time the UserInstitution gets updated from calling either api/UserInstitution/UpdateUserInstitution or api/UserInstitutionAccount/RefreshUserInstitutionAccount. |
string |
None. |
Response Formats
application/json, text/json
[
{
"UserID": "e044e21b-b1b7-4344-8944-bee3d59d3989",
"InstitutionID": "e73e498b-063a-4392-a7f9-948c729c939a",
"UserInstitutionID": "1230821b-43f3-47f3-851e-37e92058dc87",
"UserName": "sample string 4",
"CompanyID": "sample string 5",
"OwnerName": "sample string 6",
"Address": "sample string 7",
"Phone": "sample string 8",
"Email": "sample string 9",
"LastModified": "sample string 10"
},
{
"UserID": "e044e21b-b1b7-4344-8944-bee3d59d3989",
"InstitutionID": "e73e498b-063a-4392-a7f9-948c729c939a",
"UserInstitutionID": "1230821b-43f3-47f3-851e-37e92058dc87",
"UserName": "sample string 4",
"CompanyID": "sample string 5",
"OwnerName": "sample string 6",
"Address": "sample string 7",
"Phone": "sample string 8",
"Email": "sample string 9",
"LastModified": "sample string 10"
}
]
application/xml, text/xml
Coming soon.