Create an SC Detail
  • 06 Jan 2025
  • 1 Minute to read
  • Dark
    Light

Create an SC Detail

  • Dark
    Light

Article summary

Post
/pm-rest-api/rest/1/scsched

Create Subcontract Details

Security
HTTP
Type basic

Basic authentication

Header parameters
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourceitem+json
Body parameters
object
Example{ "ScschCompCode": "001", "ScschJobCode": "15-001", "ScschVenCode": "10TILE", "ScschContCode": "15-001.001", "ScschChgCode": "001", "ScschTaskCode": "1", "ScschPhsCode": "99999", "ScschCatCode": "S", "ScschWmCode": "$", "ScschAmt": 10.0, "ScschVUuid": "" }
ScschTaskCode
string Required

Userdefined task code

💻 UI Fieldname: ScschTaskCode

Max length16
ScschJobCode
string Required

JobCode the subcontract line applies to. Must be either the SCMST_JOB_CODE or a sub-job

💻 UI Fieldname: ScschJobCode

Max length10
ScschPhsCode
string Required

Phasecode. Must be valid for the job

💻 UI Fieldname: ScschPhsCode

Max length16
ScschWmCode
string Required

Weight measure for this line. Must be a valid WM

💻 UI Fieldname: ScschWmCode

Max length2
ScschCatCode
string Required

Category Code. Must be valid for the job/phase

💻 UI Fieldname: ScschCatCode

Max length16
ScschChgCode
string Required

ChangeOrder Code. Must match SCMST_CHG_CODE

💻 UI Fieldname: ScschChgCode

Max length6
ScschAmt
number Required

Thisis the dollar value of this contract line

💻 UI Fieldname: ScschAmt

Max length2218
ScschVUuid
string Required

Unique Row ID. Leave empty

💻 UI Fieldname: ScschVUuid

Max length64
ScschVenCode
string Required

VendorCode. Must match SCMST_VEN_CODE.

💻 UI Fieldname: ScschVenCode

Max length8
ScschCompCode
string Required

CompanySubcontract belongs to. Must be a valid CMiC Company

💻 UI Fieldname: ScschCompCode

Max length8
ScschContCode
string Required

ContractCode. Must match SCMST_CONT_CODE

💻 UI Fieldname: ScschContCode

Max length20
Responses
201

Created

Headers
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourceitem+json
{
  "ScschAmt": 10,
  "ScschApexpCode": null,
  "ScschBillCode": null,
  "ScschCatCode": "S",
  "ScschChgCode": "001",
  "ScschCompCode": "001",
  "ScschComplAmt": null,
  "ScschComplPct": null,
  "ScschComplQty": null,
  "ScschContCode": "15-001.001",
  "ScschCurrHldbkAmt": null,
  "ScschCurrHldbkRlsAmt": null,
  "ScschFullyPurchasedFlag": null,
  "ScschHldbkPct": null,
  "ScschIuCreateDate": null,
  "ScschIuUpdateDate": null,
  "ScschJbBillCode": null,
  "ScschJbContCode": null,
  "ScschJobCode": "15-001",
  "ScschLineChangedFlag": null,
  "ScschLineNum": null,
  "ScschLongDesc": null,
  "ScschLstAmt": null,
  "ScschOraseq": null,
  "ScschOrderNum": null,
  "ScschPhsCode": "99999",
  "ScschPrevCertAmt": null,
  "ScschPrevCertQty": null,
  "ScschPrevHldbkAmt": null,
  "ScschPrevHldbkRlsAmt": null,
  "ScschSiLineNum": null,
  "ScschSiMastJobCode": null,
  "ScschSiNum": null,
  "ScschSiRevisNum": null,
  "ScschSubcontrCode": null,
  "ScschTaskCode": "1",
  "ScschTaskName": null,
  "ScschTax1Code": null,
  "ScschTax1TaxableFlag": null,
  "ScschTax2Code": null,
  "ScschTax2TaxableFlag": null,
  "ScschTax3Code": null,
  "ScschTax3TaxableFlag": null,
  "ScschTax4Code": null,
  "ScschTax4TaxableFlag": null,
  "ScschTax5Code": null,
  "ScschTax5TaxableFlag": null,
  "ScschTendpackLineNum": null,
  "ScschUnit": null,
  "ScschUnitRate": null,
  "ScschVenCode": "10TILE",
  "ScschWbsvCode1": null,
  "ScschWbsvCode2": null,
  "ScschWbsvCode3": null,
  "ScschWbsvCode4": null,
  "ScschWmCode": "$",
  "ScschVUuid": "F34747BF47E44C0FE05316821FAC769E",
  "ScschSeqNumUniqueBySc": 7,
  "links": [
    {
      "rel": "self",
      "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/pm-rest-api/rest/1/scsched/F34747BF47E44C0FE05316821FAC769E",
      "name": "scsched",
      "kind": "item"
    },
    {
      "rel": "canonical",
      "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/pm-rest-api/rest/1/scsched/F34747BF47E44C0FE05316821FAC769E",
      "name": "scsched",
      "kind": "item"
    }
  ]
}
object