POST Method Details for TimeMaterialBasicContractCreate.
Create Time and Material Basic contract for a specified project
Definition
https://app[x].timelog.com/[account name]/api/v{version}/contract/create-time-material-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
- HasBudgetOverrunNotification boolean Gets or sets whether the contract has budget overrun notification
- HasCompletionNotification boolean Gets or sets whether the contract has completion notification
- IsDefaultExpenses boolean Gets or sets whether the expenses are default
- IsMileageBillable boolean Gets or sets whether the mileage is billable
- ProjectID integer Gets or sets the project ID
- version string The requested API version
Returns
- [200] Contract was created successfully
- [401] Invalid authentication token
-
[500] Contract could not be created
- 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.