Get microphone id by camera id by API

I am using API , I need to know mic id by camera id.

how can i know ?

My version is 2023 R2.

Rest API or SOAP API?

Rest API

https://doc.developer.milestonesys.com/mipvmsapi/api/config-rest/v1/#tag/DeviceConfig/operation/getAllclientSettingsInAcameras

A general tip. You can use the Config API Client sample to find your way through the structure of objects (RecordingServer have Hardware which have Camera which have ClientSettings). The sample does not use Rest API but can still be a valid tool.

Thanks! It works.