Create a Weight Measure
  • 06 Jan 2025
  • 1 Minute to read
  • Dark
    Light

Create a Weight Measure

  • Dark
    Light

Article summary

Post
/sys-rest-api/rest/1/weightmeasure

Create Weight Measures

UI Location: System Data - Global Tables - Weight Measure

Security
HTTP
Type basic

Basic authentication

Header parameters
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourceItem+json
Body parameters
object
Example{ "WmCode": "T", "WmName": "Test Unit" }
WmCode
string Required

Code

💻 UI Fieldname: Code

Max length2
WmName
string

Name

💻 UI Fieldname: Name

Max length10
Responses
201

Created

Headers
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourceitem+json
{
  "WmCode": "T",
  "WmName": "Test Unit",
  "links": [
    {
      "rel": "self",
      "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/sys-rest-api/rest/1/weightmeasure/T",
      "name": "weightmeasure",
      "kind": "item"
    },
    {
      "rel": "canonical",
      "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/sys-rest-api/rest/1/weightmeasure/T",
      "name": "weightmeasure",
      "kind": "item"
    }
  ]
}
object