Retrieve GL Accounts By Code
    • 12 Feb 2025
    • 1 Minute to read
    • Dark
      Light

    Retrieve GL Accounts By Code

    • Dark
      Light

    Article summary

    Get
    /glrestapi/rest/v1/glaccounts

    Query Standards

    Finder

    Following row finders are available for data filtering and optimizing request performance.

    • Select Account
    • By UUID

    Select Account

    Recommended finder parameters. Refer to Query Parameters for example.

    ParameterDescriptionSample
    ChartCodeChart Code010

    By UUID

    This is an optional finder for querying a specific Account by row ID.

    ParameterDescriptionSample
    /VUUIDThe VUuid attribute is the Unique row ID/glrestapi/rest/v1/glaccounts/03022A8690E346A8E06316821FACD0FF
    Security
    HTTP
    Type basic

    Basic authentication

    Query parameters
    finder
    string
    ExampleselectAccounts; chartCode=010
    limit
    integer
    Example500
    offset
    integer
    Example0
    totalResults
    boolean
    ExampleTrue
    orderBy
    string
    ExampleAccCode:desc
    Responses
    200

    OK

    Headers
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourcecollection+json
    {
      "items": [
        {
          "AccConschartCode": "010",
          "AccConschartName": "Chart of Accounts - Truebeck",
          "AccCode": "50000",
          "AccName": "EN",
          "AccLowFlag": "Y",
          "AccSequence": 50000,
          "AccTypeCode": "E",
          "AccTypeName": "EXPENSES",
          "AccVUuid": "03022A8690E246A8E06316821FACD0FF",
          "links": [
            {
              "rel": "self",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/glrestapi/rest/v1/glaccounts/03022A8690E246A8E06316821FACD0FF",
              "name": "glaccounts",
              "kind": "item"
            },
            {
              "rel": "canonical",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/glrestapi/rest/v1/glaccounts/03022A8690E246A8E06316821FACD0FF",
              "name": "glaccounts",
              "kind": "item"
            }
          ]
        },
        {
          "AccConschartCode": "010",
          "AccConschartName": "Chart of Accounts - Truebeck",
          "AccCode": "50001",
          "AccName": "ED",
          "AccLowFlag": "Y",
          "AccSequence": 50001,
          "AccTypeCode": "E",
          "AccTypeName": "EXPENSES",
          "AccVUuid": "03022A8690E346A8E06316821FACD0FF",
          "links": [
            {
              "rel": "self",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/glrestapi/rest/v1/glaccounts/03022A8690E346A8E06316821FACD0FF",
              "name": "glaccounts",
              "kind": "item"
            },
            {
              "rel": "canonical",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/glrestapi/rest/v1/glaccounts/03022A8690E346A8E06316821FACD0FF",
              "name": "glaccounts",
              "kind": "item"
            }
          ]
        }
      ],
      "totalResults": 2,
      "count": 2,
      "hasMore": false,
      "limit": 250,
      "offset": 0,
      "links": [
        {
          "rel": "self",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/glrestapi/rest/v1/glaccounts",
          "name": "glaccounts",
          "kind": "collection"
        }
      ]
    }
    object