public function update($partyId, array $partyInfo = [])
    {
        $params = array_merge($partyInfo, ['id' => $partyId]);

        return $this->parseJSON('json', [self::API_UPDATE, $params]);
    }
public function update($partyId, array $partyInfo = [])
    {
        $params = array_merge($partyInfo, ['id' => $partyId]);

        return $this->parseJSON('json', [self::API_UPDATE, $params]);
    }
public function update ( $ partyId , array $ partyInfo = [ ] ) { $ params = array_merge ( $ partyInfo , [ 'id' => $ partyId ] ) ; return $ this -> parseJSON ( 'json' , [ self :: API_UPDATE , $ params ] ) ; }
Update a Department.

@param int   $partyId
@param array $name

@return bool
Update a Department .