Skip to main content

Update subcontract

PUT 

/api/v2/Contracts/Subcontracts/:key

Update subcontract

Request

Path Parameters

    key stringrequired

    Guid or ExternalKey

Body

required

    Namestringnullablerequired

    Possible values: <= 250 characters

    Codestringnullable

    Possible values: <= 15 characters

    Contractguidrequired
    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

Successfully Updated

Schema

    Guidguidnullable