Skip to main content

Create new contract

POST 

/api/v2/Contracts

Create new contract

Request

Body

required

    Namestringrequired

    Possible values: non-empty and <= 250 characters

    Codestringnullable

    Possible values: <= 15 characters

    StartDatedatenullable
    EndDatedatenullable
    Descriptionstringnullable

    Possible values: <= 500 characters

    Billable

    object

    nullable

    oneOf

    string

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

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

    Possible values: <= 100 characters

    Notestringnullable
    Statesstring[]nullable
    ContactPersonstringnullable

    Possible values: <= 50 characters

    ContactPhonestringnullable

    Possible values: <= 30 characters

    ContactEmailstringnullable

    Possible values: <= 65 characters

    CompletionDatedate-timenullable
    ResponsiblePersonguidnullable
    Customerguidnullable
    Branchguidnullable

Responses

Successfully Inserted

Schema

    Guidguidnullable
    ExternalKeystringnullable