Back to Contract Hourly Rate

POST Method Details for ValidateHourlyRate.

Validate hourly rate. The hourly rate will only be created if an existing standard hourly rate on same amount and name does not exist. If a new hourly rate is created it will be of the type/category passed in the model.

Definition

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

Parameters

  • contractHourlyRateModel object
    • ContractHourlyRateCreateCategory integer
    • ContractHourlyRateName string Gets or set the new hourly rate name
    • ContractHourlyRateValue number Gets or set the value of the hourly rate
    • ProductNo string Gets or set the product no. for the hourly rate
    • ProjectId integer Gets or set the projectId for the entity
    • ProjectSubContractId integer Gets or set the ProjectSubContractId for the entity
    {
      "ContractHourlyRateCreateCategory": 0,
      "ContractHourlyRateName": "",
      "ContractHourlyRateValue": 0.0,
      "ProductNo": "",
      "ProjectId": 0,
      "ProjectSubContractId": 0
    }
  • version string The requested API version

Returns

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