Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Accept header missing #238
    AnkitaAnkita
    Participant

    Hi James
    I am getting below issue in position and positions function both.
    Device access denied – SecurityException (PermissionsManager:194 < PositionResource:89 < …)

    private static $jsonA='Accept: application/json';
    private static $jsonC='Content-Type: application/json';
    public static function positions($sessionId){
    	$data = '';
    	return self::curl('/api/positions?'.$data,'GET',$sessionId,'',array());
    }
    
    public static function position($sessionId,$id){
    	
    	$data='id='.$id;
    	
    	return self::curl('/api/positions?'.$data,'GET',$sessionId,'',array());
    }
    • This reply was modified 5 months, 3 weeks ago by James JosephJames.
    in reply to: Accept header missing #235
    AnkitaAnkita
    Participant

    I am getting below error:

    Device access denied - SecurityException (PermissionsManager:194 < DeviceResource:81 < ...)

    • This reply was modified 5 months, 3 weeks ago by James JosephJames.
Viewing 2 posts - 1 through 2 (of 2 total)