Skip to main content

Update subcontract

PUT 

/api/v2/Contracts/Subcontracts/:key

Update subcontract

Request

Path Parameters

    key stringrequired

    Guid or ExternalKey

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 Updated

Schema

    Guid guidnullable
Loading...