GET Method Details for GetByID.
Get a contract by contract ID
Definition
https://app[x].timelog.com/[account name]/api/v{version}/contract/{contractID}
Parameters
- contractID integer Contract ID
- version string The requested API version
Returns
-
[200] A contract
- ContractGuid string Gets or sets the contract GUID
- ContractID integer Gets or sets the contract ID
- ContractModelType integer Gets or sets the contract model type
- ContractName string Gets or sets the contract name
- ContractStatus integer Gets or sets the contract status
- ContractTypeID integer
- ContractTypeName string
- IsDefaultExpenses boolean Gets or sets whether the expenses are default
- IsMainContract boolean Gets or sets whether the contract is a main contract
- IsMileageBillable boolean Gets or sets whether the mileage is billable
- ProjectID integer Gets or sets the project ID
- [401] Invalid authentication token
-
[500] Contract with the ID does not exist
- 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.