Create a JC Job Master Phase/Cost Code
    • 25 Sep 2024
    • 1 Minute to read
    • Dark
      Light

    Create a JC Job Master Phase/Cost Code

    • Dark
      Light

    Article summary

    Post
    /jc-rest-api/rest/1/jcmastercostcodes

    Create Job Master Phases

    Security
    HTTP
    Type basic

    Basic authentication

    Header parameters
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceitem+json
    Body parameters
    object
    Example{ "PhsCompCode": "001", "PhsCode": "015321", "PhsName": "Test job", "PhsCtrlCode": "02", "PhsWmCode": "$", "PhsVUuid": "" }
    PhsWmCode
    string Required

    Unitof measure for this phase.

    PhsVUuid
    PhsName
    string Required

    Phasename

    PhsCtrlCode
    string Required

    Controllingphase code, or 'ALL' if PHS_CODE is at the top of the hierarchy.

    PhsCode
    string Required

    PhaseCode

    PhsCompCode
    string Required

    CompanyCode

    Responses
    201

    Created

    Headers
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceitem+json
    {
      "PhsActiveFlag": null,
      "PhsAddedOnTheFlyFlg": null,
      "PhsAltCode": null,
      "PhsCode": "015321",
      "PhsCompCode": "001",
      "PhsCompName": null,
      "PhsCtrlCode": "02",
      "PhsCtrlName": null,
      "PhsDefaultWcbCode": null,
      "PhsFirstSegmValue": null,
      "PhsHasLowerLevelPhases": null,
      "PhsHier": null,
      "PhsIuCreateDate": null,
      "PhsIuUpdateDate": null,
      "PhsMasterFlag": null,
      "PhsName": "Test job",
      "PhsProgramName": null,
      "PhsRowid": null,
      "PhsSpecialityFlag": null,
      "PhsTypeCode": null,
      "PhsWbsvCode1": null,
      "PhsWbsvCode2": null,
      "PhsWbsvCode3": null,
      "PhsWbsvCode4": null,
      "PhsWbsvEditableFlag1": null,
      "PhsWbsvEditableFlag2": null,
      "PhsWbsvEditableFlag3": null,
      "PhsWbsvEditableFlag4": null,
      "PhsWbsvRequiredFlag1": null,
      "PhsWbsvRequiredFlag2": null,
      "PhsWbsvRequiredFlag3": null,
      "PhsWbsvRequiredFlag4": null,
      "PhsWmCode": "$",
      "PhsWmName": null,
      "PhsVUuid": "F2F020D31BCB3255E05316821FAC577A",
      "links": [
        {
          "rel": "self",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/jc-rest-api/rest/1/jcmastercostcodes/F2F020D31BCB3255E05316821FAC577A",
          "name": "jcmastercostcodes",
          "kind": "item"
        },
        {
          "rel": "canonical",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/jc-rest-api/rest/1/jcmastercostcodes/F2F020D31BCB3255E05316821FAC577A",
          "name": "jcmastercostcodes",
          "kind": "item"
        }
      ]
    }
    object