Closed EinarArro closed 1 month ago
By the Swagger schema validFrom and validTo are valid attributes, while adding a new customer But when trying to add a customer and passing those attributes, I get an error
{ "marketParticipantContext": { "marketParticipantIdentification": "38X-EIN-ALL----B", "marketParticipantRole": "GRID_OPERATOR", "commodityType": "ELECTRICITY" }, "customer": { "customerType": "PHYSICAL_PERSON", "customerMetadata": [ { "metadataType": "FIRST_NAME", "metadataValue": "Einari", "validFrom": "2024-05-08T15:12:52.172148+03:00", "validTo": null }, { "metadataType": "LAST_NAME", "metadataValue": "Arrori", "validFrom": "2024-05-08T15:12:52.172148+03:00", "validTo": null } ], "customerIdentities": [ { "identityType": "PERSONAL_ID", "identityValue": "38210245217", "identityExtension": null } ] } }
{ "id": "71d4c237-fb44-4a2a-87a3-5215cd142d64", "cause": { "message": "validFrom is not a valid property", "code": "opp.error.validation.unparseable-field", "traceId": "16bca5034fa74105b1b74837b527ccfc", "args": [ "validFrom" ] } }
Description
By the Swagger schema validFrom and validTo are valid attributes, while adding a new customer But when trying to add a customer and passing those attributes, I get an error
Request
Response