169 lines
3.9 KiB
JSON
169 lines
3.9 KiB
JSON
{
|
|
"messageType": "snapshot",
|
|
"requestId": "request:example-transfer",
|
|
"meta": {
|
|
"contractVersion": "bmh-modern-ui@draft1",
|
|
"draft": true,
|
|
"sourceRevision": "a207b0129e06f0659a5e7b30afa3680739a33029",
|
|
"careerId": "career:synthetic-demo",
|
|
"worldId": "world:synthetic-demo",
|
|
"worldRevision": "fixture-1",
|
|
"stateRevision": "40",
|
|
"projectionRevision": "40",
|
|
"locale": "de",
|
|
"date": "2027-03-15",
|
|
"season": {
|
|
"id": "season:2026-27",
|
|
"startDate": "2026-07-01",
|
|
"endDate": "2027-06-30",
|
|
"label": "2026/27",
|
|
"completed": false
|
|
},
|
|
"scope": {
|
|
"managerId": "manager:career-demo-1",
|
|
"teamId": "club:harbor",
|
|
"role": "club",
|
|
"scopeId": "scope:desk-40-0",
|
|
"allowedCommands": [
|
|
"session.advance",
|
|
"lineup.commit",
|
|
"manager.resign.commit"
|
|
]
|
|
},
|
|
"availability": {
|
|
"status": "available",
|
|
"reasonCode": null,
|
|
"missingFields": []
|
|
},
|
|
"currency": {
|
|
"code": "EUR",
|
|
"minorUnits": 2
|
|
}
|
|
},
|
|
"data": {
|
|
"kind": "transfer",
|
|
"teamId": "club:harbor",
|
|
"market": [
|
|
{
|
|
"id": "offer:synthetic-1",
|
|
"player": {
|
|
"id": "player:forest-10",
|
|
"name": "Testperson forest 10",
|
|
"photoAssetId": null,
|
|
"nationIds": [
|
|
"nation:synthetic-de"
|
|
],
|
|
"positions": [
|
|
"fwd"
|
|
],
|
|
"shirtNumber": 11
|
|
},
|
|
"ownerTeam": {
|
|
"id": "club:forest",
|
|
"kind": "club",
|
|
"name": "SV Waldhain",
|
|
"shortName": "FOREST",
|
|
"nationId": "nation:synthetic-de",
|
|
"crestAssetId": "asset:team/forest/crest",
|
|
"nameAsOf": "2027-03-15"
|
|
},
|
|
"offerKind": "purchase",
|
|
"price": {
|
|
"minor": "90000000",
|
|
"currency": "EUR",
|
|
"minorUnits": 2
|
|
},
|
|
"salaryMonthly": {
|
|
"minor": "1200000",
|
|
"currency": "EUR",
|
|
"minorUnits": 2
|
|
},
|
|
"termMonths": 24,
|
|
"availability": {
|
|
"status": "available",
|
|
"reasonCode": null,
|
|
"missingFields": []
|
|
}
|
|
}
|
|
],
|
|
"pendingOrders": [
|
|
{
|
|
"id": "order:synthetic-1",
|
|
"playerId": "player:forest-10",
|
|
"kind": "purchase",
|
|
"status": "submitted",
|
|
"quoteId": "quote:synthetic-transfer"
|
|
}
|
|
],
|
|
"search": {
|
|
"nationId": null,
|
|
"competitionId": null,
|
|
"teamId": null,
|
|
"positions": [
|
|
"fwd"
|
|
],
|
|
"maxFee": {
|
|
"minor": "100000000",
|
|
"currency": "EUR",
|
|
"minorUnits": 2
|
|
},
|
|
"criteria": {
|
|
"strength": {
|
|
"value": 60,
|
|
"unit": "rating",
|
|
"scale": null,
|
|
"availability": {
|
|
"status": "available",
|
|
"reasonCode": null,
|
|
"missingFields": []
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"quote": {
|
|
"id": "quote:synthetic-transfer",
|
|
"ownerManagerId": "manager:career-demo-1",
|
|
"teamId": "club:harbor",
|
|
"expectedRevision": "40",
|
|
"scopeId": "scope:desk-40-0",
|
|
"expiresOn": "2027-03-15",
|
|
"total": {
|
|
"minor": "90000000",
|
|
"currency": "EUR",
|
|
"minorUnits": 2
|
|
},
|
|
"totalBasis": "immediate",
|
|
"chargesNow": {
|
|
"minor": "90000000",
|
|
"currency": "EUR",
|
|
"minorUnits": 2
|
|
},
|
|
"breakdown": [
|
|
{
|
|
"code": "transfer_fee",
|
|
"amount": {
|
|
"minor": "90000000",
|
|
"currency": "EUR",
|
|
"minorUnits": 2
|
|
}
|
|
}
|
|
],
|
|
"allowed": true,
|
|
"reasonCode": null
|
|
},
|
|
"page": {
|
|
"limit": 200,
|
|
"cursor": null,
|
|
"nextCursor": null,
|
|
"snapshotRevision": "40",
|
|
"total": null,
|
|
"sort": [
|
|
{
|
|
"field": "id",
|
|
"direction": "asc"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|