Create an SC Header
  • 06 Jan 2025
  • 2 Minutes to read
  • Dark
    Light

Create an SC Header

  • Dark
    Light

Article summary

Post
/pm-rest-api/rest/1/scmast

Create Subcontract Headers

Security
HTTP
Type basic

Basic authentication

Header parameters
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourceitem+json
Body parameters
object
Example{ "ScmstCompCode": "001", "ScmstJobCode": "16-001", "ScmstVenCode": "0415", "ScmstContCode": "16-001.001", "ScmstChgCode": "000", "ScmstCurrCode": "USD", "ScmstSubcontrCode": "NONE", "ScmstName": "test", "ScmstBankDept": "00", "ScmstBankAccount": "10001", "ScmstVUuid": "" }
ScmstCompCode
string Required

TheCMiC company code to which the subcontract belongs. This is the same company as the Job the Contract was awarded on. This must be a VALID CMiC company code.

πŸ’» UI Fieldname: ScmstCompCode

Max length8
ScmstContCode
string Required

This is the Contract Number. This is a mandatory field.

πŸ’» UI Fieldname: ScmstContCode

Max length20
ScmstCurrCode
string Required

This field is the currency code of the subcontract. This must be a VALID CMiC Currency Code

πŸ’» UI Fieldname: ScmstCurrCode

Max length3
ScmstSubcontrCode
string Required

ForConversion set to β€˜NONE’

πŸ’» UI Fieldname: ScmstSubcontrCode

Max length20
ScmstName
string Required

Thisfield is the description of the contract

πŸ’» UI Fieldname: ScmstName

Max length200
ScmstBankAccount
string

Bank Account

πŸ’» UI Fieldname: ScmstBankAccount

Max length16
ScmstVenCode
string Required

This is the code used for the vendor the contract was awarded to. This must be a valid CMiC Vendor Code for the Company entered in SCMST_COMP_CODE.

πŸ’» UI Fieldname: ScmstVenCode

Max length8
ScmstVUuid
string

Unique Row ID. Leave empty

πŸ’» UI Fieldname: ScmstVUuid

ScmstChgCode
string Required

This is the change order number. If the contract being entered is the original contract, then this number must be β€˜000’ otherwise set it to the change order number. (pad the number with zeros, i.e. β€˜001’,’002’…)

πŸ’» UI Fieldname: ScmstChgCode

Max length6
ScmstJobCode
string Required

JobCode, as assigned on the Project.

πŸ’» UI Fieldname: ScmstJobCode

Max length10
ScmstBankDept
string Required

Department of Cash Bank Account

πŸ’» UI Fieldname: ScmstBankDept

Max length6
Responses
201

Created

