GET api/{database}/CreditStatistics/{customerId}

Gets the specified CreditStatistics.



Request Information

Parameters

NameDescriptionAdditional information
customerId The customerId.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "creditLimit": 1,
  "creditMargin": 2.0,
  "openInvoicesAmount": 3.0,
  "openOrdersAmount": 4.0
}

application/xml, text/xml

Sample:
<CreditStatistics xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Sales.Statistics">
  <CreditLimit>1</CreditLimit>
  <CreditMargin>2</CreditMargin>
  <OpenInvoicesAmount>3</OpenInvoicesAmount>
  <OpenOrdersAmount>4</OpenOrdersAmount>
</CreditStatistics>