I am trying to both add and update Equipment to CityWorks using the HTTPCaller - it seems to work fine except for custom fields. They do not seem to add or update with the equipment record. I am passing in the “Data” query string parameter with the following json data:
{"EquipmentUid":"@Value(EQUIPMENTUID)",
"Description": "@Value(DESCRIPTION)",
"Manufacturer": "@Value(MAKE)",
"Model": "@Value(MODEL)",
"ForCheckout": "@Value(FORCHECKOUT)",
"RateType": "@Value(RATETYPE)",
"UnitCost": "@Value(HOURLY_RATE)",
"CustomFields":
{
"FieldName": "DIVISION CATEGORY",
"FieldValue": "@Value(DEPT_ID_DESC)"
}
}
This does not work but is what I could gather from the internet as correct (for the custom fields)