Vertragslaufzeiten API
Verwenden Sie die API für Vertragsbedingungen, um Bedingungen zu erstellen, zu aktualisieren und zu entfernen.
Die URL für den Zugriff auf Vertragsbedingungen lautet/api/contracts/{id}/contract_terms.
Weitere Informationen finden Sie unter Integrations-Best Practices.
Aktionen
Mit der Vertragslaufzeit-API können Sie:
| Verb | Pfad | Aktion | Beschreibung |
|---|---|---|---|
| BEITRAG | /api/contracts/:contract_id/contract_terms | erstellen | Vertragslaufzeit erstellen |
| ABFRAGEN | /api/contracts/:contract_id/contract_terms | index | Vertragsbedingungen abfragen |
| ABFRAGEN | /api/contracts/:contract_id/contract_terms/:id | anzeigen | Vertragslaufzeit anzeigen |
| PUT | /api/contracts/:contract_id/contract_terms/:id | aktualisieren | Vertragslaufzeit aktualisieren |
Elemente
Die folgenden Elemente sind für die Vertragsbedingungen-API verfügbar:
| Element | Beschreibung | Pflichtfeld? | Eindeutig? | Zulässiger Wert | Api_In Field? | Api_Out-Feld? | Datentyp |
|---|---|---|---|---|---|---|---|
| vertragslaufzeit-Art | contract_term_type | ja | PerOrderContractTerm, TotalQtyContractTerm, TotalAmtContractTerm | ja | |||
| created-at | Automatisch von Coupa erstellt im Format JJJJ-MM-TTTHH:MM:SS+HH:MMZ | ja | datum/Uhrzeit | ||||
| erstellt von | Benutzer der Erstellung | ja | Benutzer | ||||
| iD | Eindeutige Coupa-ID | ja | ganze Zahl | ||||
| name | name | ja | ja | ja | zeichenfolge | ||
| tier-10-disc-pct | tier_10_disc_pct | ja | ja | dezimalzahl | |||
| tier-10-obere gebundene | tier_10_upper_bound | ja | ja | dezimalzahl | |||
| tier-11-disc-pct | tier_11_disc_pct | ja | ja | dezimalzahl | |||
| tier-11-obere gebunden | tier_11_upper_bound | ja | ja | dezimalzahl | |||
| tier-12-disc-pct | tier_12_disc_pct | ja | ja | dezimalzahl | |||
| tier-12-obere gebunden | tier_12_upper_bound | ja | ja | dezimalzahl | |||
| tier-13-disc-pct | tier_13_disc_pct | ja | ja | dezimalzahl | |||
| tier-13-obere-gebundene | tier_13_upper_bound | ja | ja | dezimalzahl | |||
| tier-14-disc-pct | tier_14_disc_pct | ja | ja | dezimalzahl | |||
| tier-14-upper-bound | tier_14_upper_bound | ja | ja | dezimalzahl | |||
| tier-15-disc-pct | tier_15_disc_pct | ja | ja | dezimalzahl | |||
| tier-15-obere-gebundene | tier_15_upper_bound | ja | ja | dezimalzahl | |||
| tier-16-disc-pct | tier_16_disc_pct | ja | ja | dezimalzahl | |||
| tier-16-obere-gebundene | tier_16_upper_bound | ja | ja | dezimalzahl | |||
| tier-17-disc-pct | tier_17_disc_pct | ja | ja | dezimalzahl | |||
| tier-17-obere gebunden | tier_17_upper_bound | ja | ja | dezimalzahl | |||
| tier-18-disc-pct | tier_18_disc_pct | ja | ja | dezimalzahl | |||
| tier-18-obere-gebundene | tier_18_upper_bound | ja | ja | dezimalzahl | |||
| tier-19-disc-pct | tier_19_disc_pct | ja | ja | dezimalzahl | |||
| tier-19-obere-gebundene | tier_19_upper_bound | ja | ja | dezimalzahl | |||
| tier-1-disc-pct | tier_1_disc_pct | ja | ja | dezimalzahl | |||
| tier-1-obere-gebundene | tier_1_upper_bound | ja | ja | ja | dezimalzahl | ||
| tier-20-disc-pct | tier_20_disc_pct | ja | ja | dezimalzahl | |||
| tier-20-obere-gebundene | tier_20_upper_bound | ja | ja | dezimalzahl | |||
| tier-2-disc-pct | tier_2_disc_pct | ja | ja | dezimalzahl | |||
| tier-2-Obergrenze | tier_2_upper_bound | ja | ja | dezimalzahl | |||
| tier-3-disc-pct | tier_3_disc_pct | ja | ja | dezimalzahl | |||
| tier-3-Obergrenze | tier_3_upper_bound | ja | ja | dezimalzahl | |||
| tier-4-disc-pct | tier_4_disc_pct | ja | ja | dezimalzahl | |||
| tier-4-Obergrenze | tier_4_upper_bound | ja | ja | dezimalzahl | |||
| tier-5-disc-pct | tier_5_disc_pct | ja | ja | dezimalzahl | |||
| tier-5-Obergrenze | tier_5_upper_bound | ja | ja | dezimalzahl | |||
| tier-6-disc-pct | tier_6_disc_pct | ja | ja | dezimalzahl | |||
| tier-6-Obergrenze | tier_6_upper_bound | ja | ja | dezimalzahl | |||
| tier-7-disc-pct | tier_7_disc_pct | ja | ja | dezimalzahl | |||
| tier-7-obere gebundene | tier_7_upper_bound | ja | ja | dezimalzahl | |||
| tier-8-disc-pct | tier_8_disc_pct | ja | ja | dezimalzahl | |||
| tier-8-obere gebundene | tier_8_upper_bound | ja | ja | dezimalzahl | |||
| tier-9-disc-pct | tier_9_disc_pct | ja | ja | dezimalzahl | |||
| stufe-9-obere-gebundene | tier_9_upper_bound | ja | ja | dezimalzahl | |||
| typ | typ | ja | zeichenfolge | ||||
| updated-at | Automatisch von Coupa erstellt im Format JJJJ-MM-TTTHH:MM:SS+HH:MMZ | ja | datum/Uhrzeit | ||||
| aktualisiert von | Benutzer der Aktualisierung | ja | Benutzer | ||||
| use-pct-rabatte | use_pct_discounts | ja | ja | boolean | |||