Retrieve Term List By Code
    • 25 Sep 2024
    • 1 Minute to read
    • Dark
      Light

    Retrieve Term List By Code

    • Dark
      Light

    Article summary

    Get
    /sys-rest-api/rest/1/term

    Query Standards

    Finder

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

    • Select by Comp Code
    • By UUID

    Select by Comp Code

    Recommended finder parameters. Refer to Query Parameters for example.

    ParameterDescriptionSample
    CompCodeCompany Code001

    By UUID

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

    ParameterDescriptionSample
    /VUUIDThe VUuid attribute is the unique row ID/sys-rest-api/rest/1/gtregion/D0A47915ECFC5D7AE05316821FAC6D84
    Security
    HTTP
    Type basic

    Basic authentication

    Query parameters
    finder
    string
    ExampleselectByCompCode;compCode=001
    limit
    integer
    Example500
    offset
    integer
    Example0
    totalResults
    boolean
    Exampletrue
    orderBy
    string
    ExampleTermCode:desc
    Responses
    200

    OK

    Headers
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourcecollection+json
    {
      "items": [
        {
          "TermCompCode": "001",
          "TermCode": "1N30",
          "TermName": "1N30",
          "TermCtrlCode": "NA",
          "TermDueModay": null,
          "TermDueDay": 30,
          "TermDiscMonthDay": null,
          "TermDiscDay": 10,
          "TermPc": 1,
          "TermHldbkPc": 0,
          "TermSubmitDays": null,
          "TermPayNoticeDays": null,
          "TermFinalPayDays": null,
          "TermPaylessNoticeDays": null,
          "TermVUuid": "D0A479131F855D7AE05316821FAC6D84",
          "links": [
            {
              "rel": "self",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/sys-rest-api/rest/1/term/D0A479131F855D7AE05316821FAC6D84",
              "name": "term",
              "kind": "item"
            },
            {
              "rel": "canonical",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/sys-rest-api/rest/1/term/D0A479131F855D7AE05316821FAC6D84",
              "name": "term",
              "kind": "item"
            }
          ]
        },
        {
          "TermCompCode": "001",
          "TermCode": "2N30",
          "TermName": "2% 10 Days, Net 30 Days",
          "TermCtrlCode": "NA",
          "TermDueModay": null,
          "TermDueDay": 30,
          "TermDiscMonthDay": null,
          "TermDiscDay": 10,
          "TermPc": 2,
          "TermHldbkPc": 0,
          "TermSubmitDays": null,
          "TermPayNoticeDays": null,
          "TermFinalPayDays": null,
          "TermPaylessNoticeDays": null,
          "TermVUuid": "D0A479131F865D7AE05316821FAC6D84",
          "links": [
            {
              "rel": "self",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/sys-rest-api/rest/1/term/D0A479131F865D7AE05316821FAC6D84",
              "name": "term",
              "kind": "item"
            },
            {
              "rel": "canonical",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/sys-rest-api/rest/1/term/D0A479131F865D7AE05316821FAC6D84",
              "name": "term",
              "kind": "item"
            }
          ]
        },
        {
          "TermCompCode": "001",
          "TermCode": "PCARD",
          "TermName": "P Cards",
          "TermCtrlCode": "NA",
          "TermDueModay": 15,
          "TermDueDay": null,
          "TermDiscMonthDay": null,
          "TermDiscDay": 0,
          "TermPc": 0,
          "TermHldbkPc": 0,
          "TermSubmitDays": null,
          "TermPayNoticeDays": null,
          "TermFinalPayDays": null,
          "TermPaylessNoticeDays": null,
          "TermVUuid": "D0A479131F875D7AE05316821FAC6D84",
          "links": [
            {
              "rel": "self",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/sys-rest-api/rest/1/term/D0A479131F875D7AE05316821FAC6D84",
              "name": "term",
              "kind": "item"
            },
            {
              "rel": "canonical",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/sys-rest-api/rest/1/term/D0A479131F875D7AE05316821FAC6D84",
              "name": "term",
              "kind": "item"
            }
          ]
        },
        {
          "TermCompCode": "001",
          "TermCode": "N00",
          "TermName": "Due Upon Receipt",
          "TermCtrlCode": "NA",
          "TermDueModay": null,
          "TermDueDay": 0,
          "TermDiscMonthDay": null,
          "TermDiscDay": 0,
          "TermPc": 0,
          "TermHldbkPc": 0,
          "TermSubmitDays": null,
          "TermPayNoticeDays": null,
          "TermFinalPayDays": null,
          "TermPaylessNoticeDays": null,
          "TermVUuid": "D0A479131F885D7AE05316821FAC6D84",
          "links": [
            {
              "rel": "self",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/sys-rest-api/rest/1/term/D0A479131F885D7AE05316821FAC6D84",
              "name": "term",
              "kind": "item"
            },
            {
              "rel": "canonical",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/sys-rest-api/rest/1/term/D0A479131F885D7AE05316821FAC6D84",
              "name": "term",
              "kind": "item"
            }
          ]
        },
        {
          "TermCompCode": "001",
          "TermCode": "NET30",
          "TermName": "Net 30",
          "TermCtrlCode": "NA",
          "TermDueModay": null,
          "TermDueDay": 30,
          "TermDiscMonthDay": null,
          "TermDiscDay": 0,
          "TermPc": 0,
          "TermHldbkPc": 0,
          "TermSubmitDays": null,
          "TermPayNoticeDays": null,
          "TermFinalPayDays": null,
          "TermPaylessNoticeDays": null,
          "TermVUuid": "D0A479131F895D7AE05316821FAC6D84",
          "links": [
            {
              "rel": "self",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/sys-rest-api/rest/1/term/D0A479131F895D7AE05316821FAC6D84",
              "name": "term",
              "kind": "item"
            },
            {
              "rel": "canonical",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/sys-rest-api/rest/1/term/D0A479131F895D7AE05316821FAC6D84",
              "name": "term",
              "kind": "item"
            }
          ]
        }
      ],
      "count": 5,
      "hasMore": true,
      "limit": 5,
      "offset": 0,
      "links": [
        {
          "rel": "self",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/sys-rest-api/rest/1/term",
          "name": "term",
          "kind": "collection"
        }
      ]
    }
    object