GET accounts_receivable/configuration/credit_ratings/list

This method returns the credit ratings that are allowed to be used in the system, as specified in the active accounts receivable definition. Multiple credit ratings are returned by each call

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

fields_set

(optional)

List of Strings, comma separated 

A list of fields that should be included in the results. If not specified then all the available fields will be returned

Response Data

Name

Type

Description

code

String

The code of the retrieved credit rating which can be one of the following:

AAA, AA, A, BAA, BA, B, CAA, CA, C

name

String

The name of the retrieved credit rating which can be one of the following:

  • AAA - Financial Obligations at Minimal Credit Risk
  • AA - Financial Obligations Are Subject to Very Low Credit Risk
  • A - Financial Obligations Are Subject to Low Credit Risk
  • BAA - Financial Obligations Are Subject to Moderate Credit Risk
  • BA - Financial Obligations Are Subject to Substantial Credit Risk
  • B - Financial Obligations Are Subject to High Credit Risk
  • CAA - Financial Obligations Are Subject to Very High Credit Risk
  • CA - Financial Obligations Are Highly Speculative and Are Likely of Some Prospect of Recovery
  • C - Financial Obligations Are Highly Speculative and Are Likely of Little Prospect of Recovery

labelStringThe label of the retrieved credit rating, as specified in the accounts receivable definition
credit_limit_typeString

The credit limit type of the retrieved credit rating, as specified in the accounts receivable definition, which can be one of the following:

USER_DEFINED, NUMERIC_VALUE

Deprecated from CRM.COM R11.0.0

credit_limit_amountNumberThe credit limit amount of the retrieved credit rating, as specified in the accounts receivable definition. Credit limit amount is returned in the default system currency
defaultBooleanIt determines if the retrieved credit rating is set as the default in the accounts receivable definition

Examples

 Example 1

HTTP Method: GET

 

Request:

Response:

 

{
    "status":
    {
        "message": null,
        "description": null,
        "code": "OK"
    },
    "data":
    [
        {
            "default": false,
            "credit_limit_type": "USER_DEFINED",
            "label": "Very Low Credit Risk",
            "name": "AA - Financial obligations are subject to very low credit risk",
            "code": "AA"
        },
        {
            "default": false,
            "credit_limit_type": "USER_DEFINED",
            "label": "Low Credit Risk",
            "name": "A - Financial obligations are subject to low credit risk",
            "code": "A"
        },
        {
            "default": false,
            "credit_limit_type": "USER_DEFINED",
            "label": "Minimal Credit Risk",
            "name": "AAA - Financial obligations at minimal credit risk",
            "code": "AAA"
        },
        {
            "default": true,
            "credit_limit_amount": 500,
            "credit_limit_type": "NUMERIC_VALUE",
            "label": "Moderate Credit Risk",
            "name": "BAA - Financial obligations are subject to moderate credit risk",
            "code": "BAA"
        },
        {
            "default": false,
            "credit_limit_amount": 300,
            "credit_limit_type": "NUMERIC_VALUE",
            "label": "High Credit Risk",
            "name": "B - Financial obligations are subject to high credit risk",
            "code": "B"
        },
        {
            "default": false,
            "credit_limit_amount": 200,
            "credit_limit_type": "NUMERIC_VALUE",
            "label": "Very High Credit Risk",
            "name": "CAA - Financial obligations are subject to very high credit risk",
            "code": "CAA"
        }
    ]
}