Table of Contents | ||||
---|---|---|---|---|
|
...
Cloak | |||||||
---|---|---|---|---|---|---|---|
|
Locations Results
Anchor | ||||
---|---|---|---|---|
|
Toggle cloak |
---|
Cloak | |||||||
---|---|---|---|---|---|---|---|
|
UDF Results
Anchor | ||||
---|---|---|---|---|
|
Toggle cloak |
---|
Cloak | |||||||
---|---|---|---|---|---|---|---|
|
...
Charges can be easily added to Equipment. If multiple charges Charges need to be added to Equipment, then separate POST requests will need to be made.
Below is the proper format for making a separate request. Note "TYPE=CHARGES" to indicate that this is to create an Equipment charge Charge record.
Code Block |
---|
POST http://DOMAIN/api/API_KEY/equipment.OUTPUT?TYPE=CHARGES&field1=value1 ... |
...
Field | Required | Data Type | Options | Default | Notes |
---|---|---|---|---|---|
recid | Conditionallyno* | Integer | *Conditionally Required if attempting to UPDATE an Equipment Charge | ||
equipment_recid | yes | Integer | The RECID of the Equipment that the charge Charge is for | ||
charge_recid | yes | Integer | RECID of the applicable charge catalogCharge Catalog. | ||
description | no | String | The details or description Description of the charge Charge on the Equipment | ||
amount | no* | Float | The amount to be charged. *Conditionally Required if charge does not have an amount on it. | ||
quantity | no | Integer | 1 | Quantity of charge Charge to be used. | |
prorate | no | Integer | 1 or 0 | 0 | Should the charge Charge be prorated when activated |
bill_date | no | String | Date the charge Charge was billed | ||
override_amount | no | Float | If allowed by the selected chargeCharge, overrides the default amount from the chargeCharge. | ||
override_gla | no | Integer | Recid of GLA to override default GLA with. | ||
stop_date | no | String | The Date the Recurring Charge should stop on. YYYY-MM-DD format. | ||
effective | no | String | today, backdate | today | Effective flag for the charge Charge being added/stopped. if set to any value other than listed, "today" will be assumed by the API |
...
GLAs can be easily added to Equipment. If multiple charges Charges need to be added to Equipment, then separate each value with commas.
...
Field | Required | Data Type | Options | Default | Notes |
---|---|---|---|---|---|
equipment_recid | yes | Integer | The RECID of the Equipment that the charge Charge is for | ||
gla | yes | String | Record ID(s) of the applicable GLA(s). | ||
gla_percent | yes | String | Percentages to apply to each GLA. All percentages must equal exactly 100. | ||
gla_type | yes | String | The type(s) of GLA(s). |
...
Field | Required | Data Type | Options | Default | Notes |
---|---|---|---|---|---|
equipment_recid | yes | Integer | The RECID of the Equipment that the charge Charge is for | ||
contact | yes | String | Record ID(s) of the contactContact(s). |
Results
Toggle cloak |
---|
Cloak | |||||||
---|---|---|---|---|---|---|---|
If the request is successful, the RECID(s) of the new Equipment contact records will be returned in same order provided:
|
...
User Defined Fields can be easily set for Equipment. To get a list of available UDFs for a piece of equipmentEquipment, visit Lists
Below is the proper format for making a UDF request. Note "TYPE=UDFS" to indicate that this is to add UDFs to Equipment.
...
Field | Required | Data Type | Options | Default | Notes |
---|---|---|---|---|---|
equipment_recid | yes | Integer | The RECID of the Equipment that the charge Charge is for | ||
udf_UDF-RECID | yes | Mixed | UDF-RECID is the RECID of the UDF to assign the value to. example: udf_684=value |
...