Back to Project Sub Contract

POST Method Details for FixedPriceBasicContractValidate.

Create Fixed Price Basic contract for a specified project

Definition

https://app[x].timelog.com/[account name]/api/v{version}/contract/validate-fixed-price-basic-contract

Parameters

  • contractModel object
    • BudgetExpensesAmount number Gets or sets the budget expenses amount
    • BudgetTravelAmount number Gets or sets the budget travel amount
    • BudgetWorkAmount number Gets or sets the budget work amount
    • BudgetWorkHour number Gets or sets the budget work hour
    • CompletionNotificationPercentage number Gets or sets the completion notification percentage
    • ContractName string Gets or sets the contract name
    • ContractOwnerUserID integer Gets or sets the userID of the contract owner
    • ContractStatus integer Gets or sets the contract status
    • ContractTypeID integer Gets or sets the contract type ID
    • HasCompletionNotification boolean Gets or sets whether the contract has completion notification
    • IsDefaultExpenses boolean Gets or sets whether the expenses are default
    • IsExpensesLinked boolean Gets or sets whether the expenses are linked to revenue distribution
    • IsMileageBillable boolean Gets or sets whether the mileage is billable
    • IsTravelLinked boolean Gets or sets whether the travel are linked to revenue distribution
    • PaymentPlanAmount number Gets or sets the payment plan amount
    • ProjectID integer Gets or sets the project ID
    • RevenueExprAmount number Gets or sets the revenue expr amount
    • RevenueTravelAmount number Gets or sets the revenue travel amount
    • TargetHourlyRate number Gets or sets the target hourly rate
    {
      "BudgetExpensesAmount": 0.0,
      "BudgetTravelAmount": 0.0,
      "BudgetWorkAmount": 0.0,
      "BudgetWorkHour": 0.0,
      "CompletionNotificationPercentage": 0.0,
      "ContractName": "",
      "ContractOwnerUserID": 0,
      "ContractStatus": 0,
      "ContractTypeID": 0,
      "HasCompletionNotification": false,
      "IsDefaultExpenses": false,
      "IsExpensesLinked": false,
      "IsMileageBillable": false,
      "IsTravelLinked": false,
      "PaymentPlanAmount": 0.0,
      "ProjectID": 0,
      "RevenueExprAmount": 0.0,
      "RevenueTravelAmount": 0.0,
      "TargetHourlyRate": 0.0
    }
  • version string The requested API version

Returns

  • [200] Contract was validated successfully
  • [401] Invalid authentication token
  • [500] Contract could not be validated
    • Code integer Gets the code.
    • Details array Gets the details.
    • Message string Gets the message.
    • Parameters string Gets the parameters.
    • Url string Gets the URL.
    {
      "Code": 0,
      "Details": "",
      "Message": "",
      "Parameters": "",
      "Url": ""
    }