GET api/creditrating

Get all the credit ratings.

Requires Authorisation

The api request must supply authenticated token in a custom variable in the request header. The custom variable name is configured in web.config. The default name of the custom variable is “X-Fern-Token”.

Requires Api License and User Access

The api requires license and user permission for API ID, GETapi/creditrating. The user permission can be defined on User Settings screen in Abacus. For license, please contact Fern manager.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Response Codes

Success Status:

  • OK (200), please see resource description below.

Failed Status(es):

Resource Description

Returns credit rating list

Collection of CreditRatingDto
NameDescriptionTypeAdditional information
CreditRatingID

Unique identifier of the credit rating.

byte
Code

Code given for the credit rating.

string
Description

Description of the credit rating.

string
DefaultItem

Indicates whether this credit rating is a default one.

boolean

Response Formats

application/json, text/json

Sample:
[
  {
    "creditRatingID": 64,
    "code": "sample string 1",
    "description": "sample string 2",
    "defaultItem": true
  },
  {
    "creditRatingID": 64,
    "code": "sample string 1",
    "description": "sample string 2",
    "defaultItem": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfCreditRatingDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fern.Abacus.ObjectModel.Dto">
  <CreditRatingDto>
    <Code>sample string 1</Code>
    <CreditRatingID>64</CreditRatingID>
    <DefaultItem>true</DefaultItem>
    <Description>sample string 2</Description>
  </CreditRatingDto>
  <CreditRatingDto>
    <Code>sample string 1</Code>
    <CreditRatingID>64</CreditRatingID>
    <DefaultItem>true</DefaultItem>
    <Description>sample string 2</Description>
  </CreditRatingDto>
</ArrayOfCreditRatingDto>