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": "a7b6a94b-3c23-40bc-b8a1-c7551b5b418e"
}
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": "41999108-13d8-4cf3-9723-c92b821d8177",
"InstitutionID": "e2c4e922-79ea-47e6-8ca3-125540b36053",
"UserInstitutionID": "8a584be8-b156-4600-bdf7-fc019a14ea02",
"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": "41999108-13d8-4cf3-9723-c92b821d8177",
"InstitutionID": "e2c4e922-79ea-47e6-8ca3-125540b36053",
"UserInstitutionID": "8a584be8-b156-4600-bdf7-fc019a14ea02",
"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.