Skip to main content

corrective_invoice_debt_operation_associated_objects

Creates, updates, deletes, gets or lists a corrective_invoice_debt_operation_associated_objects resource.

Overview​

Namecorrective_invoice_debt_operation_associated_objects
TypeResource
Idovh.me.corrective_invoice_debt_operation_associated_objects

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
idstring
sub_idstring (wire: subId)
payment_infoobjectThe payment infos linked to this debt entry (wire: paymentInfo)
typestringType of objects an order can be linked to (Bill, DebtOperation, Deposit, Order, OvhAccountMovement, Refund, Withdrawal)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectcorrective_invoice_id, operation_idReturn 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.

NameDatatypeDescription
api_hoststringThe 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_idstring (wire: correctiveInvoiceId)
operation_idinteger (wire: operationId)

SELECT examples​

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
;