BulkCostCode

Creates multiple cost codes.

Creates multiple cost codes (up to 100), using its code as a unique identifier on the specified job and business unit.

For help with authorization, please visit https://developer.hcssapps.com/getting-started/request-tokens

Securitybearer
Request
Request Body schema: application/json
required

The list of cost code.

Array ([ 1 .. 100 ] items)
code
required
string

Gets the cost code code. This is a required field.

businessUnitCode
required
string

Gets the business unit. This is a required field.

jobCode
required
string

Gets job code. This is a required field.

id
string or null <uuid>

The Id of the cost code.

quantity
number or null <double>

The quantity.

description
string or null

The cost code description.

unitOfMeasurement
string or null

The unit of measure.

laborHours
number or null <double>

The labor hours.

equipmentHours
number or null <double>

The equipment hours.

laborDollars
number or null <double>

The labor cost.

equipmentDollars
number or null <double>

The equipment cost.

materialDollars
number or null <double>

The material cost.

subcontractDollars
number or null <double>

The subcontract cost.

supplyDollars
number or null <double>

The supply cost.

Array of objects or null (DisTag)

The cost code tags.

status
string or null

The cost code status. Items Enum: "A" for Active, "C" for Completed, "I" for Inactive

accountingCode
string or null

The accounting code.

category
string or null

"Category" accounting field.

criticalPathMethod
string or null

"CPM Code" accounting field.

generalLedgerAccount
string or null

"GL Acct" accounting field.

subJob
string or null

"Sub-Job" accounting field.

workBreakdownStructureCode
string or null

"WBS Code" accounting field.

note
string or null

The cost code note.

estimateResources
string or null

The estimate resources.

historyCode
string or null

The historical activity code.

historicalBidItem
string or null

The historical bid item.

heavyBidEstimateCode
string or null

The HeavyBid estimate code.

isTM
boolean or null

The flag indicating whether the cost code is a time-and-material item.

workType
string or null

The work type.

payItemNumber
string or null

The pay item number.

payItemFactor
number or null <double>

Any costs contributed by this cost code are multiplied by this factor before being applied to its parent pay item.

isPayItemDriver
boolean or null

Whether this cost code contributes to the cost of its parent pay item.

accountingTemplateName
string or null

The accounting template name.

isCapExpected
boolean or null

The flag indicating whether to set the cost code to cap expected.

isHiddenFromMobile
boolean or null

The flag indicating whether cost code is hidden from mobile.

Responses
204

No Content

post/api/v1/CostCode/bulk
Request samples
application/json
[
  • {
    }
]