Skip to main content

Partially update subcontract

PATCH 

/api/v2/Contracts/Subcontracts/:key

Partially update subcontract

Request

Path Parameters

    key stringrequired

    Guid or ExternalKey

Body

required

    Namestringnullable

    Possible values: <= 250 characters

    Codestringnullable

    Possible values: <= 15 characters

    Contractguid
    Descriptionstringnullable

    Possible values: <= 500 characters

    EndDatedate-timenullable

    Billable

    object

    nullable

    oneOf

    string

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

    Notestringnullable
    HoursPlannedint64nullable
    CustomFieldsobjectnullable
    Example: {"MyCustomField":"value","MyNestedObject":{"MyNestedProperty":"value"}}
    ExternalKeystringnullable

    Possible values: <= 100 characters

    Statesstring[]nullable
    ResponsiblePersonguidnullable
    CompletionDatedate-timenullable

Responses

Success