Headers
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourceitem+json
{
  "CChangeDesc": null,
  "CNewRevisedDesc": null,
  "COriginalDesc": null,
  "CRecievedDesc": null,
  "CTitle1": null,
  "CTitle2": null,
  "CTitle3": null,
  "CTitle4": null,
  "CUnpostedDesc": null,
  "PartnTypeCode": null,
  "PostOverrideFlag": null,
  "ScmstAbbrevPartnCode": null,
  "ScmstAcctDescription": null,
  "ScmstActionCode": null,
  "ScmstAltVenAddCode": null,
  "ScmstAppCode": null,
  "ScmstArAmt": null,
  "ScmstBankAccount": "10001",
  "ScmstBankDept": "00",
  "ScmstBillCode": null,
  "ScmstCashAmt": null,
  "ScmstCdiFlag": null,
  "ScmstChgCode": "000",
  "ScmstChqHandleCode": null,
  "ScmstCloseDate": null,
  "ScmstClvValueCode1": null,
  "ScmstClvValueCode2": null,
  "ScmstClvValueCode3": null,
  "ScmstClvValueCode4": null,
  "ScmstClvValueCode5": null,
  "ScmstClvValueCode6": null,
  "ScmstCmBudrCode": null,
  "ScmstCmChgCode": null,
  "ScmstCmCompCode": null,
  "ScmstCmJobCode": null,
  "ScmstCompCode": "001",
  "ScmstComplFlag": null,
  "ScmstContAmt": null,
  "ScmstContCode": "16-001.001",
  "ScmstContType": null,
  "ScmstContactCode": null,
  "ScmstContactName": null,
  "ScmstCorrespAddCode": null,
  "ScmstCreateContOnFlyFlag": null,
  "ScmstCurcFactorNum": null,
  "ScmstCurrCode": "USD",
  "ScmstCurrName": null,
  "ScmstDate": null,
  "ScmstDefaultTaxesFlag": null,
  "ScmstDesc": null,
  "ScmstDfltAmt": null,
  "ScmstDfltCatCode": null,
  "ScmstDfltPhsCode": null,
  "ScmstDoNotExceedAmt": null,
  "ScmstEndDate": null,
  "ScmstExecutedDate": null,
  "ScmstGcsPayRequestFlag": null,
  "ScmstGstAmt": null,
  "ScmstGstPc": null,
  "ScmstHldbkPc": null,
  "ScmstHldbkPcRule": null,
  "ScmstHldbkRlsFromSc": null,
  "ScmstHoldPaymentDays": null,
  "ScmstHoldPaymentFlag": null,
  "ScmstImpactDays": null,
  "ScmstInvEntryState": null,
  "ScmstInvHldbkTaxFlag": null,
  "ScmstIssuedDate": null,
  "ScmstIuCreateDate": null,
  "ScmstIuUpdateDate": null,
  "ScmstJobCode": "16-001",
  "ScmstJobCtrlCode": null,
  "ScmstMainChgCode": null,
  "ScmstMainContCode": null,
  "ScmstMainVenCode": null,
  "ScmstName": "test",
  "ScmstNonCreditInclTaxAmt": null,
  "ScmstNonCreditTaxAmt": null,
  "ScmstOrigBidpAmt": null,
  "ScmstOrigBidpOraseq": null,
  "ScmstOvrrideNotExceedFlag": null,
  "ScmstOverrideFlag": null,
  "ScmstPbContCode": null,
  "ScmstPbCustCode": null,
  "ScmstPostBatch": null,
  "ScmstPostDate": null,
  "ScmstPreferedQuoteFlag": null,
  "ScmstPrintedCoFlag": null,
  "ScmstProjOraseq": null,
  "ScmstRating": null,
  "ScmstRctReferenceNum": null,
  "ScmstReceivedDate": null,
  "ScmstRecipientEmail": null,
  "ScmstRevBatch": null,
  "ScmstRevDate": null,
  "ScmstScControlAmt": null,
  "ScmstSchedExistsFlag": null,
  "ScmstScheduleFlag": null,
  "ScmstScopeDesc": null,
  "ScmstScschLastSeqNumUsed": null,
  "ScmstSelfBilledFlag": null,
  "ScmstSenderEmail": null,
  "ScmstSepVouPerJobFlag": null,
  "ScmstSrcCode": null,
  "ScmstStartDate": null,
  "ScmstStatCode": null,
  "ScmstStatusCode": null,
  "ScmstSubcontrCode": "NONE",
  "ScmstSubcontractorChgCode": null,
  "ScmstTax1Code": null,
  "ScmstTax2Code": null,
  "ScmstTax3Code": null,
  "ScmstTermCode": null,
  "ScmstTermName": null,
  "ScmstTexturaFlag": null,
  "ScmstUser": null,
  "ScmstUserPrvlgFlag": null,
  "ScmstVenCode": "0415",
  "ScmstVenName": null,
  "ScmstVUuid": "F34747BF47E14C0FE05316821FAC769E",
  "ScmstDepositAmt": null,
  "ScmstDepositApprovalDate": null,
  "ScmstDepositPct": null,
  "links": [
    {
      "rel": "self",
      "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/pm-rest-api/rest/1/scmast/F34747BF47E14C0FE05316821FAC769E",
      "name": "scmast",
      "kind": "item"
    },
    {
      "rel": "canonical",
      "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/pm-rest-api/rest/1/scmast/F34747BF47E14C0FE05316821FAC769E",
      "name": "scmast",
      "kind": "item"
    },
    {
      "rel": "enclosure",
      "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/pm-rest-api/rest/1/scmast/F34747BF47E14C0FE05316821FAC769E/enclosure/ScmstCommentLong",
      "name": "ScmstCommentLong",
      "kind": "other"
    }
  ]
}
object