Create an SC Detail
- 25 Sep 2024
- 1 Minute to read
- Print
- DarkLight
Create an SC Detail
- Updated on 25 Sep 2024
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
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
ScschJobCode
string Required
JobCode the subcontract line applies to. Must be either the SCMST_JOB_CODE or a sub-job
ScschPhsCode
string Required
Phasecode. Must be valid for the job
ScschWmCode
string Required
Weight measure for this line. Must be a valid WM
ScschCatCode
string Required
Category Code. Must be valid for the job/phase
ScschChgCode
string Required
ChangeOrder Code. Must match SCMST_CHG_CODE
ScschAmt
number Required
Thisis the dollar value of this contract line
ScschVUuid
string Required
Unique Row ID. Leave empty
ScschVenCode
string Required
VendorCode. Must match SCMST_VEN_CODE.
ScschCompCode
string Required
CompanySubcontract belongs to. Must be a valid CMiC Company
ScschContCode
string Required
ContractCode. Must match SCMST_CONT_CODE
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