Create a PM Contract Type
  • 28 Jan 2025
  • 1 Minute to read
  • Dark
    Light

Create a PM Contract Type

  • Dark
    Light

Article summary

Post
/pm-rest-api/rest/1/pmcontracttype

Create Contract Types

UI Location:

Security
HTTP
Type basic

Basic authentication

Header parameters
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourceitem+json
Body parameters
object
Example{ "PmctContractType": "Test Contract", "PmctActiveFlag": "N", "PmctCompCode": "001", "PmctVUuid": "" }
PmctContractType
string Required

Contract Type

Max length30
PmctVUuid
string Required

uuid column for uk on json webservices

Max length64
PmctCompCode
string Required

Company Code

Max length8
PmctActiveFlag
string Required

If unchecked it will not be available to pick from Contract Type drop-down list on JSP PmSubcontract header screen. WO 16.25552

Max length1
PmctCompName
string

Company Name

Max length30
PmctContTypeCode
string

contract type code to be used for subcontract no. generation

Max length10
Responses
201

Created

Headers
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourceitem+json
{
  "PmctActiveFlag": "N",
  "PmctCompCode": "001",
  "PmctCompName": null,
  "PmctContTypeCode": null,
  "PmctContractType": "Test Contract",
  "PmctVUuid": "F32E7ED9C5313D4CE05316821FAC4A22",
  "links": [
    {
      "rel": "self",
      "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/pm-rest-api/rest/1/pmcontracttype/F32E7ED9C5313D4CE05316821FAC4A22",
      "name": "pmcontracttype",
      "kind": "item"
    },
    {
      "rel": "canonical",
      "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/pm-rest-api/rest/1/pmcontracttype/F32E7ED9C5313D4CE05316821FAC4A22",
      "name": "pmcontracttype",
      "kind": "item"
    }
  ]
}
object