Bearbeiten

Freigeben über


Get customerFinancialDetails

Retrieve the properties and relationships of a customerFinancialDetails object for Business Central.

HTTP request

Replace the URL prefix for Business Central depending on environment following the guideline.s

GET businesscentralPrefix/companies({id})/customerFinancialDetails
GET businesscentralPrefix/companies({id})/customers?$expand=customerFinancialDetail
GET businesscentralPrefix/companies({id})/customers({customerId})?$expand=customerFinancialDetail

Request headers

Header Value
Authorization Bearer {token}. Required.

Request body

Do not supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and an customerFinancialDetails object in the response body.

Example

Request

Here is an example of the request.

GET https://{businesscentralPrefix}/api/v2.0/companies({id})/customerFinancialDetails

Response

Here is an example of the response.

Note

The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call.

    {
        "id": "52f556f8-e0e4-ea11-9305-000d3a482952",
        "number": "GL00000000",
        "balance": 0,
        "totalSalesExcludingTax": 0,
        "overdueAmount": 0
    }  

Tips for working with the APIs
customerfinancialdetail