POST
/
get-all
curl --request POST \
  --url https://gateway.finhub.cloud/rules/get-all \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '{
  "type": "<string>",
  "created": "<string>",
  "status": "<string>",
  "pageSize": 123,
  "pageNumber": 123
}'
{
  "data": [
    {
      "id": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "tenantId": "<string>",
      "module": "<string>",
      "category": "<string>",
      "subCategory": "<string>",
      "currency": "<string>",
      "subjectIdentifier": "<string>",
      "subjectGroup": "<string>",
      "effectiveStartDate": "<string>",
      "effectiveEndDate": "<string>",
      "ruleCycle": "<string>",
      "active": true,
      "isDeleted": true,
      "structure": {
        "id": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "tenantId": "<any>",
        "name": "<string>",
        "value": "<string>",
        "description": "<any>"
      },
      "ruleDetail": {
        "id": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "tenantId": "<any>",
        "maximum": 123,
        "minimum": 123,
        "startDate": "<string>",
        "endDate": "<string>",
        "value": 123
      }
    }
  ],
  "pagination": {
    "currentPage": 123,
    "totalSize": 123,
    "numberOfPage": "<any>"
  }
}

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

tenantId
string
required

Body

type
string | null
created
string | null
status
string | null
pageSize
integer
pageNumber
integer

Response

200 - text/plain
data
object[] | null
pagination
object