Retrieve AP Open Periods By Code
    • 06 Jan 2025
    • 1 Minute to read
    • Dark
      Light

    Retrieve AP Open Periods By Code

    • Dark
      Light

    Article summary

    Get
    /ap-rest-api/rest/1/openperiods/

    Query Standards

    Finder

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

    • OpenPeriodFinder

    Open Period Finder

    Recommended finder parameters. Refer to Query Parameters for example.

    ParameterDescriptionSample
    CompCodeVarCompany Code001
    Security
    HTTP
    Type basic

    Basic authentication

    Query parameters
    finder
    string
    ExampleOpenPeriodFinder;CompCodeVar=001
    limit
    integer
    Example500
    offset
    integer
    Example0
    totalResults
    boolean
    ExampleTrue
    orderBy
    string
    ExampleJcctrlCurrYr:desc
    Responses
    200

    OK

    Headers
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourcecollection+json
    {
      "items": [
        {
          "JcctrlCurrYr": 2018,
          "JcctrlCurrPer": 9,
          "JcctrlFuturePostFlag": "Y",
          "JcctrlCompCode": "001",
          "ApctrlCurrYr": 2018,
          "ApctrlCurrPer": 9,
          "ApctrlFuturePostFlag": "Y",
          "ApctrlCompCode": "001",
          "links": [
            {
              "rel": "self",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/ap-rest-api/rest/1/openperiods/0000",
              "name": "openperiods",
              "kind": "item"
            },
            {
              "rel": "canonical",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/ap-rest-api/rest/1/openperiods/0000",
              "name": "openperiods",
              "kind": "item"
            }
          ]
        }
      ],
      "count": 1,
      "hasMore": false,
      "limit": 25,
      "offset": 0,
      "links": [
        {
          "rel": "self",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/ap-rest-api/rest/1/openperiods",
          "name": "openperiods",
          "kind": "collection"
        }
      ]
    }
    object