|
@@ -147,13 +147,19 @@ namespace EVCB_OCPP.WSServer.Service
|
|
|
{
|
|
|
if (signMaterial.CallsThirdParty)
|
|
|
{
|
|
|
+
|
|
|
+ logger.Info(" NotifyFaultStatus======================================>");
|
|
|
+ logger.Info(JsonConvert.SerializeObject(details));
|
|
|
+
|
|
|
+
|
|
|
var response = await httpClient.Post(signMaterial.APIUrl + "connectorfault", new Dictionary<string, string>()
|
|
|
{
|
|
|
{ "PartnerId",signMaterial.Id}
|
|
|
|
|
|
- }, JsonConvert.SerializeObject(details, GlobalConfig.JSONSERIALIZER_FORMAT), signMaterial.SaltKey).ConfigureAwait(false);
|
|
|
-
|
|
|
+ }, details, signMaterial.SaltKey).ConfigureAwait(false);
|
|
|
|
|
|
+
|
|
|
+ logger.Info(JsonConvert.SerializeObject(response));
|
|
|
}
|
|
|
|
|
|
|
|
@@ -180,12 +186,7 @@ namespace EVCB_OCPP.WSServer.Service
|
|
|
{
|
|
|
{ "PartnerId",signMaterial.Id}
|
|
|
|
|
|
- }, JsonConvert.SerializeObject(details, new JsonSerializerSettings()
|
|
|
- {
|
|
|
- DateTimeZoneHandling = DateTimeZoneHandling.Utc,
|
|
|
- NullValueHandling = NullValueHandling.Ignore,
|
|
|
- Formatting = Formatting.None
|
|
|
- }), signMaterial.SaltKey).ConfigureAwait(false);
|
|
|
+ }, details, signMaterial.SaltKey).ConfigureAwait(false);
|
|
|
|
|
|
|
|
|
}
|