corrective_invoice_debt_operation_associated_objects
Creates, updates, deletes, gets or lists a corrective_invoice_debt_operation_associated_objects resource.
Overview​
| Name | corrective_invoice_debt_operation_associated_objects |
| Type | Resource |
| Id | ovh.me.corrective_invoice_debt_operation_associated_objects |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
id | string | |
sub_id | string | (wire: subId) |
payment_info | object | The payment infos linked to this debt entry (wire: paymentInfo) |
type | string | Type of objects an order can be linked to (Bill, DebtOperation, Deposit, Order, OvhAccountMovement, Refund, Withdrawal) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | corrective_invoice_id, operation_id | Return main data about the object related to this debt operation |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}}) |
corrective_invoice_id | string | (wire: correctiveInvoiceId) |
operation_id | integer | (wire: operationId) |
SELECT examples​
- get
Return main data about the object related to this debt operation
SELECT
id,
sub_id,
payment_info,
type
FROM ovh.me.corrective_invoice_debt_operation_associated_objects
WHERE corrective_invoice_id = '{{ corrective_invoice_id }}' -- required
AND operation_id = '{{ operation_id }}' -- required
;