cURL
curl --request GET \ --url https://api.syntage.com/entities/{entityId}/insights/metrics/customer-network \ --header 'X-API-Key: <api-key>'
{ "@context": "/contexts/GetCustomerNetwork", "@id": "/entities/9bd4a640-9f41-4cd5-a158-20767b386ca0/insights/metrics/customer-network", "@type": "hydra:Collection", "hydra:member": [ { "customer": "PUBLICO EN GENERAL", "totalReceived": "15928890.28", "totalCancelledReceived": "0.00", "percentageCancelled": "0.0000", "receivedDiscounts": "963836.78", "receivedCreditNotes": "897457.12", "emittedPaymentPending": "0.00", "netReceived": "14067696.38", "pueReceived": "15928890.28", "ppdReceived": "0.00", "ppdCount": 0, "paymentAmount": "0.00", "collectedInInstallments": "0.0000", "daysSalesOutstanding": "0.00" } ], "hydra:totalItems": 1, "hydra:view": { "@id": "<string>", "@type": "hydra:PartialCollectionView", "hydra:first": "<string>", "hydra:next": "<string>", "hydra:last": "<string>" } }
Customer Network insight
Your API key is available in the Production and Sandbox dashboards.
Success
"/entities/9bd4a640-9f41-4cd5-a158-20767b386ca0/insights/metrics/customer-network"
Show child attributes
Customer name
"PUBLICO EN GENERAL"
"15928890.28"
"0.00"
"0.0000"
"963836.78"
"897457.12"
"14067696.38"
0
The total number of items found
x >= 0
1
Pagination information
Current page IRI reference
First page IRI reference. This property is omitted if there is no pagination.
Next page IRI reference. This property is omitted if there is no pagination.
Last page IRI reference. This property is omitted if there is no pagination.