POST api/{database}/GetCustomerCreditInfoCommand?CustomerId={CustomerId}
Execute the GetCustomerCreditInfoCommand
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| CustomerId | The CustomerId. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{
"creditLimitAmount": 1.0,
"customerId": "sample string 2",
"outstandingInvoicesAmount": 3.0,
"outstandingOrdersAmount": 4.0,
"remainingCreditAmount": 5.0
}
application/xml, text/xml
Sample:
<GetCustomerCreditInfoCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Commands"> <CreditLimitAmount>1</CreditLimitAmount> <CustomerId>sample string 2</CustomerId> <OutstandingInvoicesAmount>3</OutstandingInvoicesAmount> <OutstandingOrdersAmount>4</OutstandingOrdersAmount> <RemainingCreditAmount>5</RemainingCreditAmount> </GetCustomerCreditInfoCommand>