Create a Term
- 25 Sep 2024
- 1 Minute to read
- Print
- DarkLight
Create a Term
- Updated on 25 Sep 2024
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
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