curl --request GET \
--url https://api.syntage.com/entities/{entityId}/insights/metrics/customer-network \
--header 'X-API-Key: <api-key>'
{
"@context": "<string>",
"@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
curl --request GET \
--url https://api.syntage.com/entities/{entityId}/insights/metrics/customer-network \
--header 'X-API-Key: <api-key>'
{
"@context": "<string>",
"@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>"
}
}
Your API key is available in the Production and Sandbox dashboards.
Success
The response is of type object
.