1a Subcontracts

post

/api/v1/import/insert-contracts

This API allows the user to import subcontract(s), using a unique combination of the parameters: ContractNumber, VendorID, and Project. In order for subcontracts to be created, a project must exist prior to subcontract creation. If the subcontract does not exist in Texura, Textura will create a new subcontract with the specified values. If the subcontract does exist in Textura and if the subcontract has not been completed (accepted by the subcontractors), the existing subcontract will be replaced with the subcontract import data.

The successful import of a subcontract involves a structured approach that consists of two key elements: subcontract specifications and subcontract component specifications. Subcontract specifications outline the general requirements and terms associated with identifying the subcontract to be made, while subcontract component specifications provide more detailed budgetline information for the subcontract. When navigating the parameters associated with this API, it is important to recognize that the components parameter is an array that contains multiple sub-parameters. This array is allows the user to define budgetline information as well as detail unit billing information. For further clarification on the components parameter and general payload syntax, users are encouraged to review the request body section and to refer to the payload examples.

Request

Header Parameters
Supported Media Types
Request Body - application/json ()
  • application/json
Root Schema : schema
Type: object
Show Source
Nested Schema : Components
Type: array
Subcontract components.
Show Source
Nested Schema : Components
Type: object
Show Source
  • Cost code / WBS code.
  • A code used to categorize cost elements within a project.
  • Base amount for the subcontract component amount line item.
  • Subcontract component description.
  • Line-level retention for this component. Allowed retention percentage for this sov line, default to header record value if there is only one retention rate on this subcontract.
  • Enumeration values for this field are WORK, MATERIAL, ONSITE, OFFSITE and STANDARD. The ComponentType options MUST be lower-case and not be left as an empty string. Default is null if the ComponentType is omitted value automatically will be set to STANDARD.
  • Maximum Length: 500
    Denotes the identification number of the contract, for a project.
    Example: 17011S057
  • Maximum Length: 300
    The project that the imported subcontract will be written into.
    Example: 01-17011
  • Phase code from the prime contract schedule of values. Used to automatically assign detail line to a phase code on the prime contract schedule of value used to create owner invoices.
  • Subcontract component item number. Will be used to post invoices against the specific subcontract line.
  • Maximum Length: 60
    This denotes the identification number of the subcontract or purchase order number, for a project.
    Example: 17011
  • Task sequence.
  • Tax code to be used on invoices / payments. Each tax code should represent a specific tax rate.
  • Unit of measurement for the component. These can be any category of measurement, but if the user keeps this value blank the value will default to EACH.
  • Price set for each unit, per unit measurement. If the subcontract does not use unit billing, this price defaults to the value of 1.
  • Quantity of the units for unit billing. If the subcontract does not use unit billing, the value defaults to the same value as ComponentAmount.
  • Maximum Length: 200
    A subcontractor can be assigned a Vendor ID for subcontracts, allowing for easier identification in subcontract usage.
    Example: RON095
Examples

Back to Top

Response

Supported Media Types

200 Response

The job was successfully created.
Body ()
Root Schema : schema
Type: object
Show Source
  • Endpoint for job-audit retrieval
    Example: https://services.texturacorp.com/ebis/api/v1/import/insert-contracts/61
Examples

Default Response

Links to working URLs
Back to Top