POST api/UserInstitution/CreateUserInstitutionWithFullHistory
Create a UserInstitution and retrieve the complete history of transactions for all accounts under the UserInstitution. UserInstitution is a user login account with an institution.
Request Information
URI Parameters
None.
Body Parameters
CreateUserInstitutionParams| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID |
Guid-type UserID can be found under Developer Profile -> Direct Auth. |
globally unique identifier |
None. |
| InstitutionID |
Guid-type InstitutionID can be looked up by api/Institution/GetInstitutionByName method. If an institution does not exist in Sophtron's list, use api/Institution/AddInstitution to add it to the list. |
globally unique identifier |
None. |
| UserName |
UserName for login account. |
string |
None. |
| Password |
Password for login account. |
string |
None. |
| PIN |
PIN for login account (Optional). |
string |
None. |
| CompanyID |
CompanyID for business login account (Optional). |
string |
None. |
Request Formats
application/json, text/json
{
"UserID": "d0c6f68d-4f41-4031-8e73-337234fc5d5f",
"InstitutionID": "7f0c652f-1dfa-4f06-b3ab-6e16cb03bf5d",
"UserName": "sample string 3",
"Password": "sample string 4",
"PIN": "sample string 5",
"CompanyID": "sample string 6"
}
application/xml, text/xml
Coming soon.
Response Information
Resource Description
Creating UserInstitution with full history will trigger a job. Such job takes longer to complete but retrieves transaction history as far back as possible to give a complete picture of the account's history.
CreateUserInstitutionJobTracker| Name | Description | Type | Additional information |
|---|---|---|---|
| JobID |
Guid-type JobID is used to track current job. Use api/Job/GetJobInformationByID with this JobID to look up current job's MFA information and status. |
globally unique identifier |
None. |
| UserInstitutionID |
Guid-type UserInstitutionID is used to track the UserInstitution just created. After the current CreateUserInstitution job succeeds, use api/UserInstitution/GetUserInstitutionAccounts to get retrieved accounts belonging to this UserInstitution. |
globally unique identifier |
None. |
Response Formats
application/json, text/json
{
"JobID": "d72cb90d-4b08-422e-b394-41fb8007f836",
"UserInstitutionID": "b81c55d7-0da4-41b4-a8ec-96c5e0b98476"
}
application/xml, text/xml
Coming soon.