Skip to main content

Update contract

PUT 

/api/v2/Contracts/:key

Update contract

Request

Path Parameters

    key stringrequired

    Guid or ExternalKey

Body

required

    Name stringrequired

    Possible values: non-empty and <= 250 characters

    Code stringnullable

    Possible values: <= 15 characters

    StartDate datenullable
    EndDate datenullable
    Description stringnullable

    Possible values: <= 500 characters

    Billable

    object

    nullable

    oneOf

    string

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

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

    Possible values: <= 100 characters

    Note stringnullable
    States string[]nullable
    ContactPerson stringnullable

    Possible values: <= 50 characters

    ContactPhone stringnullable

    Possible values: <= 30 characters

    ContactEmail stringnullable

    Possible values: <= 65 characters

    CompletionDate date-timenullable
    ResponsiblePerson guidnullable
    Customer guidnullable
    Branch guidnullable

Responses

Successfully Updated

Schema

    Guid guidnullable
Loading...