Create a Term
    • 25 Sep 2024
    • 1 Minute to read
    • Dark
      Light

    Create a Term

    • Dark
      Light

    Article summary

    Post
    /sys-rest-api/rest/1/term

    Create Terms

    Security
    HTTP
    Type basic

    Basic authentication

    Header parameters
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceItem+json
    Body parameters
    object
    Example{ "TermCode": "TEST", "TermCompCode": "001", "TermDueDay": "30", "TermDiscDay": "10", "TermVUuid": "" }
    TermCompCode
    string Required

    Company Code. Must be a valid CMIC Company Code.

    TermVUuid
    string

    Unique identifier. Leave blank.

    TermCode
    string Required

    Term Code

    TermDueDay
    number

    Number of days when the payment is due. Required if TermDueModay is left blank.

    TermDiscDay
    number

    Number of days the discount is applicable. Required if TermDiscMonthDay is left blank

    Responses
    201

    Created

    Headers
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceitem+json
    {
      "TermCompCode": "001",
      "TermCode": "TEST",
      "TermName": null,
      "TermCtrlCode": null,
      "TermDueModay": null,
      "TermDueDay": 30,
      "TermDiscMonthDay": null,
      "TermDiscDay": 10,
      "TermPc": null,
      "TermHldbkPc": null,
      "TermSubmitDays": null,
      "TermPayNoticeDays": null,
      "TermFinalPayDays": null,
      "TermPaylessNoticeDays": null,
      "TermVUuid": "F38FF8B11D286C84E05316821FAC63BD",
      "links": [
        {
          "rel": "self",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/sys-rest-api/rest/1/term/F38FF8B11D286C84E05316821FAC63BD",
          "name": "term",
          "kind": "item"
        },
        {
          "rel": "canonical",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/sys-rest-api/rest/1/term/F38FF8B11D286C84E05316821FAC63BD",
          "name": "term",
          "kind": "item"
        }
      ]
    }
    object