LA CONSERVATION SERVIE
GET
/centralisations/{reference}/allocations
const url = 'https://carnet-ordres.interne/carnet-ordres/centralisations/example/allocations?page=1&taillePage=25';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://carnet-ordres.interne/carnet-ordres/centralisations/example/allocations?page=1&taillePage=25' \ --header 'Authorization: Bearer <token>'Autorisations
Section intitulée « Autorisations »Paramètres
Section intitulée « Paramètres »Paramètres (path)
Section intitulée « Paramètres (path) »reference
required
string
Paramètres (query)
Section intitulée « Paramètres (query) »page
integer
taillePage
integer
Plafonné par le domaine — une liste sans borne est une liste que personne ne lit.
Réponses
Section intitulée « Réponses »Le dépouillement et son contrôle.
Media typeapplication/json
object
attendu
required
object
quantiteUpm
integer format: int64
montantCt
integer format: int64
redistribue
required
object
quantiteUpm
integer format: int64
montantCt
integer format: int64
residuel
required
Le résiduel d’arrondi et sa distribution. AUCUN RÉSIDUEL N’EST ABSORBÉ EN SILENCE, et aucun n’est porté sur un compte technique.
object
quantiteUpm
integer format: int64
methode
string
egalite
required
LE VERDICT SERVI PAR LE DOMAINE : somme des allocations + résiduel attribué = exécution. L’écran ne recalcule rien.
boolean
regleCode
string
regleVersion
string
lignes
required
Array<object>
object
ordreRef
required
string
instructionRef
string
contributionCt
integer format: int64
partExacteUi12
LA PART EXACTE AVANT ARRONDI, en millionièmes de millionième de part, servie en chaîne pour ne perdre aucun chiffre. SANS ELLE, la méthode des plus forts restes n’est pas rejouable.
string
quantiteAllloueeUpm
required
integer format: int64
montantAlloueCt
integer format: int64
rangReste
Rang au classement décroissant des restes — CE QUI DIT POURQUOI cet ordre a reçu un millionième de plus qu’un autre.
integer
residuelRecuUpm
integer format: int64
manuelle
boolean
Example
{ "residuel": { "methode": "PLUS_FORTS_RESTES" }}La ressource n’existe pas dans ce tenant.
Media typeapplication/json
object
code
required
string
message
required
string
Examplegenerated
{ "code": "example", "message": "example"}