Skip to main content

Create new subcontract

POST 

/api/v2/Contracts/Subcontracts

Create new subcontract

Request

Body

required

    Name stringnullablerequired

    Possible values: <= 250 characters

    Code stringnullable

    Possible values: <= 15 characters

    Contract guidrequired
    Description stringnullable

    Possible values: <= 500 characters

    EndDate date-timenullable

    Billable

    object

    nullable

    oneOf

    string

    Possible values: [None, Billable, ChangeAllowed, BillableChangeAllowed]

    Note stringnullable
    HoursPlanned int64nullable
    CustomFields objectnullable
    Example: {"MyCustomField":"value","MyNestedObject":{"MyNestedProperty":"value"}}
    ExternalKey stringnullable

    Possible values: <= 100 characters

    States string[]nullable
    ResponsiblePerson guidnullable
    CompletionDate date-timenullable

Responses

Successfully Inserted

Schema

    Guid guidnullable
    ExternalKey stringnullable
Loading...