HomeGuidesAPI ReferenceChangelogDiscussions
GuidesiMIS ProfessionaliMIS EnterpriseClient SupportLog In
Discussions

Discussions

Ask a Question
Back to All

/api/Communication with no ID returns a 400 and error

iMIS 20.3.113.63375 - call made to /api/Communication (as per https://developer.imis.com/reference/getcommunication-1) with no ID parameter returns a 400 response and the text:

{"$type":"Asi.Soa.Core.DataContracts.ValidationResultsData, Asi.Contracts","Errors":{"$type":"Asi.Soa.Core.DataContracts.ValidationResultDataCollection, Asi.Contracts","$values":[{"$type":"Asi.Soa.Core.DataContracts.ValidationResultData, Asi.Contracts","Message":"Query does not contain any criteria"}]},"Warnings":{"$type":"Asi.Soa.Core.DataContracts.ValidationResultDataCollection, Asi.Contracts","$values":[]}}

Would have expected it to return the communications as per "Returns a list or single record of Communication".

Thanks.

Contact us
Copyright © Advanced Solutions International, All rights reserved.