/// <summary>
        /// <see cref="IParkRecordService.GetCorssVehicleImage(string,string)"/>
        /// </summary>
        public async Task <string> GetCorssVehicleImage(string aswSysCode, string picUri)
        {
            var data = await _hikHttp.PostHttpWebResponseAsync("/api/pms/v1/crossRecords/page", new
            {
                aswSysCode,
                picUri
            });

            return(data?.Headers?.Get("Location"));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// <see cref="IDoorControlService.GetEventPictures(string,string)"/>
        /// </summary>
        public async Task <string> GetEventPictures(string svrIndexCode, string picUri)
        {
            //Location
            var data = await _hikHttp.PostHttpWebResponseAsync("/api/acs/v1/event/pictures", new
            {
                svrIndexCode,
                picUri
            });

            return(data?.Headers?.Get("Location"));
        }