Closed pheeling closed 6 years ago
Need to user the "name" property instead "label" property. Structure was given by api.freshservice.com.
$valuestable =@{ cmdb_config_item =@{ name ="$($item.offerName)" ci_type_id ="7001248569" level_field_attributes = @{ offerid_7001248569 = "$($item.offerId)" companyname_7001248569 = "$($requestBilling.companyName)" offername_7001248569 = "$($item.offerName)" quantity_7001248569 = "$($item.quantity)" effectivestartdate_7001248569 = "$($item.effectiveStartDate)" commitmentenddate_7001248569 = "$($item.commitmentEndDate)" } } }
Update of custom fields not possible.