Endpoint: GET /api/Authentication/Saltoken
Purpose: Generates a unique salt token for secure password hashing.
GET /api/Authentication/Saltoken?UserLoginID=HIM_464_2024
{
"UserLoginID": "HIM_464_2024",
"Message": "Salt token generated",
"SaltTokne": "ABCD1234XYZ...",
"SaltTokenDate": "2025-06-04T12:34:56Z"
}
Endpoint: POST /api/Authentication/login
Purpose: Authenticates the user using the salted password hash.
{
"UserID": "HIM_464_2024",
"Password": "hashedPasswordUsingSalt"
}
{
"Email": "user@example.com",
"Token": "eyJhbGciOiJIUzI1NiIsInR...",
"Message": "Login successful"
}
Endpoint: GET /api/GetProposal/GetProposal
Purpose: Retrieve proposal details using the BioRRAP ID.
Authorization: Bearer <your_jwt_token>
GET /api/GetProposal/GetProposal?BiorrapID=BRP1234567
Endpoint: GET /api/Authentication/Saltoken
Purpose: Generates a unique salt token for secure password hashing.
GET /api/Authentication/Saltoken?UserLoginID=HIM_464_2024
{
"UserLoginID": "HIM_464_2024",
"Message": "Salt token generated",
"SaltTokne": "ABCD1234XYZ...",
"SaltTokenDate": "2025-06-04T12:34:56Z"
}
Endpoint: POST /api/Authentication/login
Purpose: Authenticates the user using a SHA512 hash of (Password + Salt).
{
"UserID": "HIM_464_2024",
"Password": "hashedPasswordUsingSalt"
}
{
"Email": "user@example.com",
"Token": "eyJhbGciOiJIUzI1NiIsInR...",
"Message": "Login successful"
}
Save this token — it is required in the Authorization header for pushing application status.
Endpoint: POST /api/GetProposal/PushApplicationStatusData
Purpose: Updates the status of a submitted application.
Authorization: Bearer <your_jwt_token>
{
"RINID": "RIN789456",
"StatusCode": "UNP",
"ActionDate": "06/03/2025",
"AccessCode": "XYZ123",
"Remarks": "Application received",
"CopyOfApplicationStatus": "Attached as PDF"
}
RPS – Research Protocol to be submittedUNP – Under ProcessCSE – Clarification SoughtREJ – RejectedPWE – Protocol WithdrawnPOST: /api/GetProposal/PushApproval
Purpose: Submits the final approval of a proposal.
This API requires a valid JWT Bearer token.
Authorization: Bearer <your_jwt_token>
{
"accessCode": "tellkte45445e5s555s5s78s",
"biorrapID": "TEST2025",
"approvalType": "APP",
"approvalDate": "06/05/2025",
"remarks": "Final approval",
"copyOfApproval": "http://domain.com/approval.pdf"
}