Closed smahrl closed 1 week ago
Do you have an example request that you can post here?
let me try to give an example:
Post Request to /nph-genericinterface.pl/Webservice/GenericTicketConnectorREST/Ticket with following payload:
{ "Ticket": { "Title": "test", "Queue": "test", "Type": "Incident", "State": "new", "Owner": "email@me.com", "CustomerUser": "email@me.com", "Priority":"3 normal" }, "Article": { "Subject":"Note", "Body": "Text", "ContentType": "text/plain; charset=utf8" }, "DynamicField":[ {"Name":"Link,"Value":'11'} ] }
where 11 would be the config item id
Internal issue 37
Environment
Description
When attempting to update Dynamic Fields of type CONFIG ITEM (DROPDOWN) through the REST API, the operation fails with an error message. Tested with TicketUpdate and TicketCreate Endpoints
Error Message
{"Error":{"ErrorCode":"TicketCreate.InvalidParameter","ErrorMessage":"TicketCreate: DynamicField->Value parameter is invalid!"}}
Steps to Reproduce
Actual Behavior
The API returns an error response indicating an invalid parameter, despite using the correct format for the API call.