POST Method Details for CreatePayment.
Create payment for contract
Definition
https://app[x].timelog.com/[account name]/api/v{version}/payment
Parameters
-
createModel object
- Amount number Gets or sets the amount
- Comment string Gets or sets the comment
- DiscountPercentage number Gets or sets the discount
- InvoiceDate string Gets or sets the invoice date
- IsFixedPricePayment boolean Gets or sets a value indicating whether the payment is fixed price
- IsReadyForInvoicing boolean Gets or sets a value indicating whether this instance is ready for invoicing
- Name string Gets or sets the name
- ProductNumber string Gets or sets the product number
- ProjectID integer Gets or sets the project ID
- ProjectSubContractID integer Gets or sets the project sub contract ID
- Quantity number Gets or sets the quantity
- TaskID integer Gets or sets the task ID
- UnitType integer Gets or sets the unit type
- version string The requested API version
Returns
- [200] Payment was created successfully
- [401] Invalid authentication token
-
[500] Payment 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.