GET api/NaturalBehavior/GetRiskAllocation/{PersonID}
This endpoint is to retrieve the Risk Score and Risk Group for an individual completed Natural Behavior discovery process. If successful, DNA will respond with the Risk Score and Risk Group.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
PersonID |
PersonID is a unique identifier to get the hiring data. |
globally unique identifier |
This is a required parameter |
Body Parameters
None
Response Information
Resource Description
This API call will return the Risk Score and Risk Group.
Name | Description | Type | Additional information |
---|---|---|---|
PersonID |
PersonID is a unique identifier to get Risk Score and Risk Group. |
globally unique identifier |
None |
CreditID |
This field is for the person's Credit ID. |
integer |
None |
RiskScore |
This field is for the Risk Score of the person's specific Credit ID. |
integer |
None |
RiskGroup |
This field is for the Risk Group of the person's specific Credit ID. |
integer |
None |
Response Formats
application/json, text/json
Sample:
{ "PersonID": "f8c60cdd-bab4-453d-b340-15fbe5ab2dc5", "CreditID": 1, "RiskScore": 1, "RiskGroup": 1 }
application/xml, text/xml
Sample:
<RiskAllocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DnaBehavior.WebApi.Models"> <CreditID>1</CreditID> <PersonID>f8c60cdd-bab4-453d-b340-15fbe5ab2dc5</PersonID> <RiskGroup>1</RiskGroup> <RiskScore>1</RiskScore> </RiskAllocation>