Get assignment set
curl --request GET \
--url https://lender.sandbox.lerian.net/api/v1/assignment/sets/{setId} \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://lender.sandbox.lerian.net/api/v1/assignment/sets/{setId}"
req, _ := http.NewRequest("GET", 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: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://lender.sandbox.lerian.net/api/v1/assignment/sets/{setId}', 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}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"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
}
],
"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>"
},
"approval": {
"approvedAt": "<string>",
"approvedBy": "<string>",
"contentDigest": "<string>",
"currency": "<string>",
"fundId": "<string>",
"id": "<string>",
"itemCount": 123,
"setId": "<string>",
"totalAssignmentPrice": "<string>",
"trailObservedAt": "<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"
}
}Get assignment set
Returns one set with its whole composition — survivors and departures alike, each carrying the verdict that removed it and the price it was valued at — plus the immutable approval fact when there is one. 404 when the validated tenant has no set with that identifier.
GET
/
api
/
v1
/
assignment
/
sets
/
{setId}
Get assignment set
curl --request GET \
--url https://lender.sandbox.lerian.net/api/v1/assignment/sets/{setId} \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://lender.sandbox.lerian.net/api/v1/assignment/sets/{setId}"
req, _ := http.NewRequest("GET", 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: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://lender.sandbox.lerian.net/api/v1/assignment/sets/{setId}', 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}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"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
}
],
"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>"
},
"approval": {
"approvedAt": "<string>",
"approvedBy": "<string>",
"contentDigest": "<string>",
"currency": "<string>",
"fundId": "<string>",
"id": "<string>",
"itemCount": 123,
"setId": "<string>",
"totalAssignmentPrice": "<string>",
"trailObservedAt": "<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"
}
}Authorizations
JWT bearer token issued by the identity provider.
Path Parameters
Assignment set identifier.
Response
OK
Every receivable ever admitted to this set, survivors and departures alike, in the order the composition was read. Always present, empty slice when none.
Show child attributes
Show child attributes
The set and the aggregates of its surviving composition.
Show child attributes
Show child attributes
The immutable approval fact. Absent while the composition has not been approved.
Show child attributes
Show child attributes
Was this page helpful?

