POST api/UserInstitution/GetUserInstitutionByID

Get a UserInstitution's information by UserInstitutionID

Request Information

URI Parameters

None.

Body Parameters

GetUserInstitutionByIDParams
NameDescriptionTypeAdditional information
UserInstitutionID

Guid-type UserInstitutionID.

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "UserInstitutionID": "7eab31a2-5be6-4973-a875-58f302e2320b"
}

application/xml, text/xml

Sample:
Coming soon.

Response Information

Resource Description

UserInstitution's information

UserInstitutionInformation
NameDescriptionTypeAdditional 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.

Email

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

Sample:
{
  "UserID": "75065741-69eb-46d1-9693-f582f54f4251",
  "InstitutionID": "245609b4-18f3-4b15-b54f-79ae818ea789",
  "UserInstitutionID": "8fe68e6f-8a84-4727-89ab-d46ec45799fe",
  "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

Sample:
Coming soon.