Create a PCI Type
  • 27 Feb 2025
  • 1 Minute to read
  • Dark
    Light

Create a PCI Type

  • Dark
    Light

Article summary

Post
/cm-rest-api/rest/1/cmtype

Create PCI Types

UI Location: Project Controls - Change Management - Local Tables - PCI Types

Security
HTTP
Type basic

Basic authentication

Header parameters
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourceItem+json
Body parameters
object
Example{ "CmtCompCode": "001", "CmtTypeCode": "TEST", "CmtName": "Test Type", "CmtClassCode": "T", "CmtChgOrdNumberMask": "TEST****", "CmtAllowCostsFlag": "N", "CmtVUuid": "" }
CmtAllowCostsFlag
string Required

allow user to code cost against a pci. pci must be setup as a wbs code.

💻 UI Fieldname: Allow Costs

Max length1
CmtClassCode
string Required

Class Code

💻 UI Fieldname: Class

Max length1
CmtCompCode
string Required

Company Code

Max length8
CmtVUuid
string Required

Unique Row ID

Max length64
CmtTypeCode
string Required

Type Code

💻 UI Fieldname: * Type

Max length4
CmtChgOrdNumberMask
string Required

PCI numbering mask field.

💻 UI Fieldname: * PCI Number Mask

Max length11
CmtName
string Required

Type Name

💻 UI Fieldname: * Name

Max length30
CmtIuUpdateDate
string
CmtIuCreateUser
string
Max length30
CmtIuCreateDate
string
DiscriminatorCode
string
CmtTenantId
string
Max length30
CmtNotAllowBillAmtFlag
string

Not Allow Billing Amount Flag.

💻 UI Fieldname: Not Allow Billi Amt Flag

Max length1
CmtPciMaskOverrideFlag
string

Flag to mention if autogenerated PCI number is editable on creation of new PCI.

💻 UI Fieldname: Override Flag

Max length1
CmtIuUpdateUser
string
Max length30
Responses
201

Created

Headers
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourceitem+json
{
  "CmtAllowCostsFlag": "N",
  "CmtChgOrdNumberMask": "TEST****",
  "CmtClassCode": "T",
  "CmtCompCode": "001",
  "CmtIuCreateDate": null,
  "CmtIuCreateUser": null,
  "CmtIuUpdateDate": null,
  "CmtIuUpdateUser": null,
  "CmtName": "Test Type",
  "CmtNotAllowBillAmtFlag": null,
  "CmtPciMaskOverrideFlag": null,
  "CmtTenantId": null,
  "CmtTypeCode": "TEST",
  "CmtVUuid": "F3A44BEF969416FAE05316821FACB7F1",
  "DiscriminatorCode": null,
  "links": [
    {
      "rel": "self",
      "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/cm-rest-api/rest/1/cmtype/F3A44BEF969416FAE05316821FACB7F1",
      "name": "cmtype",
      "kind": "item"
    },
    {
      "rel": "canonical",
      "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/cm-rest-api/rest/1/cmtype/F3A44BEF969416FAE05316821FACB7F1",
      "name": "cmtype",
      "kind": "item"
    }
  ]
}
object