curl --request POST \
--url https://lender.sandbox.lerian.net/api/v1/assignment/sets/{setId}/eligibility \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://lender.sandbox.lerian.net/api/v1/assignment/sets/{setId}/eligibility"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://lender.sandbox.lerian.net/api/v1/assignment/sets/{setId}/eligibility', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://lender.sandbox.lerian.net/api/v1/assignment/sets/{setId}/eligibility"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"concentrationBase": "<string>",
"currency": "<string>",
"dimensionsNotEvaluated": [
"<string>"
],
"eligibleCount": 123,
"items": [
{
"assignmentPrice": "<string>",
"assignmentRate": "<string>",
"assignorRef": "<string>",
"borrowerRef": "<string>",
"currency": "<string>",
"custodyComplete": true,
"discountAmount": "<string>",
"dossierDigest": "<string>",
"exitReason": "<string>",
"exitSource": "<string>",
"faceValue": "<string>",
"hasOpenOverdue": true,
"installmentCount": 123,
"itemState": "<string>",
"outstandingBalance": "<string>",
"paymentSourceRef": "<string>",
"principalAmount": "<string>",
"receivableRef": "<string>",
"registrationActive": true,
"repriced": true,
"snapshotObservedAt": "<string>",
"valuationBaseDate": "<string>",
"valuationVersion": "<string>",
"trailInstallmentsRemaining": 123
}
],
"ruleVersion": "<string>",
"set": {
"createdAt": "<string>",
"createdBy": "<string>",
"currency": "<string>",
"eligibilityCheckedAt": "<string>",
"fundId": "<string>",
"id": "<string>",
"inSetItemCount": 123,
"ruleVersion": "<string>",
"state": "<string>",
"totalAssignmentPrice": "<string>",
"totalFaceValue": "<string>",
"updatedAt": "<string>",
"valuationVersion": "<string>"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}Score an assignment set against its fund's rule
Measures the composition’s FROZEN entry snapshots against the fund’s eligibility and concentration limits and records the verdicts. A set waiting for the manager may be re-scored; an approved one never is.
curl --request POST \
--url https://lender.sandbox.lerian.net/api/v1/assignment/sets/{setId}/eligibility \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://lender.sandbox.lerian.net/api/v1/assignment/sets/{setId}/eligibility"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://lender.sandbox.lerian.net/api/v1/assignment/sets/{setId}/eligibility', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://lender.sandbox.lerian.net/api/v1/assignment/sets/{setId}/eligibility"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"concentrationBase": "<string>",
"currency": "<string>",
"dimensionsNotEvaluated": [
"<string>"
],
"eligibleCount": 123,
"items": [
{
"assignmentPrice": "<string>",
"assignmentRate": "<string>",
"assignorRef": "<string>",
"borrowerRef": "<string>",
"currency": "<string>",
"custodyComplete": true,
"discountAmount": "<string>",
"dossierDigest": "<string>",
"exitReason": "<string>",
"exitSource": "<string>",
"faceValue": "<string>",
"hasOpenOverdue": true,
"installmentCount": 123,
"itemState": "<string>",
"outstandingBalance": "<string>",
"paymentSourceRef": "<string>",
"principalAmount": "<string>",
"receivableRef": "<string>",
"registrationActive": true,
"repriced": true,
"snapshotObservedAt": "<string>",
"valuationBaseDate": "<string>",
"valuationVersion": "<string>",
"trailInstallmentsRemaining": 123
}
],
"ruleVersion": "<string>",
"set": {
"createdAt": "<string>",
"createdBy": "<string>",
"currency": "<string>",
"eligibilityCheckedAt": "<string>",
"fundId": "<string>",
"id": "<string>",
"inSetItemCount": 123,
"ruleVersion": "<string>",
"state": "<string>",
"totalAssignmentPrice": "<string>",
"totalFaceValue": "<string>",
"updatedAt": "<string>",
"valuationVersion": "<string>"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}Autorizaciones
JWT bearer token issued by the identity provider.
Parámetros de ruta
Assignment set identifier.
Respuesta
OK
Denominator the surviving composition was measured against: the fund's accepted stock plus the admitted set, decimal string, scale 2.
ISO currency code every amount above is denominated in.
Concentration dimensions this scoring could not measure. sector has no data source at all; assignor is listed when the composition carries no per-receivable assignor.
How many receivables survived every rule.
Every receivable of the composition with its verdict.
Show child attributes
Show child attributes
Identifier of the eligibility/concentration rule that produced these verdicts.
The set after the scoring, in its new state.
Show child attributes
Show child attributes
¿Esta página le ayudó?

