POST api/Job/GetJobInformationByID

Get Job information by JobID

Request Information

URI Parameters

None.

Body Parameters

JobByIDParam
NameDescriptionTypeAdditional information
JobID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "JobID": "f8330454-e637-4c44-86e1-aeb09845b1a9"
}

application/xml, text/xml

Sample:
Coming soon.

Response Information

Resource Description

JobInformation
NameDescriptionTypeAdditional information
JobID

Guid-type JobID

globally unique identifier

None.

SuccessFlag

SuccessFlag is Null when the job is still in progress. SuccessFlag will change to "True" when the job completes successful. SuccessFlag will change to "False" when the job fails.

boolean

None.

SecurityQuestion

SecurityQuestion field contains one ore more security questions asked by the institution. E.g. the SecurityQuestion field in the Job can be as following: "['what is your favorite color?', 'what is your favorite fruit?']"

string

None.

SecurityAnswer

Use api/Job/UpdateJobSecurityAnswer method to provide user's security answers to the job.

string

None.

TokenMethod

If the institution requests to send a security token for authentication and the user has registered different delivery methods to receive such token, the "TokenMethod" field in the job will not be empty. E.g. "TokenMethod" field can be as following: '["Email me at s*****@gmail.com", "Send verification code by voice call to ***-***-3800"]'

string

None.

TokenChoice

Use api/Job/UpdateJobTokenInput method to choose a delivery method

string

None.

TokenSentFlag

Once the institution sends out a security token via the delivery method chosen by the user, the "TokenSentFlag" field in the job will change to "True".

boolean

None.

TokenInputName

Once the TokenSentFlag is set to "1", the "TokenInputName" field in the job indicate what type of token it is. E.g. Token indicates one-time token; PIN indicates personal pin.

string

None.

TokenInput

Use api/Job/UpdateJobTokenInput method to enter the security token received by the user.

string

None.

TokenRead

If the institution calls the user and asks user to read or type the security token shown on the screen for authentication, the "TokenRead" field in the job will show the security token shown on the webpage screen. E.g. "TokenRead" field can be as following: "123456".

string

None.

VerifyPhoneFlag

Once user reads or types the security token over the phone, she will be reminded to click the "Verify Phone" button on the screen to proceed with login. Use api/Job/UpdateJobTokenInput method to update the "VerifyPhoneFlag" field in the job to proceed with login process.

boolean

None.

CaptchaImage

If the institution requests user to read a captcha image, the captcha image is stored as a Base64 string in "CaptchaImage" field in the job.

string

None.

CaptchaInput

Use api/Job/UpdateJobCaptchaInput method to update the job with texts or numbers read in the captcha image.

string

None.

LastStep

As the job proceeds, the "LastStep" field shows which step the job is at, e.g. "LogInPanel" shows that the job just passes the login panel step. If the job fails, "LastStep" indicates at which step the job fails. "LastStep" includes steps such as: "LogInPanel", "SecurityQuestionPanel", "TokenMethods", "TokenInput", "AccountList", "AccountSummary", "TransactionTable", "DownloadDialog".

string

None.

LastStatus

As the job proceeds, the "LastStatus" field indicates the status of the job at the current step, e.g. "Completed" indicates the job completes the step shown in "LastStep". If the job fails, "LastStatus" indicates how the job fails at the last step, e.g. "Timeout" means the job times out at the last step.

string

None.

Response Formats

application/json, text/json

Sample:
When there is a security question: 
{ 
 "JobID": "35383341-1a1b-4dfc-b30e-1beb7bbd900d", 
 "SuccessFlag": null,
 "SecurityQuestion": "[\"what is your favorite animal?\"]", 
 "SecurityAnswer": null, 
 "TokenMethod": null, 
 "TokenChoice": null, 
 "TokenSentFlag": null, 
 "TokenInput": null, 
 "TokenRead": null, 
 "VerifyPhoneFlag": null, 
 "CaptchaImage": null, 
 "CaptchaInput": null, 
 "LastStep": "SecurityQuestionPanel", 
 "LastStatus": "Started" 
 } 
 When there is a prompt to select a token delivery method: 
{ 
 "JobID": "35383341-1a1b-4dfc-b30e-1beb7bbd900d", 
 "SuccessFlag": null,
 "SecurityQuestion": null, 
 "SecurityAnswer": null, 
 "TokenMethod": "[\"call xxx-xxx-1234\", \"text xxx-xxx-5678\"]", 
 "TokenChoice": null, 
 "TokenSentFlag": null, 
 "TokenInput": null, 
 "TokenRead": null, 
 "VerifyPhoneFlag": null, 
 "CaptchaImage": null, 
 "CaptchaInput": null, 
 "LastStep": "TokenMethods", 
 "LastStatus": "Started" 
 } 
 When a token has been sent and waits to be entered : 
{ 
 "JobID": "35383341-1a1b-4dfc-b30e-1beb7bbd900d", 
 "SuccessFlag": null,
 "SecurityQuestion": null, 
 "SecurityAnswer": null, 
 "TokenMethod": null, 
 "TokenChoice": null, 
 "TokenSentFlag": true, 
 "TokenInput": null, 
 "TokenRead": null, 
 "VerifyPhoneFlag": null, 
 "CaptchaImage": null, 
 "CaptchaInput": null, 
 "LastStep": "TokenInput", 
 "LastStatus": "Started" 
 } 
 When receiving a call from the bank to read the token shown on the screen : 
{ 
 "JobID": "35383341-1a1b-4dfc-b30e-1beb7bbd900d", 
 "SuccessFlag": null,
 "SecurityQuestion": null, 
 "SecurityAnswer": null, 
 "TokenMethod": null, 
 "TokenChoice": null, 
 "TokenSentFlag": null, 
 "TokenInput": null, 
 "TokenRead": "12345", 
 "VerifyPhoneFlag": null, 
 "CaptchaImage": null, 
 "CaptchaInput": null, 
 "LastStep": "TokenRead", 
 "LastStatus": "Started" 
 } 
 When a Captcha is shown : 
{ 
 "JobID": "35383341-1a1b-4dfc-b30e-1beb7bbd900d", 
 "SuccessFlag": null,
 "SecurityQuestion": null, 
 "SecurityAnswer": null, 
 "TokenMethod": null, 
 "TokenChoice": null, 
 "TokenSentFlag": null, 
 "TokenInput": null, 
 "TokenRead": null, 
 "VerifyPhoneFlag": null, 
 "CaptchaImage": "XTcGdR/HI7155W4PpPx6boAAZ916va...", 
 "CaptchaInput": null, 
 "LastStep": "TokenInput", 
 "LastStatus": "Started" 
 }

application/xml, text/xml

Sample:
Coming soon.